Comparing version 4.0.0 to 4.0.1
@@ -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> |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3835
40