Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

Releases: standard-things/esm

0.12.0

19 Oct 06:08
Compare
Choose a tag to compare
  • Added "warnings" option
  • Ensured a warning is emitted for potential TDZ access (#46)
  • Ensured require.extensions is respected with the "cjs" option
  • Made improper arguments access emit a warning instead of throwing an error

0.11.3

07 Oct 22:17
Compare
Choose a tag to compare
  • Ensured @std/esm works with nyc --require (#117)
  • Ensured declarations are hoisted before module execution (#42)
  • Ensured the private ESM cache isn’t used with the "cjs" option (#117)

0.11.2

02 Oct 17:10
Compare
Choose a tag to compare
  • Added support for detecting conflicted star exports
  • Ensured Node errors have no enumerable keys
  • Ensured code and name Node error properties are enumerable when assigned
  • Matched HTML comment error of V8 in ES modules

0.11.1

29 Sep 23:19
Compare
Choose a tag to compare
  • Ensured .mjs files can be loaded in CJS with the "cjs" option
  • Ensured namespace exports of bridge CJS modules are supported
  • Ensured code and name properties of Node errors are writable (#113)
  • Ensured Node errors inherit from Error (#106)
  • Ensured errors of process._tickCallback() aren’t shallowed (#111)
  • Ensured exports is exposed when using "cjs" and "esm":"all" options (#110)
  • Fixed loading of .gz files in CJS

0.11.0

23 Sep 23:19
Compare
Choose a tag to compare
  • Added "sourceMap" option
  • Ensured environment hooks aren’t applied when options are provided
  • Ensured "gz" option enables extension-less lookup for .gz files in ESM
  • Ensured bridged ESM modules have their internal namespaces updated correctly (#104)
  • Ensured plain objects are used for exports objects in the REPL
  • Fixed parse regression for arrow functions with destructured arguments (#103)

0.10.2

20 Sep 23:28
Compare
Choose a tag to compare
  • Deferred creating import.meta until first access
  • Ensured an isMain param of false is used in the require() hook (#99)
  • Ensured one cache location is used when the require hook is used with options (#101)
  • Ensured plain objects are used for exports objects (#102)
  • Ensured the version of @std/esm in devDependencies is ignored for opt-in detection (#100)
  • Fixed setting require hook options when its options param is true

0.10.1

18 Sep 04:05
Compare
Choose a tag to compare
  • Ensured import.meta.url is URI encoded

0.10.0

17 Sep 09:35
Compare
Choose a tag to compare
  • Added support for import.meta.url
  • Guarded against poorly mocked module constructors (#97)

0.9.2

13 Sep 01:17
Compare
Choose a tag to compare
  • Improved stack trace scrubbing

0.9.1

12 Sep 18:23
Compare
Choose a tag to compare
  • Updated Acorn to prevent parse errors on shorthand async function properties (#94)