Skip to content
This repository has been archived by the owner on Apr 12, 2022. It is now read-only.

[Snyk] Upgrade opossum from 4.0.0 to 5.0.0 #28

Closed

Conversation

snyk-bot
Copy link
Contributor

@snyk-bot snyk-bot commented Apr 7, 2020

Snyk has created this PR to upgrade opossum from 4.0.0 to 5.0.0.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

Warning: This is a major version upgrade, and may be a breaking change.

  • The recommended version is 8 versions ahead of your current version.
  • The recommended version was released 2 months ago, on 2020-02-20.
Release notes
Package name: opossum
  • 5.0.0 - 2020-02-20

    5.0.0 (2020-02-20)

    Breaking Changes:

    • Targeting Node 10+
  • 4.2.4 - 2020-01-22

    4.2.4 (2020-01-22)

    Bug Fixes

  • 4.2.3 - 2020-01-03

    chore(release): 4.2.3

  • 4.2.3-0 - 2020-01-03
  • 4.2.2 - 2020-01-02

    chore(release): 4.2.2

  • 4.2.1 - 2019-11-08

    4.2.1 (2019-11-08)

    Bug Fixes

  • 4.2.0 - 2019-10-28

    4.2.0 (2019-10-28)

    Bug Fixes

    • clear intervals on shutdown (#378) (91e2dbe)
    • Clear reset timer on open() (#383) (7f488f1)
    • do not close if preexisting task resolves when state is not OPEN (#382) (7b92602)
    • circuit: remove unneeded resolve() (#377) (cde55eb)

    Features

  • 4.1.0 - 2019-10-16

    This allows the user to control the this context within the function execution for a circuit. This method behaves in many ways like Function.prototype.call(). It takes a this context as the first parameter and any optional parameters as an argument list to the function. Here is an example usage:

    const context = {
      lunch: 'sushi'
    };
    

    async function getLunch (param) {
    return param
    ? Promise.resolve(param)
    : Promise.resolve(this.lunch);
    }
    getLunch.lunch = 'tacos';

    const circuit = new CircuitBreaker(getLunch);
    circuit.call()
    .then(console.log) // logs 'tacos'
    .then( => {
    circuit.call(context)
    .then(console.log) // logs 'sushi'
    .then(
    => {
    circuit.call(context, 'burgers')
    .then(console.log); // logs 'burgers'
    });
    });




  • 4.0.0 - 2019-08-21

    4.0.0 (2019-08-21)

    Breaking Changes

    • The factory function has been removed in favor of simply using the CircuitBreaker constructor.
    • Prometheus and Hystrix metrics have been moved into their own repositories.
    • We no longer keep a set of all circuits
from opossum GitHub release notes
Commit messages
Package name: opossum
  • f950472 chore(release): 5.0.0
  • 9145c92 chore: engine parameter targets node 10+ (#399)
  • 4bb9db5 chore(release): 4.2.4
  • 750cfd7 chore(package): Update standard-version to the latest version 🚀 (#398)
  • 2453326 fix(circuit): allow timeout option to be false (#396)
  • 1d7b7bd chore: fix typos and JSDocs in circuit.js (#397)
  • 17fcfcd chore: Fix typo in Readme (#395)
  • 57a345d chore(package): Update tape to the latest version 🚀 (#394)
  • ff70f54 chore(release): 4.2.3
  • 57aad75 Revert "src: set entrypoint to dist/opossum.js (#384)"
  • c5ca99b chore(release): 4.2.2
  • eb80f91 chore(package): Update tape to the latest version 🚀 (#390)
  • 405f759 chore(package): Update nyc to the latest version 🚀 (#391)
  • a721f3f bug: fix stuck halfOpen when using errorFilter (#389)
  • 7a96e79 src: set entrypoint to dist/opossum.js (#384)
  • 970f1bc chore(release): 4.2.1
  • 2c5b4a2 fix: Fix stuck open (#386)
  • a7d00e5 chore(package): Update standard-version to the latest version 🚀 (#387)
  • bd593ba chore(release): 4.2.0
  • 7f488f1 fix: Clear reset timer on open() (#383)
  • 7b92602 fix: do not close if preexisting task resolves when state is not OPEN (#382)
  • 7b97914 feat: Implement babel-loader in webpack (#380)
  • 91e2dbe fix: clear intervals on shutdown (#378)
  • f6a3e3a feat: implement `isOurError()` (#376)

Compare


Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

🧐 View latest project report

🛠 Adjust upgrade PR settings

🔕 Ignore this dependency or unsubscribe from future upgrade PRs

@aalykiot aalykiot closed this Jul 13, 2020
@aalykiot aalykiot deleted the snyk-upgrade-55c6e4d07e31f58416b84f2473028c36 branch August 6, 2020 12:19
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Lost ability to disable timeout. Simultaneous failures cause circuit to never move into the halfOpened state
2 participants