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

promise-breaker

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

promise-breaker - npm Package Compare versions

Comparing version 4.1.6 to 4.1.7

4

index.d.ts

@@ -13,4 +13,4 @@ // Global variable exported in browsers.

break(promiseFn: Function): Function;
addPromise(done: Function, asyncFn: Function): Promise<any> | null;
addCallback(done: Function, promiseFn: Function): Promise<any> | null;
addPromise(done: Function | undefined | null, asyncFn: Function): Promise<any> | null;
addCallback(done: Function | undefined | null, promiseFn: Function): Promise<any> | null;
apply(fn: Function, thisArg?: any, args?: any[] | undefined) : Promise<any>;

@@ -17,0 +17,0 @@ apply(fn: Function, thisArg: any, args: any[] | undefined, done: Function) : void;

{
"name": "promise-breaker",
"version": "4.1.6",
"version": "4.1.7",
"description": "Library to help write libraries that accept both promises and callbacks.",

@@ -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