esm
3.2.25 · 17 May 2019MIT9.7M / weekRepositoryHomepagenpmAtom feed
140 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.
3.2.25
17 May 2019Fixed regression parsing computed methods
3.2.24
16 May 2019Fixed regression parsing static methods
3.2.23
16 May 2019Added support for parsing public and private static class fields
Fixed regression in missing export detection for CJS modules
Fixed regression parsing computed class fields
Added support for parsing public and private static class fields
Fixed regression in missing export detection for CJS modules
Fixed regression parsing computed class fields
Fixed REPL support for Node 12
Reverted partial
"type"field support ofpackage.json
3.2.22
29 Mar 2019Reverted cache invalidation fix because of overactive file attribute updates
3.2.21
28 Mar 2019Ensured deep parse validation is performed before shallow
Ensured direct
Module#_compile()calls are based on default optionsEnsured
.nodefiles are stored in the realModule._cachein Jest
Ensured deep parse validation is performed before shallow
Ensured direct
Module#_compile()calls are based on default optionsEnsured
.nodefiles are stored in the realModule._cachein JestFixed cache invalidation of re-published modules
Fixed dynamic
importuse in Puppeteer’spage.evaluate()Fixed regression with
ts-node/registerFixed regression for packages with invalid
"main"fieldsUpdated
%stoken ofutil.formatWithOptions()
3.2.20
21 Mar 2019Maintenance only: docs, tests, build or refactoring. Nothing changes in how you use it.
3.2.19
21 Mar 2019Ensured source maps generated when
options.sourceMapisfalseEnsured stack traces of syntax errors are not clipped
Ensured stack traces don’t use file URLs when
options.cjs.pathsistrue
Ensured source maps generated when
options.sourceMapisfalseEnsured stack traces of syntax errors are not clipped
Ensured stack traces don’t use file URLs when
options.cjs.pathsistrueUpdated
util.formatWithOptions()implementation
3.2.18
15 Mar 2019Fixed undefined property access error for
Loader.state.package.defaultReintroduced an improved Electron v1 fix
3.2.17
14 Mar 2019Fixed regression in Jest context
3.2.16
12 Mar 2019Fixed inline source map detection
3.2.15
12 Mar 2019Ensured
consoleandutilcan accessLoader.state.package.defaultEnsured
esmworks withrequizzle
3.2.13
8 Mar 2019Ensured custom console methods provided by the runtime are preserved
Fixed regression in sideloaded module inheritance
3.2.12
8 Mar 2019Ensured configuration-less
esmworks with@babel/register(#517)Improved performance of
@babel/registerandnyc(#516)
3.2.10
3 Mar 2019Ensured JSON modules participate in the lifecycle phases of ES modules
3.2.9
2 Mar 2019Fixed
Module._cacheinitialization in Jest
3.2.8
1 Mar 2019Added support for
.cjsfilesEnsured JSON modules maintain reference equality whether loaded by static
importorrequire()Ensured mutation of JSON modules loaded by
require()update their live bindings
Added support for
.cjsfilesEnsured JSON modules maintain reference equality whether loaded by static
importorrequire()Ensured mutation of JSON modules loaded by
require()update their live bindingsEnsured named exports of CJS, JSON, and WASM modules are valid identifiers
Ensured WASM modules participate in the lifecycle phases of ES modules
3.2.7
26 Feb 2019Added support for mocking WASM modules and their dependencies
Ensured entry state is reset for erred modules
3.2.6
23 Feb 2019Documented
options.cjs.dedefaultEnsured getter errors of
module.exportsare not swallowedFixed Electron module wrapping regression
Documented
options.cjs.dedefaultEnsured getter errors of
module.exportsare not swallowedFixed Electron module wrapping regression
Fixed shadowing of custom consoles
3.2.4
8 Feb 2019Added support for
stdinevalEnsured
import.meta.urlisnullin--eval,stdin, or REPLFixed
mocha -rregression
Added support for
stdinevalEnsured
import.meta.urlisnullin--eval,stdin, or REPLFixed
mocha -rregressionFixed regression logging
processin REPL
3.2.3
7 Feb 2019Ensured the main module has an inline source map for
--inspect-brkuseFixed
consoleinitialization regression
3.2.2
7 Feb 2019Ensured top-level return errors occur within
eval()and the REPLFixed regression for
defaultclass exportsFixed regression masking errors in the REPL
3.2.1
5 Feb 2019Added support for class properties and other non-enumerables to
options.cjs.namedExportsEnsured builtin modules used within
.mjsfiles are more restrictedReduced instrumentation of non-circular modules
Added support for class properties and other non-enumerables to
options.cjs.namedExportsEnsured builtin modules used within
.mjsfiles are more restrictedReduced instrumentation of non-circular modules
Reverted
require()interoperability ofoptions.cjs.interop
3.2.0
30 Jan 2019Added
require()interoperability tooptions.cjs.interop(no morerequire("mod").default)Added support for
hot-module-replacementusingoptions.cjs.varsDeferred full code instrumentation of cyclic modules
Added
require()interoperability tooptions.cjs.interop(no morerequire("mod").default)Added support for
hot-module-replacementusingoptions.cjs.varsDeferred full code instrumentation of cyclic modules
Ensured builtin
consoleinitializes with frozen intrinsics enabledFixed real path resolution of
Module._findPath()
3.1.4
27 Jan 2019Narrowed deferring namespace object finalization to
export {x} fromandexport * fromof non-ES modules
3.1.3
26 Jan 2019Ensured namespace object finalization is deferred for modules that import non-ES modules
3.1.2
25 Jan 2019Added
import.metatest262 testsAdded support for running as a Jasmine helper
Ensured
Module._findPathmisses aren’t cached
Added
import.metatest262 testsAdded support for running as a Jasmine helper
Ensured
Module._findPathmisses aren’t cachedFixed file resolution within WASM modules
Optimized module loads for npm
tinkand Yarn PnP
3.1.1
19 Jan 2019Fixed regression loading CJS files through the require-hook
Fixed regression resolving paths in re-exported modules
3.1.0
16 Jan 2019- Breaking
Raised minimum Node support for
options.awaitto Node 10+ Added support for export-ns-from syntax
Added support for
options.wasm
Added support for export-ns-from syntax
Added support for
options.wasmAvoided “
__global__has already been declared” errorsEnsured
esmpasses all applicable test262 compliance testsEnsured
esmworks with globally installedtinkEnsured
esmworks withlit-nodeEnsured
esmworks with Node--use-strictand avoids CSP errors in ElectronEnsured the
module.idofesmis string before using itEnsured preloaded modules are reloaded when using Node
-por-eflagsFixed detection of shadowed identifiers
Fixed dynamic
importsupport in ElectronFixed
fs.realpathSync.nativedetectionFixed
options.mainFieldssupportFixed Puppeteer support
Fixed re-export test case
Fixed regexp DoS issue
- Breaking
Raised minimum Node support for
options.awaitto Node 10+ Reduced instrumentation of
consoleandReflect
3.0.84
17 Sep 2018Ensured
esmpaths aren’t reloaded when preloading modulesFixed regression translating empty export-from lists
3.0.83
17 Sep 2018Added support for the
ESM_DISABLE_CACHEenvironment variableEnsured any CLI modules preloaded before
esmare reloadedEnsured
esmdoesn’t trigger unsafe-eval CSP errors
Added support for the
ESM_DISABLE_CACHEenvironment variableEnsured any CLI modules preloaded before
esmare reloadedEnsured
esmdoesn’t trigger unsafe-eval CSP errorsEnsured
.jsfiles are found before.mjsfiles withoptions.cjs.pathsFixed regression introduced by 6ce0385
3.0.82
4 Sep 2018Ensured
inspectordoesn’t throw initialization errors in workersEnsured read-only CJS exports don’t throw proxy trap errors
Fixed regression resolving real paths
Ensured
inspectordoesn’t throw initialization errors in workersEnsured read-only CJS exports don’t throw proxy trap errors
Fixed regression resolving real paths
Made
esmcache more portable
3.0.81
30 Aug 2018Ensured shebang is stripped for side effect only ES modules
Ensured
yieldinsertions are not stored in cache files
3.0.79
20 Aug 2018Fixed
consolelogs in Electron
3.0.78
20 Aug 2018Ensured
instanceofworks for builtin constructors in JestEnsured
options.cacheworks as bridge optionsEnsured
options.mainFieldsworks for package dependencies
Ensured
instanceofworks for builtin constructors in JestEnsured
options.cacheworks as bridge optionsEnsured
options.mainFieldsworks for package dependenciesEnsured support for
ts-node/registerRemoved problematic "SIGINT" and "SIGTERM" event handlers
3.0.77
16 Aug 2018Ensured
Error.prepareStackTrace()works in Jest
3.0.76
14 Aug 2018Ensured
Module._extensionsis initialized withoutesmwrapper symbols
3.0.75
13 Aug 2018Avoided wrapping inspected values when not needed
Deferred more errors to the runtime instead of handling them with
acornEnsured a syntax error is thrown for duplicate import specifiers
Avoided wrapping inspected values when not needed
Deferred more errors to the runtime instead of handling them with
acornEnsured a syntax error is thrown for duplicate import specifiers
Ensured a syntax error is thrown for invalid escaped reserved words
Ensure function declarations are lexically scoped in ESM
Ensured
module.pathsis set through the ESM loaderEnsured parse errors are converted to regular errors
Ensured real paths of directories are resolved in
Module._findPath()Ensured specific named exports are not resolved before throwing in cycles
Ensured the process is exited for
SIGINTandSIGTERM
3.0.74
3 Aug 2018Fixed feature test regression in minified build
3.0.73
3 Aug 2018Ensured builtin module references are shared between loader instances
Ensured cache creation on
SIGINTandSIGTERMEnsured
consolecan be used in shorthand property names
Ensured builtin module references are shared between loader instances
Ensured cache creation on
SIGINTandSIGTERMEnsured
consolecan be used in shorthand property namesEnsured
muonis supportedEnsured namespace objects have only enumerable
module.exportspropertiesEnsured query/fragments are accounted for in main filenames
Ensured support for
node-chakracore10.6.0Ensured top-level async iterators work with
options.awaitFixed regression resolving paths of hard links
Made
options.sourceMapenabled forndbMade
options.sourceMapenabled forNODE_ENV="development"
3.0.72
20 Jul 2018Ensured request query/fragments can contain encoded slashes
Ensured
streamcan be subclassedFixed Electron developer tools disconnect on
globalaccess
Ensured request query/fragments can contain encoded slashes
Ensured
streamcan be subclassedFixed Electron developer tools disconnect on
globalaccessFixed module load regression
Improved metadata handling
Improved runtime performance
3.0.71
14 Jul 2018Added support for applying options to all module loads with
options.force
3.0.70
13 Jul 2018Enabled package resolution in RunKit
3.0.69
12 Jul 2018Continued to reduced use of cache read fast path
3.0.68
12 Jul 2018Reduced use of less stable cache read fast path
3.0.67
12 Jul 2018Added more guards to pseudo private methods use
3.0.66
10 Jul 2018Fixed regression resolving builtin modules in Node < 6.13.0
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.