Fixed #1 - Fixed the whatsnew-** script for loading release notes into builds

Added test to ensure that release notes are parsed properly
Updated to latest dependencies to fix security vulnerability
Updated GH Actions Workflow to run test before updating tag
Updated README.md to reflect proper whatsnew documentation.
This commit is contained in:
Drew Heavner
2020-01-30 11:14:51 -05:00
parent b6496ac4e3
commit bdde081050
2660 changed files with 251487 additions and 213182 deletions

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

@@ -1,29 +1,29 @@
export interface Limit {
/**
* @param fn - Promise-returning/async function.
* @param arguments - Any arguments to pass through to `fn`. Support for passing arguments on to the `fn` is provided in order to be able to avoid creating unnecessary closures. You probably don't need this optimization unless you're pushing a lot of functions.
* @returns The promise returned by calling `fn(...arguments)`.
*/
@param fn - Promise-returning/async function.
@param arguments - Any arguments to pass through to `fn`. Support for passing arguments on to the `fn` is provided in order to be able to avoid creating unnecessary closures. You probably don't need this optimization unless you're pushing a lot of functions.
@returns The promise returned by calling `fn(...arguments)`.
*/
<Arguments extends unknown[], ReturnType>(
fn: (...arguments: Arguments) => PromiseLike<ReturnType> | ReturnType,
...arguments: Arguments
): Promise<ReturnType>;
/**
* The number of promises that are currently running.
*/
The number of promises that are currently running.
*/
readonly activeCount: number;
/**
* The number of promises that are waiting to run (i.e. their internal `fn` was not called yet).
*/
The number of promises that are waiting to run (i.e. their internal `fn` was not called yet).
*/
readonly pendingCount: number;
}
/**
* Run multiple promise-returning & async functions with limited concurrency.
*
* @param concurrency - Concurrency limit. Minimum: `1`.
* @returns A `limit` function.
*/
Run multiple promise-returning & async functions with limited concurrency.
@param concurrency - Concurrency limit. Minimum: `1`.
@returns A `limit` function.
*/
export default function pLimit(concurrency: number): Limit;

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

@@ -2,8 +2,8 @@
const pTry = require('p-try');
const pLimit = concurrency => {
if (concurrency < 1) {
throw new TypeError('Expected `concurrency` to be a number from 1 and up');
if (!((Number.isInteger(concurrency) || concurrency === Infinity) && concurrency > 0)) {
return Promise.reject(new TypeError('Expected `concurrency` to be a number from 1 and up'));
}
const queue = [];

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

@@ -1,33 +1,27 @@
{
"_args": [
[
"p-limit@2.2.0",
"/Users/drew.heavner/Documents/Github/upload-google-play"
]
],
"_development": true,
"_from": "p-limit@2.2.0",
"_id": "p-limit@2.2.0",
"_from": "p-limit@^2.0.0",
"_id": "p-limit@2.2.2",
"_inBundle": false,
"_integrity": "sha512-pZbTJpoUsCzV48Mc9Nh51VbwO0X9cuPFE8gYwx9BTCt9SF8/b7Zljd2fVgOxhIF/HDTKgpVzs+GPhyKfjLLFRQ==",
"_integrity": "sha512-WGR+xHecKTr7EbUEhyLSh5Dube9JtdiG78ufaeLxTgpudf/20KqyMioIUZJAezlTIi6evxuoUs9YXc11cU+yzQ==",
"_location": "/p-limit",
"_phantomChildren": {},
"_requested": {
"type": "version",
"type": "range",
"registry": true,
"raw": "p-limit@2.2.0",
"raw": "p-limit@^2.0.0",
"name": "p-limit",
"escapedName": "p-limit",
"rawSpec": "2.2.0",
"rawSpec": "^2.0.0",
"saveSpec": null,
"fetchSpec": "2.2.0"
"fetchSpec": "^2.0.0"
},
"_requiredBy": [
"/p-locate"
],
"_resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.2.0.tgz",
"_spec": "2.2.0",
"_where": "/Users/drew.heavner/Documents/Github/upload-google-play",
"_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",
"author": {
"name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com",
@@ -36,9 +30,11 @@
"bugs": {
"url": "https://github.com/sindresorhus/p-limit/issues"
},
"bundleDependencies": false,
"dependencies": {
"p-try": "^2.0.0"
},
"deprecated": false,
"description": "Run multiple promise-returning & async functions with limited concurrency",
"devDependencies": {
"ava": "^1.2.1",
@@ -56,6 +52,7 @@
"index.js",
"index.d.ts"
],
"funding": "https://github.com/sponsors/sindresorhus",
"homepage": "https://github.com/sindresorhus/p-limit#readme",
"keywords": [
"promise",
@@ -83,5 +80,5 @@
"scripts": {
"test": "xo && ava && tsd-check"
},
"version": "2.2.0"
"version": "2.2.2"
}

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

@@ -2,14 +2,12 @@
> Run multiple promise-returning & async functions with limited concurrency
## Install
```
$ npm install p-limit
```
## Usage
```js
@@ -30,7 +28,6 @@ const input = [
})();
```
## API
### pLimit(concurrency)
@@ -39,8 +36,9 @@ Returns a `limit` function.
#### concurrency
Type: `number`<br>
Minimum: `1`
Type: `number`\
Minimum: `1`\
Default: `Infinity`
Concurrency limit.
@@ -68,13 +66,11 @@ 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).
## FAQ
### How is this different from the [`p-queue`](https://github.com/sindresorhus/p-queue) package?
This package is only about limiting the number of concurrent executions, while `p-queue` is a fully featured queue implementation with lots of different options, introspection, and ability to pause and clear the queue.
This package is only about limiting the number of concurrent executions, while `p-queue` is a fully featured queue implementation with lots of different options, introspection, and ability to pause the queue.
## Related
@@ -84,7 +80,14 @@ This package is only about limiting the number of concurrent executions, while `
- [p-all](https://github.com/sindresorhus/p-all) - Run promise-returning & async functions concurrently with optional limited concurrency
- [More…](https://github.com/sindresorhus/promise-fun)
---
## License
MIT © [Sindre Sorhus](https://sindresorhus.com)
<div align="center">
<b>
<a href="https://tidelift.com/subscription/pkg/npm-p-limit?utm_source=npm-p-limit&utm_medium=referral&utm_campaign=readme">Get professional support for this package with a Tidelift subscription</a>
</b>
<br>
<sub>
Tidelift helps make open source sustainable for maintainers while giving companies<br>assurances about security, maintenance, and licensing for their dependencies.
</sub>
</div>