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

opossum

Package Overview
Dependencies
Maintainers
4
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

opossum - npm Package Compare versions

Comparing version 1.5.0 to 1.6.0

10

CHANGELOG.md

@@ -5,2 +5,12 @@ # Change Log

<a name="1.6.0"></a>
# [1.6.0](https://github.com/bucharest-gold/opossum/compare/v1.5.0...v1.6.0) (2018-05-24)
### Features
* pass error as parameter to fallback function ([#197](https://github.com/bucharest-gold/opossum/issues/197)) ([ae6c1cc](https://github.com/bucharest-gold/opossum/commit/ae6c1cc))
<a name="1.5.0"></a>

@@ -7,0 +17,0 @@ # [1.5.0](https://github.com/bucharest-gold/opossum/compare/v1.3.1...v1.5.0) (2018-04-25)

2

lib/circuit.js

@@ -468,3 +468,3 @@ 'use strict';

const result =
circuit[FALLBACK_FUNCTION].apply(circuit[FALLBACK_FUNCTION], args);
circuit[FALLBACK_FUNCTION].apply(circuit[FALLBACK_FUNCTION], [...args, err]);
/**

@@ -471,0 +471,0 @@ * Emitted when the circuit breaker executes a fallback function

{
"name": "opossum",
"version": "1.5.0",
"version": "1.6.0",
"author": "Red Hat, Inc.",

@@ -12,8 +12,7 @@ "license": "Apache-2.0",

"pretest": "npm run lint && npm run build:browser",
"test": "npm run test:console",
"test:ci": "npm run test:headless && npm run test:coverage",
"test:console": "tape test/*.js | tap-spec",
"test": "npm run test:coverage",
"test:ci": "npm run build && npm run test:headless && npm run test:coverage",
"test:headless": "node test/browser/webpack-test.js",
"test:browser": "opener http://localhost:9007/test/browser/index.html && http-server . -p 9007",
"test:coverage": "istanbul cover tape test/*.js",
"test:coverage": "nyc tape test/*.js | tap-spec",
"prepare": "nsp check && npm run build:browser",

@@ -44,7 +43,7 @@ "postpublish": "./publish-docs.sh",

"ink-docstrap": "~1.3.0",
"istanbul": "~0.4.5",
"jsdoc": "3.5.5",
"marked": "~0.3.9",
"marked": "~0.4.0",
"moment": "~2.22.0",
"nsp": "~3.2.1",
"nyc": "~11.8.0",
"opener": "1.4.3",

@@ -55,7 +54,8 @@ "semistandard": "~12.0.1",

"tape": "~4.9.0",
"webpack": "~4.6.0",
"webpack-cli": "~2.0.15"
"webpack": "~4.8.2",
"webpack-cli": "~2.1.2"
},
"description": "A fail-fast circuit breaker for promises and callbacks",
"keywords": [
"circuit breaker",
"circuit-breaker",

@@ -62,0 +62,0 @@ "fail-fast",

@@ -85,3 +85,3 @@ # opossum

Here is an example using [hapi.js](hapijs.com). See the
Here is an example using [hapi.js](https://hapijs.com). See the
[examples](https://github.com/bucharest-gold/opossum/tree/master/examples/)

@@ -88,0 +88,0 @@ folder for more detail.

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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