New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

asva-executors

Package Overview
Dependencies
Maintainers
1
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

asva-executors - npm Package Compare versions

Comparing version 0.1.5 to 0.1.6

dist/src/modules/Loaders/InfiniteLoaderFactory.d.ts

3

dist/src/index.d.ts

@@ -7,2 +7,3 @@ import CacheExecutor from './modules/Executors/CacheExecutor';

import InfiniteLoader from './modules/Loaders/InfiniteLoader';
export { CacheExecutor, Executor, LadderExecutor, DebounceLoader, RepeatLoader, InfiniteLoader };
import { InfiniteLoaderFactory } from './modules/Loaders/InfiniteLoaderFactory';
export { CacheExecutor, Executor, LadderExecutor, DebounceLoader, RepeatLoader, InfiniteLoader, InfiniteLoaderFactory };

@@ -88,7 +88,7 @@ (function webpackUniversalModuleDefinition(root, factory) {

\**********************/
/*! exports provided: CacheExecutor, Executor, LadderExecutor, DebounceLoader, RepeatLoader, InfiniteLoader */
/*! exports provided: CacheExecutor, Executor, LadderExecutor, DebounceLoader, RepeatLoader, InfiniteLoader, InfiniteLoaderFactory */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _modules_Executors_CacheExecutor__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./modules/Executors/CacheExecutor */ \"./src/modules/Executors/CacheExecutor.ts\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"CacheExecutor\", function() { return _modules_Executors_CacheExecutor__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; });\n\n/* harmony import */ var _modules_Executors_Executor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./modules/Executors/Executor */ \"./src/modules/Executors/Executor.ts\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"Executor\", function() { return _modules_Executors_Executor__WEBPACK_IMPORTED_MODULE_1__[\"default\"]; });\n\n/* harmony import */ var _modules_Executors_LadderExecutor__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./modules/Executors/LadderExecutor */ \"./src/modules/Executors/LadderExecutor.ts\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"LadderExecutor\", function() { return _modules_Executors_LadderExecutor__WEBPACK_IMPORTED_MODULE_2__[\"default\"]; });\n\n/* harmony import */ var _modules_Loaders_DebounceLoader__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./modules/Loaders/DebounceLoader */ \"./src/modules/Loaders/DebounceLoader.ts\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"DebounceLoader\", function() { return _modules_Loaders_DebounceLoader__WEBPACK_IMPORTED_MODULE_3__[\"default\"]; });\n\n/* harmony import */ var _modules_Loaders_RepeatLoader__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./modules/Loaders/RepeatLoader */ \"./src/modules/Loaders/RepeatLoader.ts\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"RepeatLoader\", function() { return _modules_Loaders_RepeatLoader__WEBPACK_IMPORTED_MODULE_4__[\"default\"]; });\n\n/* harmony import */ var _modules_Loaders_InfiniteLoader__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./modules/Loaders/InfiniteLoader */ \"./src/modules/Loaders/InfiniteLoader.ts\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"InfiniteLoader\", function() { return _modules_Loaders_InfiniteLoader__WEBPACK_IMPORTED_MODULE_5__[\"default\"]; });\n\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\n\n//# sourceURL=webpack:///./src/index.ts?");
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _modules_Executors_CacheExecutor__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./modules/Executors/CacheExecutor */ \"./src/modules/Executors/CacheExecutor.ts\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"CacheExecutor\", function() { return _modules_Executors_CacheExecutor__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; });\n\n/* harmony import */ var _modules_Executors_Executor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./modules/Executors/Executor */ \"./src/modules/Executors/Executor.ts\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"Executor\", function() { return _modules_Executors_Executor__WEBPACK_IMPORTED_MODULE_1__[\"default\"]; });\n\n/* harmony import */ var _modules_Executors_LadderExecutor__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./modules/Executors/LadderExecutor */ \"./src/modules/Executors/LadderExecutor.ts\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"LadderExecutor\", function() { return _modules_Executors_LadderExecutor__WEBPACK_IMPORTED_MODULE_2__[\"default\"]; });\n\n/* harmony import */ var _modules_Loaders_DebounceLoader__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./modules/Loaders/DebounceLoader */ \"./src/modules/Loaders/DebounceLoader.ts\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"DebounceLoader\", function() { return _modules_Loaders_DebounceLoader__WEBPACK_IMPORTED_MODULE_3__[\"default\"]; });\n\n/* harmony import */ var _modules_Loaders_RepeatLoader__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./modules/Loaders/RepeatLoader */ \"./src/modules/Loaders/RepeatLoader.ts\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"RepeatLoader\", function() { return _modules_Loaders_RepeatLoader__WEBPACK_IMPORTED_MODULE_4__[\"default\"]; });\n\n/* harmony import */ var _modules_Loaders_InfiniteLoader__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./modules/Loaders/InfiniteLoader */ \"./src/modules/Loaders/InfiniteLoader.ts\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"InfiniteLoader\", function() { return _modules_Loaders_InfiniteLoader__WEBPACK_IMPORTED_MODULE_5__[\"default\"]; });\n\n/* harmony import */ var _modules_Loaders_InfiniteLoaderFactory__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./modules/Loaders/InfiniteLoaderFactory */ \"./src/modules/Loaders/InfiniteLoaderFactory.ts\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"InfiniteLoaderFactory\", function() { return _modules_Loaders_InfiniteLoaderFactory__WEBPACK_IMPORTED_MODULE_6__[\"InfiniteLoaderFactory\"]; });\n\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\n\n//# sourceURL=webpack:///./src/index.ts?");

