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

resolvable-promise

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

resolvable-promise - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

4

dist/index.d.ts

@@ -6,4 +6,4 @@ declare function Resolvable<T>(handler?: Executor<T>): Resolvable<T>;

};
export default _default;
export interface Resolvable<T> extends Promise<T> {
export = _default;
interface Resolvable<T> extends Promise<T> {
resolve: Resolve<T>;

@@ -10,0 +10,0 @@ reject: Reject;

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
function Resolvable(handler) {

@@ -23,3 +22,3 @@ let resolve;

}
exports.default = Resolvable;
module.exports = Resolvable;
//# sourceMappingURL=index.js.map
{
"name": "resolvable-promise",
"version": "2.0.0",
"version": "2.0.1",
"description": "Promises with the resolve and reject functions exposed",

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

@@ -26,3 +26,3 @@ function Resolvable<T>(handler?: Executor<T>) {

export default Resolvable as {
export = Resolvable as {
new <T>(promise?: Executor<T>): Resolvable<T>

@@ -32,3 +32,3 @@ <T>(promise?: Executor<T>): Resolvable<T>

export interface Resolvable<T> extends Promise<T> {
interface Resolvable<T> extends Promise<T> {
resolve: Resolve<T>

@@ -35,0 +35,0 @@ reject: Reject

@@ -14,3 +14,5 @@ {

"forceConsistentCasingInFileNames": true,
}
},
"include": ["src/**/*.ts"],
"exclude": ["src/**/*.test.ts"]
}

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