Skip to content
This repository has been archived by the owner on Jul 13, 2020. It is now read-only.

Releases: ModuleLoader/es-module-loader

ES Module Loader 2.1.5

06 Apr 12:41
Compare
Choose a tag to compare

Fixes a circular reference linking bug reported by @lddubeau (systemjs/systemjs#1640, 3a497b8)

ES Module Loader 2.1.4

30 Mar 11:03
Compare
Choose a tag to compare
  • 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

30 Mar 10:57
Compare
Choose a tag to compare

Adds support for dynamic dependency tracing import('x') via load.dynamicDeps (4f23167)

ES Module Loader 2.1.2

17 Feb 04:25
Compare
Choose a tag to compare

Fixes depMap bug in tracing (#532)

ES Module Loader 2.1.1

16 Feb 14:32
Compare
Choose a tag to compare

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

09 Feb 10:09
Compare
Choose a tag to compare
  • __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

24 Jan 11:58
Compare
Choose a tag to compare
  • 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 to deps
  • Deprecation of old hook names, must use hook symbol names exactly as documented in the current README

ES6 Module Loader v0.17.10

05 Jan 17:33
Compare
Choose a tag to compare

Features

  • Updates System.register context argument to an object instead of a string (45aad0b)
  • applyPaths internal function to return undefined for no paths match (e8874c0)
  • Updates for Traceur no longer throwing arrays on errors (ab974e2)

Bug Fixes

  • Meteor environment checking support (296cedd)
  • System.load no longer performs execution, to match the spec (e86e396)

ES6 Module Loader v0.17.9

17 Dec 09:54
Compare
Choose a tag to compare

Features

  • Full support for a __moduleName second argument in System.register (9b4fcbe)
  • fetch spec support for fetching in service workers (754e35b)

Bug Fixes

  • Fixes a linking bug ensuring each System.import statement corresponds to an isolated linkset (380a70f)
  • Distinguish between non-existing and empty files for file:/// XHR in Chrome (be03106)
  • Wildcard paths specificity fixes (2e17f6c)

ES6 Module Loader v0.17.8

22 Sep 20:21
Compare
Choose a tag to compare
  • Fixes a non-critical but throwing XHR IE bug thanks to @davidecantoni (3060eb9)
  • Correction to Accept header to align with standards (16834b7)