Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@types/promise.allsettled

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/promise.allsettled - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

4

promise.allsettled/implementation.d.ts
import { PromiseRejection, PromiseResolution, PromiseResult } from './types';
type PromiseTuple<T extends [unknown, ...unknown[]]> = {[P in keyof T]: Promise<T[P]>};
type PromiseTuple<T extends [unknown, ...unknown[]]> = {[P in keyof T]: Promise<T[P]> | T[P]};
type PromiseResultTuple<T extends [unknown, ...unknown[]]> = {[P in keyof T]: PromiseResult<T[P]>};

@@ -8,4 +8,4 @@

declare function allSettled<T extends [unknown, ...unknown[]]>(iterable: PromiseTuple<T>): Promise<PromiseResultTuple<T>>;
declare function allSettled<T>(iterable: Iterable<T>): Promise<Array<PromiseResult<T>>>;
declare function allSettled<T>(iterable: Iterable<Promise<T> | T>): Promise<Array<PromiseResult<T>>>;
export = allSettled;
// Type definitions for promise.allsettled 1.0
// Project: https://github.com/ljharb/promise.allsettled#readme
// Definitions by: Martin Jurča <https://github.com/jurca>
// Elizabeth Lorenz <https://github.com/kisaraofpern>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

@@ -5,0 +6,0 @@ // TypeScript Version: 3.1

{
"name": "@types/promise.allsettled",
"version": "1.0.1",
"version": "1.0.2",
"description": "TypeScript definitions for promise.allsettled",

@@ -11,2 +11,7 @@ "license": "MIT",

"githubUsername": "jurca"
},
{
"name": "Elizabeth Lorenz",
"url": "https://github.com/kisaraofpern",
"githubUsername": "kisaraofpern"
}

@@ -23,4 +28,4 @@ ],

"dependencies": {},
"typesPublisherContentHash": "6eeff7e531cd579e3f902d264ad319d37f9deea6c495a16bf558485f571d3960",
"typesPublisherContentHash": "5740fc3e6e0fc4c564bc6a6bb8c93f7a989bfd59e4afdb66bab50346172598e1",
"typeScriptVersion": "3.1"
}

@@ -11,3 +11,3 @@ # Installation

Additional Details
* Last updated: Thu, 11 Jul 2019 23:01:01 GMT
* Last updated: Mon, 14 Oct 2019 17:34:58 GMT
* Dependencies: none

@@ -17,2 +17,2 @@ * Global values: none

# Credits
These definitions were written by Martin Jurča <https://github.com/jurca>.
These definitions were written by Martin Jurča <https://github.com/jurca>, and Elizabeth Lorenz <https://github.com/kisaraofpern>.
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