Skip to content

Releases: jitesoft/babel-preset-main

5.0.0

27 Feb 13:44
5.0.0
343b914
Compare
Choose a tag to compare
  • Babel 7.21
  • Updated @babel/plugin-proposal-decorators to default to 2023-01 variant
  • Added @babel/plugin-proposal-regexp-modifiers plugin

4.0.0

06 Sep 06:29
4.0.0
8e7d35e
Compare
Choose a tag to compare
  • New plugin @babel/plugin-proposal-duplicate-named-capturing-groups-regex added.

Breaking changes:

3.0.0

27 Mar 14:59
3.0.0
e15fdd5
Compare
Choose a tag to compare

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

20 Oct 08:59
471124c
Compare
Choose a tag to compare
Dependency updates.

Signed-off-by: Johannes Tegnér <johannes@jitesoft.com>

2.1.0

13 Jan 12:42
d89ee4a
Compare
Choose a tag to compare

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

30 Dec 12:29
022c17c
Compare
Choose a tag to compare
  • 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.