This commit is contained in:
2022-07-18 02:50:52 +00:00
parent befd344ab0
commit 06181b34d6
8569 changed files with 818704 additions and 352705 deletions
+3 -3
View File
@@ -1,7 +1,7 @@
/**
Create an error from multiple errors.
*/
declare class AggregateError extends Error implements Iterable<Error> {
declare class AggregateError<T extends Error = Error> extends Error implements Iterable<T> {
readonly name: 'AggregateError';
/**
@@ -43,9 +43,9 @@ declare class AggregateError extends Error implements Iterable<Error> {
//=> [Error: baz]
```
*/
constructor(errors: ReadonlyArray<Error | {[key: string]: any} | string>);
constructor(errors: ReadonlyArray<T | {[key: string]: any} | string>);
[Symbol.iterator](): IterableIterator<Error>;
[Symbol.iterator](): IterableIterator<T>;
}
export = AggregateError;
+12 -12
View File
@@ -1,32 +1,32 @@
{
"_args": [
[
"aggregate-error@3.0.1",
"/mnt/Foxconn/Digitalent/Deverloper/liff-push_2series"
"aggregate-error@3.1.0",
"/home/node/nuxt"
]
],
"_from": "aggregate-error@3.0.1",
"_id": "aggregate-error@3.0.1",
"_from": "aggregate-error@3.1.0",
"_id": "aggregate-error@3.1.0",
"_inBundle": false,
"_integrity": "sha512-quoaXsZ9/BLNae5yiNoUz+Nhkwz83GhWwtYFglcjEQB2NDHCIpApbqXxIFnm4Pq/Nvhrsq5sYJFyohrrxnTGAA==",
"_integrity": "sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA==",
"_location": "/aggregate-error",
"_phantomChildren": {},
"_requested": {
"type": "version",
"registry": true,
"raw": "aggregate-error@3.0.1",
"raw": "aggregate-error@3.1.0",
"name": "aggregate-error",
"escapedName": "aggregate-error",
"rawSpec": "3.0.1",
"rawSpec": "3.1.0",
"saveSpec": null,
"fetchSpec": "3.0.1"
"fetchSpec": "3.1.0"
},
"_requiredBy": [
"/p-map"
],
"_resolved": "https://registry.npmjs.org/aggregate-error/-/aggregate-error-3.0.1.tgz",
"_spec": "3.0.1",
"_where": "/mnt/Foxconn/Digitalent/Deverloper/liff-push_2series",
"_resolved": "https://registry.npmjs.org/aggregate-error/-/aggregate-error-3.1.0.tgz",
"_spec": "3.1.0",
"_where": "/home/node/nuxt",
"author": {
"name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com",
@@ -72,5 +72,5 @@
"scripts": {
"test": "xo && ava && tsd"
},
"version": "3.0.1"
"version": "3.1.0"
}