@babel/highlight
7.25.9 · 22 Oct 2024MIT29.1M / weekRepositoryHomepagenpmAtom feed
7.25.9 is the newest release of 7.x.
In short
6 new2 fixed4 changed40 internal
Release note
:eyeglasses: Spec Compliance
babel-parserDisallow "let" as name at lexical bindings (@g-plane)
:rocket: New Feature
babel-parserBigInt type for Flow (@tanhauhau)
Implement f# pipeline in parser (@mAAdhaTTah)
[legacy decorators] Allow decorating generator methods (@nicolo-ribaudo)
[@babel/parser] Add "allowUndeclaredExports" option (@nicolo-ribaudo)
babel-plugin-proposal-dynamic-import,babel-preset-env-standalone,babel-preset-envAdd @babel/plugin-proposal-dynamic-import to @babel/preset-env (@nicolo-ribaudo)
babel-plugin-proposal-dynamic-import,babel-plugin-transform-modules-amd,babel-plugin-transform-modules-commonjs,babel-plugin-transform-modules-systemjsCreate @babel/plugin-proposal-dynamic-import (@nicolo-ribaudo)
babel-plugin-proposal-pipeline-operator,babel-plugin-syntax-pipeline-operatorTransform for F# Pipeline (@thiagoarrais)
babel-plugin-transform-typescript,babel-typesImplement TypeScript namespace support (@Wolvereness)
:bug: Bug Fix
babel-plugin-proposal-do-expressions,babel-traversefix await and yield for do expression (@tanhauhau)
babel-helpers,babel-plugin-transform-react-constant-elementsAdded es3 backward compatibility for react helper code (@sormy)
babel-preset-envBump compat-table and updating preset-env mappings (@existentialism)
Allow
defaultsquery in preset-env (@existentialism)
babel-parserfix import typeof in declare module (@tanhauhau)
flow - allow type parameter defaults in function declarations (@tanhauhau)
babel-typesfix exportKind declaration in babel-types (@zxbodya)
babel-nodePrevents exception on PnP (@arcanis)
babel-generatorFix printer for explicitly inexact Flow types (@mrtnzlml)
babel-plugin-transform-typescriptUse scope for typescript export removals (@Wolvereness)
fix(typescript): erase default export if exporting a TS type (@airato)
babel-helper-create-class-features-plugin,babel-plugin-proposal-class-properties,babel-traverseFixed computed keys for class expression (@tanhauhau)
babel-helpers,babel-plugin-proposal-object-rest-spread,babel-preset-envRetry to fix object spread helper compatibility (@saschanaz)
babel-plugin-transform-destructuringfix destructuring rest with template literal (@tanhauhau)
babel-helper-create-class-features-plugin,babel-plugin-transform-typescriptUse
injectInitializationto generate ts parameter properties (@nicolo-ribaudo)
:nail_care: Polish
babel-coreFix incorrect usage of $o instead of %o in debug (@ChlorideCull)
babel-helpersSimplify the helpers for classPrivateField{Get,Set} (@arv)
babel-plugin-transform-typescriptRefactor isImportTypeOnly helper function (@Andarist)
:memo: Documentation
babel-plugin-proposal-partial-application,babel-plugin-syntax-partial-applicationdocs: update readmes (@xtuc)