@depup/p-limit 7.3.0-depup.0 → 7.3.1-depup.0

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 ADDED
@@ -0,0 +1,31 @@
1
+ # @depup/p-limit
2
+
3
+ > Dependency-bumped version of [p-limit](https://www.npmjs.com/package/p-limit)
4
+
5
+ Generated by [DepUp](https://github.com/depup/npm) -- all production
6
+ dependencies bumped to latest versions.
7
+
8
+ ## Installation
9
+
10
+ ```bash
11
+ npm install @depup/p-limit
12
+ ```
13
+
14
+ | Field | Value |
15
+ |-------|-------|
16
+ | Original | [p-limit](https://www.npmjs.com/package/p-limit) @ 7.3.1 |
17
+ | Processed | 2026-07-21 |
18
+ | Smoke test | passed |
19
+ | Deps updated | 1 |
20
+
21
+ ## Dependency Changes
22
+
23
+ | Dependency | From | To |
24
+ |------------|------|-----|
25
+ | yocto-queue | ^1.2.1 | ^1.2.2 |
26
+
27
+ ---
28
+
29
+ Source: https://github.com/depup/npm | Original: https://www.npmjs.com/package/p-limit
30
+
31
+ License inherited from the original package.
package/changes.json ADDED
@@ -0,0 +1,10 @@
1
+ {
2
+ "bumped": {
3
+ "yocto-queue": {
4
+ "from": "^1.2.1",
5
+ "to": "^1.2.2"
6
+ }
7
+ },
8
+ "timestamp": "2026-07-21T17:26:55.764Z",
9
+ "totalUpdated": 1
10
+ }
package/index.d.ts CHANGED
@@ -17,7 +17,7 @@ export type LimitFunction = {
17
17
  /**
18
18
  Discard pending promises that are waiting to run.
19
19
 
20
- This might be useful if you want to teardown the queue at the end of your program's lifecycle or discard any function calls referencing an intermediary state of your app.
20
+ This might be useful if you want to tear down the queue at the end of your program's lifecycle or discard any function calls referencing an intermediary state of your app.
21
21
 
22
22
  Note: This does not cancel promises that are already running.
23
23
 
package/index.js CHANGED
@@ -105,7 +105,7 @@ export default function pLimit(concurrency) {
105
105
  },
106
106
  map: {
107
107
  async value(iterable, function_) {
108
- const promises = Array.from(iterable, (value, index) => this(function_, value, index));
108
+ const promises = Array.from(iterable, (value, index) => generator(function_, value, index));
109
109
  return Promise.all(promises);
110
110
  },
111
111
  },
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@depup/p-limit",
3
- "version": "7.3.0-depup.0",
4
- "description": "Run multiple promise-returning & async functions with limited concurrency",
3
+ "version": "7.3.1-depup.0",
4
+ "description": "Run multiple promise-returning & async functions with limited concurrency (with updated dependencies)",
5
5
  "license": "MIT",
6
6
  "repository": "sindresorhus/p-limit",
7
7
  "funding": "https://github.com/sponsors/sindresorhus",
@@ -25,9 +25,17 @@
25
25
  },
26
26
  "files": [
27
27
  "index.js",
28
- "index.d.ts"
28
+ "index.d.ts",
29
+ "changes.json",
30
+ "README.md"
29
31
  ],
30
32
  "keywords": [
33
+ "p-limit",
34
+ "depup",
35
+ "updated-dependencies",
36
+ "security",
37
+ "latest",
38
+ "patched",
31
39
  "promise",
32
40
  "limit",
33
41
  "limited",
@@ -54,5 +62,18 @@
54
62
  "time-span": "^5.1.0",
55
63
  "tsd": "^0.33.0",
56
64
  "xo": "^1.2.1"
65
+ },
66
+ "depup": {
67
+ "changes": {
68
+ "yocto-queue": {
69
+ "from": "^1.2.1",
70
+ "to": "^1.2.2"
71
+ }
72
+ },
73
+ "depsUpdated": 1,
74
+ "originalPackage": "p-limit",
75
+ "originalVersion": "7.3.1",
76
+ "processedAt": "2026-07-21T17:27:07.287Z",
77
+ "smokeTest": "passed"
57
78
  }
58
79
  }
package/readme.md CHANGED
@@ -97,7 +97,7 @@ The number of promises that are waiting to run (i.e. their internal `fn` was not
97
97
 
98
98
  Discard pending promises that are waiting to run.
99
99
 
100
- This might be useful if you want to teardown the queue at the end of your program's lifecycle or discard any function calls referencing an intermediary state of your app.
100
+ This might be useful if you want to tear down the queue at the end of your program's lifecycle or discard any function calls referencing an intermediary state of your app.
101
101
 
102
102
  Note: This does not cancel promises that are already running.
103
103