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

cls-bluebird

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cls-bluebird - npm Package Compare versions

Comparing version 1.1.2 to 1.1.3

5

changelog.md
# Changelog
## 1.1.3
* Improved validation that `ns` argument is a namespace
* Add npm keywords
## 1.1.2

@@ -4,0 +9,0 @@

18

package.json
{
"name": "cls-bluebird",
"version": "1.1.2",
"version": "1.1.3",
"description": "Make bluebird work with the continuation-local-storage module.",
"main": "shim.js",
"scripts": {
"test": "tap test/*.tap.js"
"test": "npm run jshint && npm run test-main",
"test-main": "tap test/*.tap.js",
"jshint": "jshint shim.js test"
},

@@ -15,7 +17,14 @@ "repository": {

"continuation-local-storage",
"cls",
"bluebird",
"continuation",
"local",
"storage",
"promise",
"promises",
"async",
"thread",
"glue",
"baling-wire"
"baling-wire",
"patch"
],

@@ -35,4 +44,5 @@ "author": "Tim Beyer <tim.beyer@gmail.com>",

"continuation-local-storage": "^3.1.7",
"bluebird": "^2.10.2"
"bluebird": "^2.10.2",
"jshint": "^2.9.2"
}
}

@@ -12,5 +12,3 @@ 'use strict';

module.exports = function patchBluebird(ns, Promise) {
if (typeof ns.bind !== 'function') {
throw new TypeError('must include namespace to patch bluebird against');
}
if (!ns || typeof ns.bind !== 'function' || typeof ns.run !== 'function') throw new TypeError('must include namespace to patch bluebird against');

@@ -17,0 +15,0 @@ if (!Promise) {

'use strict';
// jshint quotmark:false
var test = require('tap').test;

@@ -4,0 +6,0 @@

Sorry, the diff of this file is not supported yet

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