Update babel monorepo
This MR contains the following updates:
Package | Change | Age | Adoption | Passing | Confidence |
---|---|---|---|---|---|
@babel/core (source) | 7.20.12 -> 7.21.8 |
||||
@babel/preset-env (source) | 7.20.2 -> 7.21.5 |
Release Notes
babel/babel
v7.21.8

Spec Compliance


Bug Fix

-
babel-helper-create-class-features-plugin
,babel-helper-create-regexp-features-plugin
- #15605 Fix backward compat for semver checks in class®exp feat plugins (@nicolo-ribaudo)
v7.21.5

Spec Compliance

-
babel-generator
,babel-parser
,babel-types
-
#15539 fix: Remove
mixins
andimplements
forDeclareInterface
andInterfaceDeclaration
(@liuxingbaoyu)
-
#15539 fix: Remove

Bug Fix

-
babel-core
,babel-generator
,babel-plugin-transform-modules-commonjs
,babel-plugin-transform-react-jsx
-
#15515 fix:
)
position withcreateParenthesizedExpressions
(@liuxingbaoyu)
-
#15515 fix:
-
babel-preset-env

Polish

-
babel-types
- #15546 Improve the layout of generated validators (@liuxingbaoyu)
-
babel-core
-
#15535 Use
lt
instead oflte
to check TS version for .cts config (@nicolo-ribaudo)
-
#15535 Use

Internal

-
babel-core
-
#15575 Use synchronous
import.meta.resolve
(@nicolo-ribaudo)
-
#15575 Use synchronous
-
babel-helper-fixtures
,babel-preset-typescript
-
babel-helper-create-class-features-plugin
,babel-helper-create-regexp-features-plugin
-
#15548 Use
semver
package to compare versions (@nicolo-ribaudo)
-
#15548 Use
v7.21.4

Bug Fix

-
babel-core
,babel-helper-module-imports
,babel-preset-typescript
-
#15478 Fix support for
import/export
in.cts
files (@liuxingbaoyu)
-
#15478 Fix support for
-
babel-generator

Polish

-
babel-helper-create-class-features-plugin
,babel-plugin-proposal-class-properties
,babel-plugin-transform-typescript
,babel-traverse
- #15427 Fix moving comments of removed nodes (@nicolo-ribaudo)

Internal

- Other
-
babel-parser
-
babel-code-frame
,babel-highlight
v7.21.3

Spec Compliance


Bug Fix

-
babel-parser
-
babel-plugin-transform-typescript
-
#15489 Register
var
decls generated byimport ... =
TS transform (@amoeller) -
#15494 fix: Consider
export { type foo }
as type-only usage (@magic-akari)
-
#15489 Register

Polish

-
babel-traverse
,babel-types
-
#15484 Skip node deprecation warnings when used by an old
@babel
package (@nicolo-ribaudo)
-
#15484 Skip node deprecation warnings when used by an old
-
babel-generator
-
#15480 chore: Improve
jsonCompatibleStrings
deprecation (@liuxingbaoyu)
-
#15480 chore: Improve

Internal


Output optimization

-
babel-plugin-transform-typescript
,babel-preset-typescript
- #15467 Optimize TS enums output (@liuxingbaoyu)
v7.21.0

New Feature

-
babel-core
,babel-helper-create-class-features-plugin
,babel-plugin-proposal-class-properties
,babel-plugin-proposal-private-methods
,babel-plugin-proposal-private-property-in-object
-
#15435 feat: Implement
privateFieldsAsSymbols
assumption for classes (@fwienber)
-
#15435 feat: Implement
-
babel-helper-create-regexp-features-plugin
,babel-plugin-proposal-regexp-modifiers
,babel-standalone
- #15226 feat: Support regexp modifiers proposal (@liuxingbaoyu)
-
babel-cli
,babel-core
,babel-generator
,babel-plugin-transform-destructuring
,babel-plugin-transform-modules-commonjs
,babel-plugin-transform-react-jsx
,babel-traverse
- #15022 feat: Generate sourcemaps of friendly call frames (@liuxingbaoyu)
-
babel-parser
,babel-types
-
#15384 [ts] Support
const
modifier in type parameters (@nicolo-ribaudo)
-
#15384 [ts] Support
-
babel-generator
,babel-helpers
,babel-parser
,babel-plugin-proposal-decorators
,babel-plugin-syntax-decorators
,babel-runtime-corejs2
,babel-runtime-corejs3
,babel-runtime
-
#15405 Implement decorators as presented at
2023-01
TC39 meeting (@nicolo-ribaudo)
-
#15405 Implement decorators as presented at
-
babel-parser
-
#15114 Parser option to allow
new.target
outside functions (@overlookmotel) -
#15320 Add
annexb: false
parser option to disable Annex B (@nicolo-ribaudo)
-
#15114 Parser option to allow
-
babel-core
-
#15283 feat: Support
.cts
as configuration file (@liuxingbaoyu)
-
#15283 feat: Support
-
babel-generator
,babel-parser
,babel-plugin-transform-typescript
-
#15381 [ts] Support
export type * from
(@nicolo-ribaudo)
-
#15381 [ts] Support

Bug Fix

-
babel-plugin-transform-typescript
- #15379 [ts5.0] Better inlining of constants in enums (@liuxingbaoyu)
-
babel-core
- #15366 handling circular/shared structures in deep-clone (@azizghuloum)
-
babel-helper-create-class-features-plugin
,babel-plugin-proposal-class-properties
,babel-plugin-proposal-class-static-block
,babel-plugin-proposal-private-methods
,babel-plugin-transform-classes
,babel-plugin-transform-new-target
-
babel-parser
,babel-plugin-transform-flow-comments
,babel-plugin-transform-flow-strip-types
,babel-types
- #15414 [ts] Fix restrictions for optional parameters (@nicolo-ribaudo)

Polish


Internal

-
babel-core
-
#15137 Improve CJS compat with ESM-based
@babel/core
(@nicolo-ribaudo)
-
#15137 Improve CJS compat with ESM-based

Output optimization

-
babel-plugin-transform-typescript
- #15418 [ts] Handle exponentiation operator in constant folding (@ehoogeveen-medweb)
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.
Merge request reports
Activity
Please register or sign in to reply