This PR contains the following updates:
Release Notes
babel/babel (@​babel/types)
v7.26.0
🚀 New Feature
babel-core,babel-generator,babel-parser,babel-plugin-syntax-import-assertions,babel-plugin-syntax-import-attributes,babel-preset-env,babel-standalone,babel-types- #16850 Enable import attributes parsing by default (@nicolo-ribaudo)
babel-core- #16862 feat: support async plugin's pre/post (@timofei-iatsenko)
babel-compat-data,babel-plugin-proposal-regexp-modifiers,babel-plugin-transform-regexp-modifiers,babel-preset-env,babel-standalonebabel-parser- #16849 feat: add
startIndexparser option (@DylanPiercey)
- #16849 feat: add
babel-generator,babel-parser,babel-plugin-syntax-flow- #16841 Always enable parsing of Flow enums (@nicolo-ribaudo)
babel-helpers,babel-preset-typescript,babel-runtime-corejs3- #16794 Support
import()inrewriteImportExtensions(@liuxingbaoyu)
- #16794 Support
babel-generator,babel-parser- #16708 Add experimental format-preserving mode to
@babel/generator(@nicolo-ribaudo)
- #16708 Add experimental format-preserving mode to
🐛 Bug Fix
babel-core- #16928 Workaround Node.js bug for parallel loading of TLA modules (@nicolo-ribaudo)
- #16926 Fix loading of modules with TLA in Node.js 23 (@nicolo-ribaudo)
:nail_care: Polish
babel-plugin-proposal-json-modules,babel-plugin-transform-json-modules,babel-standalone- #16924 Rename
proposal-json-modulestotransform-json-modules(@nicolo-ribaudo)
- #16924 Rename
:house: Internal
babel-code-frame,babel-highlight- #16896 Inline
@babel/highlightin@babel/code-frame(@nicolo-ribaudo)
- #16896 Inline
babel-generator,babel-parser,babel-types- #16732 Add
kindtoTSModuleDeclaration(@liuxingbaoyu)
- #16732 Add
:running_woman: Performance
babel-helper-module-transforms,babel-plugin-transform-modules-commonjs- #16882 perf: Improve module transforms (@liuxingbaoyu)
v7.25.9
🐛 Bug Fix
babel-parser,babel-template,babel-types- #16905 fix: Keep type annotations in
syntacticPlaceholdersmode (@liuxingbaoyu)
- #16905 fix: Keep type annotations in
babel-helper-compilation-targets,babel-preset-env- Other
- #16884 Analyze
ClassAccessorPropertyto prevent theno-undefrule (@victorenator)
- #16884 Analyze
:house: Internal
:running_woman: Performance
babel-parser,babel-types- #16918 perf: Make
VISITOR_KEYSetc. faster to access (@liuxingbaoyu)
- #16918 perf: Make
v7.25.8
🐛 Bug Fix
babel-core- #16888 Restore public API of
resolvePlugin/resolvePreset(@nicolo-ribaudo)
- #16888 Restore public API of
:house: Internal
babel-parser,babel-plugin-proposal-async-do-expressions,babel-plugin-proposal-destructuring-private,babel-plugin-proposal-do-expressions,babel-plugin-proposal-explicit-resource-management,babel-plugin-proposal-export-default-from,babel-plugin-proposal-function-bind,babel-plugin-proposal-function-sent,babel-plugin-proposal-import-defer,babel-plugin-proposal-partial-application,babel-plugin-proposal-throw-expressions,babel-plugin-transform-async-generator-functions,babel-plugin-transform-class-static-block,babel-plugin-transform-dynamic-import,babel-plugin-transform-export-namespace-from,babel-plugin-transform-json-strings,babel-plugin-transform-logical-assignment-operators,babel-plugin-transform-nullish-coalescing-operator,babel-plugin-transform-numeric-separator,babel-plugin-transform-object-rest-spread,babel-plugin-transform-optional-catch-binding,babel-plugin-transform-optional-chaining,babel-plugin-transform-private-property-in-object,babel-preset-env- #16824 Inline one-line syntax plugins (@nicolo-ribaudo)
v7.25.7
🐛 Bug Fix
babel-helper-validator-identifierbabel-traverse- #16814 fix: issue with node path keys updated on unrelated paths (@DylanPiercey)
babel-plugin-transform-classes- #16797 Use an inclusion rather than exclusion list for
super()check (@nicolo-ribaudo)
- #16797 Use an inclusion rather than exclusion list for
babel-generator- #16788 Fix printing of TS
inferin compact mode (@nicolo-ribaudo) - #16785 Print TS type annotations for destructuring in assignment pattern (@nicolo-ribaudo)
- #16778 Respect
[no LineTerminator here]after nodes (@nicolo-ribaudo)
- #16788 Fix printing of TS
:nail_care: Polish
babel-types- #16852 Add deprecated JSDOC for fields (@liuxingbaoyu)
:house: Internal
babel-core- #16820 Allow sync loading of ESM when
--experimental-require-module(@nicolo-ribaudo)
- #16820 Allow sync loading of ESM when
babel-helper-compilation-targets,babel-helper-plugin-utils,babel-preset-envbabel-plugin-proposal-destructuring-private,babel-plugin-syntax-decimal,babel-plugin-syntax-import-reflection,babel-standalone- #16809 Archive syntax-import-reflection and syntax-decimal (@nicolo-ribaudo)
babel-generator- #16779 Simplify logic for
[no LineTerminator here]before nodes (@nicolo-ribaudo)
- #16779 Simplify logic for
:running_woman: Performance
babel-plugin-transform-typescript- #16875 perf: Avoid extra cloning of namespaces (@liuxingbaoyu)
babel-types- #16842 perf: Improve @babel/types builders (@liuxingbaoyu)
- #16828 Only access
BABEL_TYPES_8_BREAKINGat startup (@nicolo-ribaudo)
v7.25.6
🐛 Bug Fix
babel-generator- #16783 Properly print inner comments in TS array types (@nicolo-ribaudo)
- #16775 fix: jsx whitespace is not properly preserved when retainLines (@liuxingbaoyu)
babel-traverse- #16727 fix:
path.getAssignmentIdentifiersmay beundefined(@liuxingbaoyu)
- #16727 fix:
babel-parserbabel-helpers,babel-plugin-transform-optional-chaining,babel-runtime-corejs3- #16769 Only wrap functions in
superPropertyGethelper (@nicolo-ribaudo)
- #16769 Only wrap functions in
:nail_care: Polish
babel-generator,babel-plugin-transform-async-to-generator,babel-plugin-transform-block-scoping,babel-plugin-transform-class-properties,babel-plugin-transform-classes,babel-plugin-transform-duplicate-named-capturing-groups-regex,babel-plugin-transform-named-capturing-groups-regex,babel-plugin-transform-react-jsx-development,babel-plugin-transform-react-jsx,babel-plugin-transform-react-pure-annotations,babel-plugin-transform-regenerator,babel-plugin-transform-runtime,babel-preset-env- #16780 Do not enforce printing space between
(and comments (@nicolo-ribaudo)
- #16780 Do not enforce printing space between
babel-plugin-syntax-import-assertions,babel-plugin-syntax-import-attributes- #16781 Don't throw when enabling both syntax-import-{assertions,attributes} (@nicolo-ribaudo)
babel-generator- #16782 TS union/intersection nested in union does not need parens (@nicolo-ribaudo)
:house: Internal
babel-generator- #16777 Remove unused
parentparams in the generator (@nicolo-ribaudo)
- #16777 Remove unused
v7.25.4
🐛 Bug Fix
babel-traverse- #16756 fix: Skip computed key when renaming (@liuxingbaoyu)
babel-helper-create-class-features-plugin,babel-plugin-proposal-decorators- #16755 fix: Decorator 2018-09 may throw an exception (@liuxingbaoyu)
babel-types- #16710 Visit AST fields nodes according to their syntactical order (@nicolo-ribaudo)
babel-generator- #16709 Print semicolon after TS
export namespace as A(@nicolo-ribaudo)
- #16709 Print semicolon after TS
:nail_care: Polish
babel-generator,babel-plugin-proposal-decorators,babel-plugin-proposal-destructuring-private,babel-plugin-proposal-pipeline-operator,babel-plugin-transform-class-properties,babel-plugin-transform-destructuring,babel-plugin-transform-optional-chaining,babel-plugin-transform-private-methods,babel-plugin-transform-private-property-in-object,babel-plugin-transform-typescript,babel-runtime-corejs2,babel-runtime,babel-traverse- #16722 Avoid unnecessary parens around sequence expressions (@nicolo-ribaudo)
babel-generator,babel-plugin-transform-class-properties- #16714 Avoid unnecessary parens around exported arrow functions (@nicolo-ribaudo)
babel-generator,babel-plugin-proposal-decorators,babel-plugin-proposal-destructuring-private,babel-plugin-transform-object-rest-spread- #16712 Avoid printing unnecessary parens around object destructuring (@nicolo-ribaudo)
🔬 Output optimization
babel-generator- #16740 Avoid extra spaces between comments/regexps in compact mode (@nicolo-ribaudo)
v7.25.2
🐛 Bug Fix
babel-core,babel-traverse- #16695 Ensure that
requeueComputedKeyAndDecoratorsis available (@nicolo-ribaudo)
- #16695 Ensure that
v7.25.0
👓 Spec Compliance
babel-helpers,babel-plugin-proposal-explicit-resource-management,babel-runtime-corejs3babel-plugin-transform-typescript- #16602 Ensure enum members syntactically determinable to be strings do not get reverse mappings (@liuxingbaoyu)
🚀 New Feature
babel-helper-create-class-features-plugin,babel-helper-function-name,babel-helper-plugin-utils,babel-helper-wrap-function,babel-plugin-bugfix-safari-class-field-initializer-scope,babel-plugin-bugfix-safari-id-destructuring-collision-in-function-expression,babel-plugin-transform-classes,babel-plugin-transform-function-name,babel-preset-env,babel-traverse,babel-types- [#16658](https://redirect.github.com
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
- If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.