Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoSign in
Socket

@leafer/task

Package Overview
Dependencies
Maintainers
1
Versions
117
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@leafer/task - npm Package Compare versions

Comparing version
1.0.0-rc.5
to
1.0.0-rc.6
+4
-4
package.json
{
"name": "@leafer/task",
"version": "1.0.0-rc.5",
"version": "1.0.0-rc.6",
"description": "@leafer/task",

@@ -25,8 +25,8 @@ "author": "Chao (Leafer) Wan",

"dependencies": {
"@leafer/math": "1.0.0-rc.5",
"@leafer/debug": "1.0.0-rc.5"
"@leafer/math": "1.0.0-rc.6",
"@leafer/debug": "1.0.0-rc.6"
},
"devDependencies": {
"@leafer/interface": "1.0.0-rc.5"
"@leafer/interface": "1.0.0-rc.6"
}
}

@@ -21,5 +21,3 @@ import { IFunction, ITaskProcessor, ITaskProcessorConfig, ITaskOptions, ITaskItem } from '@leafer/interface'

public get total(): number {
return this.list.length + this.delayNumber
}
public get total(): number { return this.list.length + this.delayNumber }

@@ -85,4 +83,6 @@ public index = 0

setTimeout(() => {
this.delayNumber--
this.push(task, start)
if (this.delayNumber) {
this.delayNumber--
this.push(task, start)
}
}, delay)

@@ -108,2 +108,3 @@ }

this.parallelList = []
this.delayNumber = 0
}

@@ -110,0 +111,0 @@