Skip to content

Releases: esm-dev/cjs-module-lexer

v1.0.7

23 Dec 14:15
Compare
Choose a tag to compare
  • native: Add 'musl' build

v1.0.6

15 Dec 12:39
Compare
Choose a tag to compare
  • native: Fix reexport output

v1.0.5

15 Dec 08:51
Compare
Choose a tag to compare
  • 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

v1.0.4

14 Dec 12:48
Compare
Choose a tag to compare
  • native: Improve the module resovler

v1.0.3

11 Dec 23:07
Compare
Choose a tag to compare
  • native: Improve arguments input
    npm i react
    NODE_ENV=development ./cjs-module-lexer react
  • Change npm package to ESM

v1.0.2

11 Dec 21:22
Compare
Choose a tag to compare
  • Add native build
  • Upgrade swc_esmascript 8.0.0

v1.0.1

11 Dec 21:22
@ije ije
Compare
Choose a tag to compare
  • Upgrade swc_esmascript 5.0.0

v1.0.0

11 Dec 21:21
@ije ije
f5957ce
Compare
Choose a tag to compare
  • Publish package under @esm.sh scope
  • Upgrade swc_esmascript 4.0.0