Updating NPM dependencies

This commit is contained in:
Drew Heavner
2020-11-11 13:30:52 +00:00
committed by GitHub
parent 7a6fb66c63
commit bd487ef324
9068 changed files with 1400893 additions and 587661 deletions

9
node_modules/p-limit/index.d.ts generated vendored
View File

@@ -18,6 +18,15 @@ export interface Limit {
The number of promises that are waiting to run (i.e. their internal `fn` was not called yet).
*/
readonly pendingCount: number;
/**
Discard pending promises that are waiting to run.
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.
Note: This does not cancel promises that are already running.
*/
clearQueue(): void;
}
/**

5
node_modules/p-limit/index.js generated vendored
View File

@@ -42,6 +42,11 @@ const pLimit = concurrency => {
},
pendingCount: {
get: () => queue.length
},
clearQueue: {
value: () => {
queue.length = 0;
}
}
});

22
node_modules/p-limit/package.json generated vendored
View File

@@ -1,27 +1,27 @@
{
"_from": "p-limit@^2.0.0",
"_id": "p-limit@2.2.2",
"_from": "p-limit@^2.2.0",
"_id": "p-limit@2.3.0",
"_inBundle": false,
"_integrity": "sha512-WGR+xHecKTr7EbUEhyLSh5Dube9JtdiG78ufaeLxTgpudf/20KqyMioIUZJAezlTIi6evxuoUs9YXc11cU+yzQ==",
"_integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==",
"_location": "/p-limit",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "p-limit@^2.0.0",
"raw": "p-limit@^2.2.0",
"name": "p-limit",
"escapedName": "p-limit",
"rawSpec": "^2.0.0",
"rawSpec": "^2.2.0",
"saveSpec": null,
"fetchSpec": "^2.0.0"
"fetchSpec": "^2.2.0"
},
"_requiredBy": [
"/p-locate"
],
"_resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.2.2.tgz",
"_shasum": "61279b67721f5287aa1c13a9a7fbbc48c9291b1e",
"_spec": "p-limit@^2.0.0",
"_where": "/Users/drew.heavner/Documents/Github/upload-google-play/node_modules/p-locate",
"_resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz",
"_shasum": "3dd33c647a214fdfffd835933eb086da0dc21db1",
"_spec": "p-limit@^2.2.0",
"_where": "/home/codespace/workspace/upload-google-play/node_modules/p-locate",
"author": {
"name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com",
@@ -80,5 +80,5 @@
"scripts": {
"test": "xo && ava && tsd-check"
},
"version": "2.2.2"
"version": "2.3.0"
}

8
node_modules/p-limit/readme.md generated vendored
View File

@@ -66,6 +66,14 @@ The number of promises that are currently running.
The number of promises that are waiting to run (i.e. their internal `fn` was not called yet).
### limit.clearQueue()
Discard pending promises that are waiting to run.
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.
Note: This does not cancel promises that are already running.
## FAQ
### How is this different from the [`p-queue`](https://github.com/sindresorhus/p-queue) package?