promise-make-counter
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -5,3 +5,3 @@ { | ||
"description": "A simple function that makes a counter-based promise, which can be incremented and decremented, and it resolves once its counter reaches zero.", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"type": "module", | ||
@@ -26,7 +26,6 @@ "main": "dist/index.js", | ||
"dependencies": { | ||
"promise-make-naked": "^2.1.2" | ||
"promise-make-naked": "^3.0.0" | ||
}, | ||
"devDependencies": { | ||
"fava": "^0.3.2", | ||
"promise-resolve-timeout": "^2.0.0", | ||
"fava": "^0.3.4", | ||
"tsex": "^4.0.2", | ||
@@ -33,0 +32,0 @@ "typescript": "^5.5.0-beta" |
@@ -5,3 +5,2 @@ | ||
import {describe} from 'fava'; | ||
import delay from 'promise-resolve-timeout'; | ||
import makeCounterPromise from '../dist/index.js'; | ||
@@ -19,3 +18,3 @@ | ||
await delay ( 0 ); | ||
await t.wait ( 0 ); | ||
@@ -36,3 +35,3 @@ t.false ( isPending () ); | ||
await delay ( 0 ); | ||
await t.wait ( 0 ); | ||
@@ -44,3 +43,3 @@ t.true ( isPending () ); | ||
await delay ( 0 ); | ||
await t.wait ( 0 ); | ||
@@ -51,3 +50,3 @@ t.true ( isPending () ); | ||
await delay ( 0 ); | ||
await t.wait ( 0 ); | ||
@@ -54,0 +53,0 @@ t.false ( isPending () ); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3
6050
102
+ Addedpromise-make-naked@3.0.0(transitive)
- Removedpromise-make-naked@2.1.2(transitive)
Updatedpromise-make-naked@^3.0.0