3.0.0 (2024-10-31)
2.1.2 (2022-05-31)
2.1.1 (2022-05-30)
- handle .cts and .mts extensions (c772152)
2.1.0 (2022-05-29)
- add support for adding and customizing Import Assertions (6bf8056)
2.0.0 (2022-05-29)
- don't use import assertions to ensure compatibility with Node 14 and 16 in the test runner (8c2b76a)
- don't use import assertions to ensure compatibility with Node 14 and 16 in the test runner (d9c996e)
- fix built-in-module-map generator (65e1179)
- migrate to publishing ES-modules with a CommonJS fallback. Improve emit-behavior. Fix bugs related to inclusion of module specifiers (78592d0)
1.1.5 (2022-05-25)
- Add support for TypeScript 4.6. Add new sponsor (b73eb9e)
1.1.4 (2021-05-29)
1.1.3 (2021-05-29)
1.1.2 (2021-05-28)
1.1.1 (2021-05-26)
- remove deprecated call to program.help() (e47e45d)
1.1.0 (2021-05-26)
- api: fix issue where API would always return an empty file array (4a26823)
- ensure POSIX-formatted file names before passing on to glob (d2d9acd)
1.0.1 (2021-03-18)
1.0.0 (2021-03-17)
- update pnpm-lock (d8b1ce2)
- add new option, 'preserveModuleSpecifiers' (1bad5b7)
0.1.3 (2020-10-21)
- fix issue where function name could be lost (6de7830)
- run tests for all TypeScript versions (0b0261c)
0.1.2 (2020-10-21)
- ensure no local bindings may conflict (7dafcd6)
0.1.1 (2020-08-12)
0.1.0 (2020-08-12)
- api: add API support (ea42c39)
0.0.22 (2020-07-01)
0.0.21 (2020-07-01)
- add support for CommonJS-based barrel exports (e6e33c0)
0.0.20 (2020-06-24)
- fix buit-in-module-map (10281f8)
- fix buit-in-module-map (65d897e)
- moving require calls up from a block scope will remove the surrounding block (a66d7b5)
- use a proper TransformationContext at all times. Adds TypeScript v3.9.5 support (1a14d64)
0.0.19 (2020-02-27)
0.0.18 (2020-02-07)
- fix UMD bug (1b579a9)
0.0.17 (2020-02-07)
- support transforming code that reassigns required bindings into valid ESM (11ec60d)
- make it possible to pass a specific TypeScript version. Add support for transforming from UMD to ESM (f6c55de)
0.0.16 (2020-02-07)
- support cjs. Move to ESLint since TSLint is deprecated (6e4b269)
0.0.15 (2019-11-17)
0.0.14 (2019-11-11)
0.0.13 (2019-11-09)
0.0.12 (2019-10-19)
- cli: make it possible to run the transform command with simple 'cjstoesm'. (43e51b6)
0.0.11 (2019-09-17)
- improves performance by avoiding the emit-phase of TSC in the CLI (f0e3923)
0.0.10 (2019-09-16)
- cli: adds CLI support for transforming a project from CJS to ESM (b542834)
0.0.9 (2019-07-09)
- bug: fixes issues with handling patterns such as 'const foo = module.exports = ...' or 'const foo = exports.bar = ...' (ef0fe30)
0.0.8 (2019-06-26)
0.0.7 (2019-06-21)
0.0.6 (2019-05-29)
0.0.5 (2019-05-09)
- exports: fixes a bug where exports = require(...)() would lead to SyntaxErrors (1803b54)
0.0.4 (2019-05-06)
- exports: adds support for re-exports with 'exports = require(...)' syntax (19753ce)