@jdsalasc/solvejs-async 1.5.0 → 1.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -3
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -14,9 +14,15 @@ Zero-dependency async/concurrency utilities for JavaScript and TypeScript.
|
|
|
14
14
|
- `debouncePromise`
|
|
15
15
|
- `throttlePromise`
|
|
16
16
|
|
|
17
|
-
## When to use this package
|
|
18
|
-
|
|
19
|
-
Use it when you need predictable retry logic, promise time limits, and controlled async concurrency without adding heavy helper libraries.
|
|
17
|
+
## When to use this package
|
|
18
|
+
|
|
19
|
+
Use it when you need predictable retry logic, promise time limits, and controlled async concurrency without adding heavy helper libraries.
|
|
20
|
+
|
|
21
|
+
## Limitations and Constraints
|
|
22
|
+
|
|
23
|
+
- `throttlePromise` drops calls made during the throttle window.
|
|
24
|
+
- `debouncePromise` cancels previous pending calls with a rejection.
|
|
25
|
+
- Queueing/rate-limit orchestration is intentionally out of scope for now.
|
|
20
26
|
|
|
21
27
|
## Install
|
|
22
28
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jdsalasc/solvejs-async",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.2",
|
|
4
4
|
"description": "Zero-dependency JavaScript/TypeScript async utilities for production: sleep, promise timeout, retry with backoff, and concurrency-limited pMap.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"build:cjs": "tsc -p tsconfig.cjs.json && node ./scripts/rename-cjs.mjs",
|
|
26
26
|
"clean": "node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\"",
|
|
27
27
|
"test": "npm run build && node --test test/*.test.mjs",
|
|
28
|
-
"lint": "
|
|
28
|
+
"lint": "tsc -p tsconfig.esm.json --noEmit"
|
|
29
29
|
},
|
|
30
30
|
"publishConfig": {
|
|
31
31
|
"access": "public"
|