New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

bluebird2

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bluebird2 - npm Package Compare versions

Comparing version 2.1.0 to 3.0.0

README.md

9

changelog.md

@@ -30,1 +30,10 @@ # Changelog

* `.getNewLibraryCopy()` method (was `.clone()`)
## 3.0.0
* Remove `.clone()` method
* Pin `bluebird` dependency to trigger a PR from `greenkeeper` whenever new version released
* Travis CI runs on all branches (to allow `greenkeeper` to trigger Travis)
* Travis CI does not run on tags
* Tidy npm scripts
* Update dev dependencies

5

lib/index.js

@@ -19,7 +19,2 @@ /*

Bluebird.clone = function() {
console.warn('`.clone()` method is deprecated and will be removed in v3.0.0. Use `.getNewLibraryCopy()` instead');
return getNewLibraryCopy();
};
if (!Bluebird.version) Bluebird.version = bluebirdVersion;

@@ -26,0 +21,0 @@ return Bluebird;

21

package.json
{
"name": "bluebird2",
"version": "2.1.0",
"version": "3.0.0",
"description": "bluebird v2.x",

@@ -17,10 +17,10 @@ "main": "./lib/",

"dependencies": {
"bluebird": "^2.10.2"
"bluebird": "2.10.2"
},
"devDependencies": {
"mocha": "^2.5.3",
"mocha": "^3.0.1",
"chai": "^3.5.0",
"jshint": "^2.9.2",
"istanbul": "^0.4.3",
"coveralls": "^2.11.9"
"istanbul": "^0.4.4",
"coveralls": "^2.11.12"
},

@@ -31,8 +31,9 @@ "keywords": [

"scripts": {
"test": "if [ $COVERAGE ]; then npm run coveralls; else npm run jshint && npm run test-main; fi",
"jshint": "./node_modules/.bin/jshint lib test",
"test-main": "./node_modules/mocha/bin/mocha --check-leaks --colors -t 10000 --reporter spec 'test/**/*.test.js'",
"test": "npm run jshint && npm run test-main",
"jshint": "jshint lib test",
"test-main": "mocha --check-leaks --colors -t 10000 --reporter spec 'test/**/*.test.js'",
"cover": "npm run cover-main && rm -rf coverage",
"coveralls": "npm run cover-main && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage",
"cover-main": "COVERAGE=true ./node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha --report lcovonly -- -R spec 'test/**/*.test.js'"
"coveralls": "npm run cover-main && cat ./coverage/lcov.info | coveralls && rm -rf ./coverage",
"cover-main": "COVERAGE=true istanbul cover _mocha --report lcovonly -- -R spec 'test/**/*.test.js'",
"travis": "if [ $COVERAGE ]; then npm run coveralls; else npm run test; fi"
},

@@ -39,0 +40,0 @@ "engines": {

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