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

@js-bits/xpromise

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@js-bits/xpromise - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

12

dist/index.d.ts

@@ -37,18 +37,18 @@ export default ExtendablePromise;

* All arguments will be passed through to `executor` function.
* @returns {ExtendablePromise<T>}
* @returns {this}
* @throws {typeof ExtendablePromise.ExecutionError}
*/
execute(...args: unknown[][]): ExtendablePromise<T>;
execute(...args: unknown[][]): this;
/**
* Resolves `ExtendablePromise`
* @param result
* @returns {ExtendablePromise<T>}
* @returns {this}
*/
resolve(result: T): ExtendablePromise<T>;
resolve(result: T): this;
/**
* Rejects `ExtendablePromise`
* @param reason
* @returns {ExtendablePromise<T>}
* @returns {this}
*/
reject(reason: Error): ExtendablePromise<T>;
reject(reason: Error): this;
}

@@ -83,3 +83,3 @@ import enumerate from '@js-bits/enumerate';

* All arguments will be passed through to `executor` function.
* @returns {ExtendablePromise<T>}
* @returns {this}
* @throws {typeof ExtendablePromise.ExecutionError}

@@ -105,3 +105,3 @@ */

* @param result
* @returns {ExtendablePromise<T>}
* @returns {this}
*/

@@ -116,3 +116,3 @@ resolve(/** @type {T} */ result) {

* @param reason
* @returns {ExtendablePromise<T>}
* @returns {this}
*/

@@ -119,0 +119,0 @@ reject(/** @type {Error} */ reason) {

{
"name": "@js-bits/xpromise",
"version": "1.0.2",
"version": "1.0.3",
"description": "Extendable Promise",

@@ -5,0 +5,0 @@ "keywords": [

Sorry, the diff of this file is not supported yet

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