Skip to content

Latest commit

 

History

History
66 lines (46 loc) · 1.3 KB

CHANGELOG.md

File metadata and controls

66 lines (46 loc) · 1.3 KB

Changelog

1.0.7

  • native: Add 'musl' build

1.0.6

  • native: Fix reexport output

1.0.5

  • lexer: Support reexport extends
    var lib = require("lib");
    lib.bar = true;
    module.exports = lib;
    // output:
    // { exports: [ "bar" ], reexports: [ "lib" ] }
  • lexer: Support var foo = exports; foo.bar = true pattern
  • lexer: Support var foo = exports.foo = ... pattern
  • lexer: Support (function(){ ... }).call(this) IIFE expr (normally generated by coffeescript)
  • native: Support json module
  • native: Fix resolver PackagePathNotExported error

1.0.4

  • native: Improve module resolver

1.0.3

  • native: Improve arguments input
    npm i react
    NODE_ENV=development ./cjs-module-lexer react
  • Change npm package to ESM

1.0.2

  • Add native build
  • Upgrade swc_esmascript 8.0.0

1.0.1

  • Upgrade swc_esmascript 5.0.0

1.0.0

  • Publish package under @esm.sh scope
  • Upgrade swc_esmascript 4.0.0

0.11.0

  • Check IIFE block under && binary expression (close #1)
    "production" !== process.env.NODE_ENV && (function () {
      module.exports = { foo: 'bar' }
    })()
  • Support Object.defineProperty((0, exports), "foo", { value: "bar" }); equivalent to exports.foo = "bar";

0.10.1

Moved the repository from https://github.com/esm-dev/esm.sh