This repository has been archived by the owner on Jul 13, 2020. It is now read-only.
Releases: ModuleLoader/es-module-loader
Releases · ModuleLoader/es-module-loader
ES Module Loader 2.1.5
Fixes a circular reference linking bug reported by @lddubeau (systemjs/systemjs#1640, 3a497b8)
ES Module Loader 2.1.4
- Reverts the change from the previous 2.1.0 release where __esModule modules were fully lifted, due to bugs in edge cases, specifically that since
__esModule
is required on the lifted module, this becomes an invalid iterable property of the module, thus making it unsuitable to be used in place of the original (systemjs/systemjs#1629, d0f1eb2). - Fix to match spec behaviours on circular binding updates. This is done by only calling setters when there is a different value being propagated, instead of having a per-module lock (dfa6bed).
ES Module Loader 2.1.3
Adds support for dynamic dependency tracing import('x')
via load.dynamicDeps
(4f23167)
ES Module Loader 2.1.2
Fixes depMap bug in tracing (#532)
ES Module Loader 2.1.1
Bug Fixes
- Fixes resolver error messages (2e44cef)
- Fixes baseURI to support non-slashed URI forms (5d6b70a)
- Fix scenario where default export overwritten stops remaining exports from being enumerated (fee8f80, thanks to @nnajm)
- Fix dep map resolution in traces (bde6320)
- Remove definition of
__useDefault
for namespace lifting entirely (e081e5b, from #531) - Ensures that loader.registry.delete clears intermediate load records to avoid memory leaks (64c0b58)
ES Module Loader 2.1.0
__esModule
lifting has been adjusted. Legacy modules with__esModule
will now be stored in the registry as their namespace module, including the default export, and the legacy value provided to other modules will be that namespace exactly (7bb7ff3, f2bb139)- The default resolution function now trims the whitespace from the URL as in the WhatWG HTML spec (d47a503)
ES Module Loader 2.0.0
- API renames:
Module
->ModuleNamespace
,resolveUrlToParentIfNotPlain
->resolveIfNotPlain
. - Resolve and instantiate no longer take a
metadata
argument. baseKey
is no longer supported as a loader constructor argument- Reverts the
System.registerDynamic
format to be consistent with the previous SystemJS format, including a third boolean argument indicating an executing require, with an exception for modules with the__esModule
flag only. - Legacy module interop is now based on not extending modules with named exports to match NodeJS adoption of named exports.
- Fixes tracing API, renaming
dependencies
todeps
- Deprecation of old hook names, must use hook symbol names exactly as documented in the current README
ES6 Module Loader v0.17.10
ES6 Module Loader v0.17.9
ES6 Module Loader v0.17.8
- Fixes a non-critical but throwing XHR IE bug thanks to @davidecantoni (3060eb9)
- Correction to Accept header to align with standards (16834b7)