Releases: jitesoft/babel-preset-main
5.0.0
4.0.0
- New plugin @babel/plugin-proposal-duplicate-named-capturing-groups-regex added.
Breaking changes:
-
Decorators have new version as the default version (2022-03 instead of 2018-09)
See https://babeljs.io/blog/2022/09/05/7.19.0#stage-3-decorators-14836httpsgithubcombabelbabelpull14836 and https://github.com/tc39/proposal-decorators for more information about changes. -
Default node version (mode: node) is now >=14 instead of >=12, latest Maintenance EOL.
3.0.0
Old configurations using pipeline-operator, record-and-tupe and decorators will in this version crash.
See the README.md for changed options.
2.13.2
Dependency updates. Signed-off-by: Johannes Tegnér <[email protected]>
2.1.0
Constraint on @babel/core updated to ^7.8.0
Version updates of following packages:
- @babel/helper-plugin-utils 7.0.0 => 7.8.0
- @babel/preset-env 7.7.7 => 7.8.2
- @babel/plugin-proposal-class-properties 7.7.4 => 7.8.0
- @babel/plugin-proposal-decorators 7.7.4 => 7.8.0
- @babel/plugin-proposal-export-default-from 7.7.4 => 7.8.0
- @babel/plugin-proposal-export-namespace-from 7.7.4 => 7.8.0
- @babel/plugin-proposal-partial-application 7.7.4 => 7.8.0
- @babel/plugin-proposal-private-methods 7.7.4 => 7.8.0
- @babel/plugin-proposal-throw-expressions 7.7.4 => 7.8.0
- @babel/plugin-transform-object-assign 7.7.4 => 7.8.0
- @babel/plugin-transform-runtime 7.7.6 => 7.8.0
- @babel/runtime-corejs3 7.7.7 => 7.8.0
Removal of following packages (which are now inside preset-env by default):
- optional-chaining
- nullish-coalescing-operator
- dynamic-import
- async-generator-functions
- named-capturing-groups-regex
- dotall-regex
- optional-catch-binding
- for-of
2.0.0
- Added two plugins:
@babel/plugin-proposal-optional-catch-binding
@babel/plugin-transform-for-of
- Made it possible to exclude plugins and presets with out using the
@babel/plugin-
prefix.
Due to node default version change, the package was bumped to a new major version as it might introduce breaking changes in some packages not defined to use a specific node version as lower bound.