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

promise_mtd

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

promise_mtd - npm Package Compare versions

Comparing version 2.0.5 to 2.0.6

10

index.d.ts

@@ -7,2 +7,6 @@ type Unwrap<T> =

type UnwrapListOrObject<Type> = {
[P in keyof Type]: Unwrap<Type[P]>;
};
declare module 'promise_mtd' {

@@ -23,7 +27,9 @@ export function forEach<Input = any>(data: Array<Input>, handler: (el: Input, index: number) => Promise<void>): void;

export function all<Input = any>(data: Array<Input>): Promise<Array< Unwrap<Input> >>;
export function all<Input = any>(data: { [k: string]: Input }): Promise<{ [k: string]: Unwrap<Input> }>;
export function all<T>(list: T): Promise<UnwrapListOrObject<T>>;
// export function all<Input = any>(data: Array<Input>): Promise<Array< Unwrap<Input> >>;
// export function all<Input = any>(data: { [k: string]: Input }): Promise<{ [k: string]: Unwrap<Input> }>;
export function setImmediate(): Promise<null>;
}

2

package.json
{
"name": "promise_mtd",
"version": "2.0.5",
"version": "2.0.6",
"description": "Set of methods allowing simplify work with Promises in cycle. Methods: forEach, map, while, transform, parallel",

@@ -5,0 +5,0 @@ "main": "index.js",

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