Packages

degenerator

7.0.2 · 16 Nov 2026MIT34.5M / weekRepositoryHomepagenpmAtom feed

Upgrading degenerator From 2.1.4 to 7.0.2

17 releases in betweennotes for 14

Reading releases, release notes and advisories…

Other targets from 2.1.4Newest 2.x2.2.0Clears its advisory3.0.1
  1. 2.1.4yours
  2. 1 release
  3. 3.0.0security
  4. 4 releases
  5. 4.0.0major
  6. 4 releases
  7. 5.0.0major
  8. 1 release
  9. 6.0.0major
  10. 7.0.0major
  11. 1 release
  12. 7.0.2target
8+
changes to make
1
advisory fixed
8+
new
17+
fixes

Counted from 14 of 17 release notes. Advisories are counted from the advisory database, in full.

Before you upgrade

Tick each one off as you go
  • Breaking7.0.0
  • Breaking6.0.0
  • Breaking5.0.0
  • Breaking4.0.0
  • Breaking4.0.0
  • Breaking3.0.0
  • Breaking3.0.0
  • Breaking3.0.0

Security

Fixes 1 advisory affecting 2.1.4

Release by release

  1. 7.0.2

    16 Nov 20261 fix
    • Fixed

      Update quickjs-wasi to v3.0.0. WASM bytes are now explicitly loaded via readFile() instead of relying on implicit filesystem I/O.

  2. 7.0.1

    6 Apr 20261 fix
    • Fixed

      Update QuickJS integration for quickjs-wasi v2.2.0. This removes deprecated unwrapResult() / dispose(false) usage and avoids duplicate sandbox host callback registration when recompiling PAC resolvers.

  3. 7.0.0

    Migration needed1 Apr 20261 fix
    • Breaking

      Set minimum Node.js version to 20

    • Fixed

      Simplify package.json exports to remove unnecessary imports restriction

  4. 6.0.0

    Migration needed11 Mar 20261 new
    • Breaking

      Convert to ESM. All packages now use "type": "module" and compile to ESM output instead of CommonJS.

    • New

      Replace @tootallnate/quickjs-emscripten with quickjs-wasi for running sandboxed PAC file code. quickjs-wasi is a lighter-weight QuickJS WASM runtime built on quickjs-ng with WASI reactor mode. The compile() function now takes a QuickJS instance directly instead of QuickJSWASMModule, and createPacResolver() / pac-proxy-agent are updated accordingly.

  5. 5.0.1

    19 Jul 20231 fix
    • Fixed

      Update escodegen dependency

  6. 5.0.0

    Migration needed18 Jul 2023
    • Breaking

      Use quickjs-emscripten instead of vm2 to execute PAC file code

  7. 4.0.4nothing new or fixed in the note

  8. 4.0.3

    17 Jun 20231 fix
    • Fixed

      Update vm2 dependency to v3.9.19

3 internal lines (docs, tests, tooling) left out.

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.