Skip to content

Latest commit

 

History

History
299 lines (101 loc) · 9.21 KB

CHANGELOG.md

File metadata and controls

299 lines (101 loc) · 9.21 KB

2.1.2 (2022-05-31)

2.1.1 (2022-05-30)

Bug Fixes

  • handle .cts and .mts extensions (c772152)

2.1.0 (2022-05-29)

Features

  • add support for adding and customizing Import Assertions (6bf8056)

2.0.0 (2022-05-29)

Bug Fixes

  • 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)

Features

  • 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)

Features

  • 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)

Bug Fixes

  • remove deprecated call to program.help() (e47e45d)

1.1.0 (2021-05-26)

Bug Fixes

  • 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)

Bug Fixes

Features

  • add new option, 'preserveModuleSpecifiers' (1bad5b7)

0.1.3 (2020-10-21)

Bug Fixes

  • fix issue where function name could be lost (6de7830)

Features

  • run tests for all TypeScript versions (0b0261c)

0.1.2 (2020-10-21)

Bug Fixes

  • ensure no local bindings may conflict (7dafcd6)

0.1.1 (2020-08-12)

0.1.0 (2020-08-12)

Features

0.0.22 (2020-07-01)

Bug Fixes

  • add support for 'export const foo = require(...)'. Closes #5 (31d0141)

0.0.21 (2020-07-01)

Bug Fixes

  • add support for CommonJS-based barrel exports (e6e33c0)

0.0.20 (2020-06-24)

Bug Fixes

  • 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)

Bug Fixes

0.0.17 (2020-02-07)

Bug Fixes

  • support transforming code that reassigns required bindings into valid ESM (11ec60d)

Features

  • make it possible to pass a specific TypeScript version. Add support for transforming from UMD to ESM (f6c55de)

0.0.16 (2020-02-07)

Bug Fixes

  • support cjs. Move to ESLint since TSLint is deprecated (6e4b269)

0.0.15 (2019-11-17)

Bug Fixes

0.0.14 (2019-11-11)

0.0.13 (2019-11-09)

Bug Fixes

  • fix bug where parent links wasn't being set. Closes #2 (29808ff)

0.0.12 (2019-10-19)

Features

  • cli: make it possible to run the transform command with simple 'cjstoesm'. (43e51b6)

0.0.11 (2019-09-17)

Performance Improvements

  • improves performance by avoiding the emit-phase of TSC in the CLI (f0e3923)

0.0.10 (2019-09-16)

Features

  • cli: adds CLI support for transforming a project from CJS to ESM (b542834)

0.0.9 (2019-07-09)

Bug Fixes

  • 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)

Bug Fixes

  • exports: fixes a bug where exports = require(...)() would lead to SyntaxErrors (1803b54)

0.0.4 (2019-05-06)

Features

  • exports: adds support for re-exports with 'exports = require(...)' syntax (19753ce)

0.0.3 (2019-04-30)

0.0.2 (2019-04-30)

0.0.1 (2019-04-30)