@@ -157,2 +157,26 @@ /***/ }),

/***/ "./src/modules/Loaders/InfiniteLoaderFactory.ts":
/*!******************************************************!*\
!*** ./src/modules/Loaders/InfiniteLoaderFactory.ts ***!
\******************************************************/
/*! exports provided: InfiniteLoaderFactory */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"InfiniteLoaderFactory\", function() { return InfiniteLoaderFactory; });\n/* harmony import */ var _PointerRequestFactory__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./PointerRequestFactory */ \"./src/modules/Loaders/PointerRequestFactory.ts\");\n/* harmony import */ var _InfiniteLoader__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./InfiniteLoader */ \"./src/modules/Loaders/InfiniteLoader.ts\");\n\r\n\r\nvar InfiniteLoaderFactory = /** @class */ (function () {\r\n function InfiniteLoaderFactory() {\r\n }\r\n /**\r\n * Infinite loader generating a list of numbers by tens\r\n */\r\n InfiniteLoaderFactory.createNumberedList = function () {\r\n var pointerRequest = _PointerRequestFactory__WEBPACK_IMPORTED_MODULE_0__[\"default\"].getPointerRequest(100);\r\n return new _InfiniteLoader__WEBPACK_IMPORTED_MODULE_1__[\"default\"](pointerRequest, 10);\r\n };\r\n return InfiniteLoaderFactory;\r\n}());\r\n\r\n\n\n//# sourceURL=webpack:///./src/modules/Loaders/InfiniteLoaderFactory.ts?");
/***/ }),
/***/ "./src/modules/Loaders/PointerRequestFactory.ts":
/*!******************************************************!*\
!*** ./src/modules/Loaders/PointerRequestFactory.ts ***!
\******************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/**\r\n * Generate an array with sequence of numbers\r\n */\r\nfunction range(start, end) {\r\n var length = (end - start);\r\n return Array(length).fill(0).map(function (item, index) { return start + index; });\r\n}\r\nvar PointerRequestFactory = /** @class */ (function () {\r\n function PointerRequestFactory() {\r\n }\r\n PointerRequestFactory.getPointerRequest = function (timeout) {\r\n if (timeout === void 0) { timeout = 100; }\r\n return function (pointer, perStep) {\r\n return new Promise(function (resolve) {\r\n setTimeout(function () {\r\n resolve(range(pointer, pointer + perStep));\r\n }, timeout);\r\n });\r\n };\r\n };\r\n return PointerRequestFactory;\r\n}());\r\n/* harmony default export */ __webpack_exports__[\"default\"] = (PointerRequestFactory);\r\n\n\n//# sourceURL=webpack:///./src/modules/Loaders/PointerRequestFactory.ts?");
/***/ }),
/***/ "./src/modules/Loaders/RepeatLoader.ts":

@@ -159,0 +183,0 @@ /*!*********************************************!*\

{
"name": "asva-executors",
"version": "0.1.5",
"version": "0.1.6",
"description": "Helper classes for your async flow control",

@@ -5,0 +5,0 @@ "main": "dist/src/index.js",

@@ -7,2 +7,3 @@ import CacheExecutor from './modules/Executors/CacheExecutor'

import InfiniteLoader from './modules/Loaders/InfiniteLoader'
import { InfiniteLoaderFactory } from './modules/Loaders/InfiniteLoaderFactory'

@@ -16,2 +17,3 @@ export {

InfiniteLoader,
InfiniteLoaderFactory,
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc