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

8
node_modules/throat/README.md generated vendored
View File

@@ -2,14 +2,14 @@
Throttle the parallelism of an asynchronous, promise returning, function / functions. This has special utility when you set the concurrency to `1`. That way you get a mutually exclusive lock.
[Professionally supported throat is now available](https://tidelift.com/subscription/pkg/npm-throat?utm_source=npm-throat&utm_medium=referral&utm_campaign=readme)
[![Build Status](https://img.shields.io/travis/ForbesLindesay/throat/master.svg)](https://travis-ci.org/ForbesLindesay/throat)
[![Coverage Status](https://img.shields.io/coveralls/ForbesLindesay/throat/master.svg?style=flat)](https://coveralls.io/r/ForbesLindesay/throat?branch=master)
[![Dependency Status](https://img.shields.io/david/ForbesLindesay/throat.svg)](https://david-dm.org/ForbesLindesay/throat)
[![NPM version](https://img.shields.io/npm/v/throat.svg)](https://www.npmjs.com/package/throat)
[![Greenkeeper badge](https://badges.greenkeeper.io/ForbesLindesay/throat.svg)](https://greenkeeper.io/)
[![Sauce Test Status](https://saucelabs.com/browser-matrix/throat.svg)](https://saucelabs.com/u/throat)
## Installation
npm install throat
@@ -50,6 +50,10 @@ const data = Promise.all(input.map(throat(2, fileName => readFile(fileName))));
Only 2 files will be read at a time, sometimes limiting parallelism in this way can improve scalability.
## Security contact information
To report a security vulnerability, please use the [Tidelift security contact](https://tidelift.com/security). Tidelift will coordinate the fix and disclosure.
## License
MIT

35
node_modules/throat/index.d.ts generated vendored
View File

@@ -1,5 +1,32 @@
declare function throat<TResult, TFn extends (...args: Array<any>) => Promise<TResult>>(size: number, fn: TFn): TFn;
declare function throat<TResult, TFn extends (...args: Array<any>) => Promise<TResult>>(fn: TFn, size: number): TFn;
declare function throat(size: number): <TResult>(fn: () => Promise<TResult>) => Promise<TResult>;
/**
* Throttle the given function to only run `size` times in parallel.
* Extra calls will be queued until one of the earlier calls completes.
*/
declare function throat<TResult, TArgs extends any[]>(
size: number,
fn: (...args: TArgs) => Promise<TResult>
): (...args: TArgs) => Promise<TResult>;
/**
* Throttle the given function to only run `size` times in parallel.
* Extra calls will be queued until one of the earlier calls completes.
*/
declare function throat<TResult, TArgs extends any[]>(
fn: (...args: TArgs) => Promise<TResult>,
size: number
): (...args: TArgs) => Promise<TResult>;
/**
* Create a throttle that only allows `size` calls in parallel.
* Extra calls will be queued until one of the earlier calls completes.
*
* To create an exclusive lock, just use a `size` of `1`.
*/
declare function throat(
size: number
): <TResult, TArgs extends any[] = []>(
fn: (...args: TArgs) => Promise<TResult>,
...args: TArgs
) => Promise<TResult>;
export default throat;
export = throat;

2
node_modules/throat/index.js generated vendored
View File

@@ -77,6 +77,8 @@ module.exports = function (PromiseArgument) {
}
};
module.exports.default = module.exports;
/* istanbul ignore next */
if (typeof Promise === 'function') {
module.exports.Promise = Promise;

45
node_modules/throat/package.json generated vendored
View File

@@ -1,26 +1,19 @@
{
"_args": [
[
"throat@4.1.0",
"/Users/drew.heavner/Documents/Github/upload-google-play"
]
],
"_development": true,
"_from": "throat@4.1.0",
"_id": "throat@4.1.0",
"_from": "throat@^5.0.0",
"_id": "throat@5.0.0",
"_inBundle": false,
"_integrity": "sha1-iQN8vJLFarGJJua6TLsgDhVnKmo=",
"_integrity": "sha512-fcwX4mndzpLQKBS1DVYhGAcYaYt7vsHNIvQV+WXMvnow5cgjPphq5CaayLaGsjRdSCKZFNGt7/GYAuXaNOiYCA==",
"_location": "/throat",
"_phantomChildren": {},
"_requested": {
"type": "version",
"type": "range",
"registry": true,
"raw": "throat@4.1.0",
"raw": "throat@^5.0.0",
"name": "throat",
"escapedName": "throat",
"rawSpec": "4.1.0",
"rawSpec": "^5.0.0",
"saveSpec": null,
"fetchSpec": "4.1.0"
"fetchSpec": "^5.0.0"
},
"_requiredBy": [
"/jest-changed-files",
@@ -28,26 +21,29 @@
"/jest-jasmine2",
"/jest-runner"
],
"_resolved": "https://registry.npmjs.org/throat/-/throat-4.1.0.tgz",
"_spec": "4.1.0",
"_where": "/Users/drew.heavner/Documents/Github/upload-google-play",
"_resolved": "https://registry.npmjs.org/throat/-/throat-5.0.0.tgz",
"_shasum": "c5199235803aad18754a667d659b5e72ce16764b",
"_spec": "throat@^5.0.0",
"_where": "/home/codespace/workspace/upload-google-play/node_modules/jest-changed-files",
"author": {
"name": "ForbesLindesay"
},
"bugs": {
"url": "https://github.com/ForbesLindesay/throat/issues"
},
"bundleDependencies": false,
"deprecated": false,
"description": "Throttle the parallelism of an asynchronous (promise returning) function / functions",
"devDependencies": {
"coveralls": "^2.11.2",
"flow-bin": "^0.49.1",
"coveralls": "^3.0.0",
"flow-bin": "^0.73.0",
"istanbul": "^0.4.5",
"jest": "^20.0.4",
"jest": "^22.1.4",
"promise": "^8.0.0",
"sauce-test": "^1.0.0",
"test-result": "^2.0.0",
"testit": "^2.1.3",
"typescript": "^2.3.4"
"testit": "^3.1.0",
"typescript": "^3.4.5"
},
"files": [
"index.d.ts",
@@ -55,6 +51,9 @@
"index.js.flow"
],
"homepage": "https://github.com/ForbesLindesay/throat#readme",
"jest": {
"testEnvironment": "node"
},
"keywords": [
"promise",
"aplus",
@@ -78,5 +77,5 @@
"test:types": "jest",
"tsc": "tsc --noEmit"
},
"version": "4.1.0"
"version": "5.0.0"
}