Socket
Socket
Sign inDemoInstall

aggregate-error

Package Overview
Dependencies
2
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.0.1 to 3.1.0

6

index.d.ts
/**
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';

@@ -46,7 +46,7 @@

*/
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;
{
"name": "aggregate-error",
"version": "3.0.1",
"version": "3.1.0",
"description": "Create an error from multiple errors",

@@ -5,0 +5,0 @@ "license": "MIT",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc