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

kew

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

kew - npm Package Compare versions

Comparing version 0.1.3 to 0.1.4

test/context.js

9

kew.js

@@ -15,5 +15,12 @@ /**

this._failFn = onFail
this._hasContext = false
this._context = undefined
}
Promise.prototype.clearContext = function () {
this._hasContext = false
this._context = undefined
return this
}
/**

@@ -25,2 +32,3 @@ * Set the context for a promise

this._context = context
this._hasContext = true
return this

@@ -216,2 +224,3 @@ }

var i
if (this._hasContext) promise.setContext(this.context)

@@ -218,0 +227,0 @@ if (this._child) {

2

package.json
{
"name": "kew"
, "description": "a lightweight promise library for node"
, "version": "0.1.3"
, "version": "0.1.4"
, "homepage": "https://github.com/Obvious/kew"

@@ -6,0 +6,0 @@ , "authors": [

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