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

p-defer

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

p-defer - npm Package Compare versions

Comparing version 4.0.0 to 4.0.1

4

index.d.ts

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

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

@@ -20,3 +20,3 @@ /**

*/
reject(reason?: unknown): void;
reject(this: void, reason?: unknown): void;
}

@@ -23,0 +23,0 @@

{
"name": "p-defer",
"version": "4.0.0",
"version": "4.0.1",
"description": "Create a deferred promise",

@@ -15,2 +15,4 @@ "license": "MIT",

"exports": "./index.js",
"types": "./index.d.ts",
"sideEffects": false,
"engines": {

@@ -20,3 +22,3 @@ "node": ">=12"

"scripts": {
"test": "xo && ava && tsd"
"test": "ava"
},

@@ -23,0 +25,0 @@ "files": [

@@ -9,5 +9,5 @@ # p-defer

```sh
npm install p-defer
```
$ npm install p-defer
```

@@ -41,13 +41,1 @@ ## Usage

- [More…](https://github.com/sindresorhus/promise-fun)
---
<div align="center">
<b>
<a href="https://tidelift.com/subscription/pkg/npm-p-defer?utm_source=npm-p-defer&utm_medium=referral&utm_campaign=readme">Get professional support for this package with a Tidelift subscription</a>
</b>
<br>
<sub>
Tidelift helps make open source sustainable for maintainers while giving companies<br>assurances about security, maintenance, and licensing for their dependencies.
</sub>
</div>
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