Socket
Socket
Sign inDemoInstall

p-cancelable

Package Overview
Dependencies
0
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.4.0 to 0.4.1

4

index.js

@@ -57,2 +57,6 @@ 'use strict';

finally(onFinally) {
return this._promise.finally(onFinally);
}
cancel() {

@@ -59,0 +63,0 @@ if (!this._isPending || this._isCanceled) {

3

package.json
{
"name": "p-cancelable",
"version": "0.4.0",
"version": "0.4.1",
"description": "Create a promise that can be canceled",

@@ -44,4 +44,5 @@ "license": "MIT",

"delay": "^2.0.0",
"promise.prototype.finally": "^3.1.0",
"xo": "*"
}
}
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