Packages

esm

3.2.25 · 17 May 2019MIT9.7M / weekRepositoryHomepagenpmAtom feed

Upgrading esm From 2.1.1 to 3.1.0

88 releases in betweennotes for 32

Reading releases, release notes and advisories…

Other targets from 2.1.1Newest 2.x2.2.0Latest3.2.25
  1. 2.1.1yours
  2. 2 releases
  3. 3.0.0major
  4. 84 releases
  5. 3.1.0target
7+
changes to make
1
advisory fixed
7+
new
20+
fixes

Counted from 32 of 88 release notes. Advisories are counted from the advisory database, in full.

Before you upgrade

Tick each one off as you go
  • Breaking3.1.0
  • Breaking3.0.0
  • Breaking3.0.0
  • Breaking3.0.0
  • Breaking3.0.0
  • Breaking3.0.0
  • Breaking3.0.0

Security

Fixes 1 advisory affecting 2.1.1

Release by release

  1. 3.1.0

    Migration needed16 Jan 20192 new · 7 fixes
    • Breaking

      Raised minimum Node support for options.await to Node 10+

    • New

      Added support for export-ns-from syntax

    • New

      Added support for options.wasm

    • Fixed

      Fixed detection of shadowed identifiers

  2. 3.0.84

    17 Sep 20181 fix
    • Fixed

      Fixed regression translating empty export-from lists

  3. 3.0.83

    17 Sep 20181 new · 1 fix
    • New

      Added support for the ESM_DISABLE_CACHE environment variable

    • Fixed

      Fixed regression introduced by 6ce0385

  4. 3.0.82

    4 Sep 20181 fix
    • Fixed

      Fixed regression resolving real paths

  5. 3.0.80 – 3.0.812 releases, nothing new or fixed in the notes

  6. 3.0.79

    20 Aug 20181 fix
    • Fixed

      Fixed console logs in Electron

  7. 3.0.76 – 3.0.783 releases, nothing new or fixed in the notes

  8. 3.0.75

    13 Aug 20181 fix
    • Fixed

      Ensure function declarations are lexically scoped in ESM

66 other lines we could not sort, mostly version bumps
  • Avoided “__global__ has already been declared” errors

    3.1.0
  • Ensured esm passes all applicable test262 compliance tests

    3.1.0
  • Ensured esm works with globally installed tink

    3.1.0
  • Ensured esm works with lit-node

    3.1.0
  • Ensured esm works with Node --use-strict and avoids CSP errors in Electron

    3.1.0
  • Ensured the module.id of esm is string before using it

    3.1.0
  • Ensured preloaded modules are reloaded when using Node -p or -e flags

    3.1.0
  • Reduced instrumentation of console and Reflect

    3.1.0
  • Ensured esm paths aren’t reloaded when preloading modules

    3.0.84
  • Ensured any CLI modules preloaded before esm are reloaded

    3.0.83

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.