New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@better-typescript-lib/es2020

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@better-typescript-lib/es2020 - npm Package Compare versions

Comparing version 2.2.1 to 2.3.0

2

package.json
{
"name": "@better-typescript-lib/es2020",
"version": "2.2.1",
"version": "2.3.0",
"description": "Better TypeScript standard library",

@@ -5,0 +5,0 @@ "types": "./index.d.ts",

@@ -9,4 +9,5 @@ /// <reference no-default-lib="true"/>

status: "rejected";
reason: any;
reason: unknown;
}
// reason: any;

@@ -26,3 +27,5 @@ type PromiseSettledResult<T> =

values: T
): Promise<{ -readonly [P in keyof T]: PromiseSettledResult<Awaited<T[P]>> }>;
): Promise<{
-readonly [P in keyof T]: PromiseSettledResult<Awaited<T[P]>>;
}>;

@@ -36,4 +39,18 @@ /**

allSettled<T>(
values: Iterable<T | PromiseLike<T>>
values: Iterable<T>
): Promise<PromiseSettledResult<Awaited<T>>[]>;
}
// /**
// * Creates a Promise that is resolved with an array of results when all
// * of the provided Promises resolve or reject.
// * @param values An array of Promises.
// * @returns A new Promise.
// */
// allSettled<T extends readonly unknown[] | []>(values: T): Promise<{ -readonly [P in keyof T]: PromiseSettledResult<Awaited<T[P]>> }>;
// /**
// * Creates a Promise that is resolved with an array of results when all
// * of the provided Promises resolve or reject.
// * @param values An array of Promises.
// * @returns A new Promise.
// */
// allSettled<T>(values: Iterable<T | PromiseLike<T>>): Promise<PromiseSettledResult<Awaited<T>>[]>;
SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc