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.0.4 to 0.0.5

build/src/modules/Executors/CacheExecutor.d.ts

2

index.js

@@ -7,1 +7,3 @@ import executors from './build/index'

export const RepeatExecutor = executors.RepeatExecutor

2

package.json
{
"name": "asva-executors",
"version": "0.0.4",
"version": "0.0.5",
"description": "Helper classes for your async flow control",

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

@@ -8,3 +8,3 @@ import Executor from './Executor'

cachedPromise: Promise<any> = null
cachedPromise: Promise<any> | null = null

@@ -14,3 +14,3 @@ /**

*/
run (...parameters): Promise<any> {
run (...parameters: any[]): Promise<any> {
if (!this.cachedPromise) {

@@ -22,3 +22,3 @@ this.cachedPromise = super.run(...parameters)

runFresh (...parameters): Promise<any> {
runFresh (...parameters: any[]): Promise<any> {
this.cachedPromise = super.run(...parameters)

@@ -25,0 +25,0 @@ return this.cachedPromise

@@ -41,3 +41,3 @@ export default class Executor {

*/
run (...parameters): Promise<any> {
run (...parameters: any[]): Promise<any> {
this.beforeRun()

@@ -44,0 +44,0 @@ const promise = this.command(...parameters)

@@ -16,3 +16,3 @@ import Executor from './Executor'

*/
run (...parameters): Promise<any> {
run (...parameters: any[]): Promise<any> {
if (!this.isRunning) {

@@ -19,0 +19,0 @@ const promise = super.run(...parameters)

import LadderExecutor from '../Executors/LadderExecutor'
type PointerRequest = (pointer: number, perStep: number) => Promise<any[]>
export type PointerRequest = (pointer: number, perStep: number) => Promise<any[]>

@@ -5,0 +5,0 @@ export default class InfiniteLoader {

@@ -18,6 +18,6 @@ {

// "jsx": "preserve", /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */
// "declaration": true, /* Generates corresponding '.d.ts' file. */
"declaration": true, /* Generates corresponding '.d.ts' file. */
"sourceMap": true, /* Generates corresponding '.map' file. */
// "outFile": "./", /* Concatenate and emit output to single file. */
// "outDir": "./", /* Redirect output structure to the directory. */
// "outFile": "./", /* Concatenate and emit output to single file. */
// "outDir": "./", /* Redirect output structure to the directory. */
// "rootDir": "./", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */

@@ -31,4 +31,4 @@ // "removeComments": true, /* Do not emit comments to output. */

/* Strict Type-Checking Options */
// "strict": true /* Enable all strict type-checking options. */
// "noImplicitAny": true, /* Raise error on expressions and declarations with an implied 'any' type. */
"strict": true, /* Enable all strict type-checking options. */
// "noImplicitAny": false, /* Raise error on expressions and declarations with an implied 'any' type. */
// "strictNullChecks": true, /* Enable strict null checks. */

@@ -35,0 +35,0 @@ // "noImplicitThis": true, /* Raise error on 'this' expressions with an implied 'any' type. */

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