Socket
Socket
Sign inDemoInstall

p-defer

Package Overview
Dependencies
0
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.0 to 2.0.1

4

index.d.ts

@@ -7,3 +7,3 @@ export interface DeferredPromise<ValueType> {

*/
resolve(value: ValueType | PromiseLike<ValueType>): void;
resolve(value?: ValueType | PromiseLike<ValueType>): void;

@@ -15,3 +15,3 @@ /**

*/
reject(reason: unknown): void;
reject(reason?: unknown): void;

@@ -18,0 +18,0 @@ /**

{
"name": "p-defer",
"version": "2.0.0",
"version": "2.0.1",
"description": "Create a deferred promise",

@@ -5,0 +5,0 @@ "license": "MIT",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc