Closed mend-for-github-com[bot] closed 1 month ago
This PR contains the following updates:
7.4.3
7.14.5
By merging this PR, the below issues will be automatically resolved and closed:
This PR contains the following updates:
7.4.3
->7.14.5
By merging this PR, the below issues will be automatically resolved and closed:
Release Notes
babel/babel (@babel/preset-env)
### [`v7.14.5`](https://togithub.com/babel/babel/releases/tag/v7.14.5) [Compare Source](https://togithub.com/babel/babel/compare/v7.14.4...v7.14.5) #### v7.14.5 (2021-06-09) Thanks [@Eyoatam](https://togithub.com/Eyoatam), [@lightmare](https://togithub.com/lightmare), [@ota-meshi](https://togithub.com/ota-meshi), and [@tony-go](https://togithub.com/tony-go) for your first PRs! ##### :eyeglasses: Spec Compliance - `babel-plugin-proposal-do-expressions`, `babel-traverse` - [#13122](https://togithub.com/babel/babel/pull/13122) fix: hoist variable declaration within do block ([@JLHwung](https://togithub.com/JLHwung)) - `babel-parser` - [#13409](https://togithub.com/babel/babel/pull/13409) Relax import assertion key-is-type constraint ([@JLHwung](https://togithub.com/JLHwung)) ##### :bug: Bug Fix - `babel-parser` - [#13418](https://togithub.com/babel/babel/pull/13418) fix(parser): correctly parse record and tuple tokens ([@fedeci](https://togithub.com/fedeci)) - [#13410](https://togithub.com/babel/babel/pull/13410) fix: throw when `async()` call param is object with assignement ([@tony-go](https://togithub.com/tony-go)) - [#13396](https://togithub.com/babel/babel/pull/13396) Add support for d flag of regex literals in parser ([@ota-meshi](https://togithub.com/ota-meshi)) - `babel-helpers` - [#13404](https://togithub.com/babel/babel/pull/13404) fix generate-helpers failing in URL-encoded path ([@lightmare](https://togithub.com/lightmare)) ##### :house: Internal - `babel-helper-hoist-variables` - [#13442](https://togithub.com/babel/babel/pull/13442) Disallow dependency cycles ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-parser` - [#13440](https://togithub.com/babel/babel/pull/13440) update test fixtures ([@JLHwung](https://togithub.com/JLHwung)) - [#13431](https://togithub.com/babel/babel/pull/13431) Reduce `exprAllowed` usage ([@JLHwung](https://togithub.com/JLHwung)) - [#13422](https://togithub.com/babel/babel/pull/13422) fix(`@babel/parser`): fix tokenizer context update code ([@Eyoatam](https://togithub.com/Eyoatam)) - Other - [#13420](https://togithub.com/babel/babel/pull/13420) chore: specify [@babel/eslint-parser](https://togithub.com/babel/eslint-parser) deps ([@JLHwung](https://togithub.com/JLHwung)) - *Every package* - [#13363](https://togithub.com/babel/babel/pull/13363) chore: setup Yarn constraints ([@merceyz](https://togithub.com/merceyz)) ##### :running_woman: Performance - `babel-parser` - [#13408](https://togithub.com/babel/babel/pull/13408) Use set in parser scope ([@JLHwung](https://togithub.com/JLHwung)) - [#13386](https://togithub.com/babel/babel/pull/13386) Faster checkReservedWord ([@JLHwung](https://togithub.com/JLHwung)) - [#13406](https://togithub.com/babel/babel/pull/13406) Back parser state `exportedIdentifiers` by set ([@JLHwung](https://togithub.com/JLHwung)) ##### Committers: 9 - Daniel Tschinder ([@danez](https://togithub.com/danez)) - Eyoatam Tamirat ([@Eyoatam](https://togithub.com/Eyoatam)) - Federico Ciardi ([@fedeci](https://togithub.com/fedeci)) - Huáng Jùnliàng ([@JLHwung](https://togithub.com/JLHwung)) - Kristoffer K. ([@merceyz](https://togithub.com/merceyz)) - Nicolò Ribaudo ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - Tony Gorez ([@tony-go](https://togithub.com/tony-go)) - Yosuke Ota ([@ota-meshi](https://togithub.com/ota-meshi)) - [@lightmare](https://togithub.com/lightmare) ### [`v7.14.4`](https://togithub.com/babel/babel/releases/tag/v7.14.4) [Compare Source](https://togithub.com/babel/babel/compare/v7.14.2...v7.14.4) #### v7.14.4 (2021-05-28) Thanks [@alanorozco](https://togithub.com/alanorozco), [@devfservant](https://togithub.com/devfservant), [@merceyz](https://togithub.com/merceyz), [@mmorel-35](https://togithub.com/mmorel-35) (and [@renovate-bot](https://togithub.com/renovate-bot)! :robot:), [@sokra](https://togithub.com/sokra), and [@wbinnssmith](https://togithub.com/wbinnssmith) for your first PRs! ##### :eyeglasses: Spec Compliance - `babel-parser` - [#13377](https://togithub.com/babel/babel/pull/13377) disallow surrogate in the end of contextual name ([@JLHwung](https://togithub.com/JLHwung)) - [#13328](https://togithub.com/babel/babel/pull/13328) perf: minimize identifier lookahead when parsing let ([@JLHwung](https://togithub.com/JLHwung)) - `babel-plugin-transform-typescript` - [#13314](https://togithub.com/babel/babel/pull/13314) \[ts] Insert `export {}` when necessary to imply ESM ([@wbinnssmith](https://togithub.com/wbinnssmith)) ##### :bug: Bug Fix - `babel-plugin-transform-typescript` - [#13381](https://togithub.com/babel/babel/pull/13381) \[ts] Remove override modifier ([@sosukesuzuki](https://togithub.com/sosukesuzuki)) - Other - [#13338](https://togithub.com/babel/babel/pull/13338) Fix error when parsing ignored files with `@babel/eslint-parser` ([@devfservant](https://togithub.com/devfservant)) - `babel-parser` - [#13333](https://togithub.com/babel/babel/pull/13333) refactor: add parse\*Literal parser routines ([@JLHwung](https://togithub.com/JLHwung)) ##### :running_woman: Performance - `babel-plugin-transform-block-scoping` - [#13376](https://togithub.com/babel/babel/pull/13376) Improve performance ([@sokra](https://togithub.com/sokra)) - `babel-parser` - [#13341](https://togithub.com/babel/babel/pull/13341) Faster tokenizer lookahead ([@JLHwung](https://togithub.com/JLHwung)) - [#13328](https://togithub.com/babel/babel/pull/13328) perf: minimize identifier lookahead when parsing let ([@JLHwung](https://togithub.com/JLHwung)) ##### :microscope: Output optimization - `babel-plugin-proposal-object-rest-spread`, `babel-plugin-transform-block-scoping`, `babel-plugin-transform-destructuring`, `babel-plugin-transform-react-constant-elements`, `babel-preset-env` - [#13384](https://togithub.com/babel/babel/pull/13384) Hoist omitted keys from object spread operator ([@alanorozco](https://togithub.com/alanorozco)) ##### Committers: 12 - Alan Orozco ([@alanorozco](https://togithub.com/alanorozco)) - Babel Bot ([@babel-bot](https://togithub.com/babel-bot)) - Bogdan Savluk ([@zxbodya](https://togithub.com/zxbodya)) - Daniel Tschinder ([@danez](https://togithub.com/danez)) - Huáng Jùnliàng ([@JLHwung](https://togithub.com/JLHwung)) - Kristoffer K. ([@merceyz](https://togithub.com/merceyz)) - Nicolò Ribaudo ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - Sosuke Suzuki ([@sosukesuzuki](https://togithub.com/sosukesuzuki)) - Tobias Koppers ([@sokra](https://togithub.com/sokra)) - Will Binns-Smith ([@wbinnssmith](https://togithub.com/wbinnssmith)) - [@devfservant](https://togithub.com/devfservant) - fisker Cheung ([@fisker](https://togithub.com/fisker)) ### [`v7.14.2`](https://togithub.com/babel/babel/releases/tag/v7.14.2) [Compare Source](https://togithub.com/babel/babel/compare/v7.14.1...v7.14.2) #### v7.14.2 (2021-05-12) Thanks [@liuyenwei](https://togithub.com/liuyenwei), [@quickgiant](https://togithub.com/quickgiant), [@serut](https://togithub.com/serut), and [@trinangkur](https://togithub.com/trinangkur) for your first PRs! ##### :bug: Bug Fix - `babel-node` - [#13295](https://togithub.com/babel/babel/pull/13295) Fix: Only create `@babel/node` IPC channel when needed ([@quickgiant](https://togithub.com/quickgiant)) - `babel-parser` - [#13284](https://togithub.com/babel/babel/pull/13284) Parse attributes of import expression with estree plugin ([@sosukesuzuki](https://togithub.com/sosukesuzuki)) - [#13261](https://togithub.com/babel/babel/pull/13261) Fix invalid identifier name on unfinished escape ([@JLHwung](https://togithub.com/JLHwung)) - `babel-types` - [#13275](https://togithub.com/babel/babel/pull/13275) Support objects from other contexts in `t.valueToNode` ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - Other - [#13274](https://togithub.com/babel/babel/pull/13274) \[eslint] Don't crash on multiple `@babel/parser` copies ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-generator` - [#13269](https://togithub.com/babel/babel/pull/13269) Print parentheses around identifier `let` where necessary ([@Zalathar](https://togithub.com/Zalathar)) ##### :nail_care: Polish - `babel-helper-module-transforms`, `babel-plugin-transform-modules-commonjs` - [#13296](https://togithub.com/babel/babel/pull/13296) Better error for `export * as ns` without the correct plugin ([@JLHwung](https://togithub.com/JLHwung)) ##### :memo: Documentation - [#13253](https://togithub.com/babel/babel/pull/13253) \[DOC] Add missing Monorepo configuration ([@serut](https://togithub.com/serut)) ##### :house: Internal - Other - [#13289](https://togithub.com/babel/babel/pull/13289) Update lodash version for fixing security vulnerability ([@trinangkur](https://togithub.com/trinangkur)) - `babel-types` - [#13264](https://togithub.com/babel/babel/pull/13264) \[babel-types] Update `matchesPattern` to account for `this` ([@liuyenwei](https://togithub.com/liuyenwei)) ##### :running_woman: Performance - `babel-parser` - [#13262](https://togithub.com/babel/babel/pull/13262) Faster identifier tokenizing ([@JLHwung](https://togithub.com/JLHwung)) - [#13256](https://togithub.com/babel/babel/pull/13256) Refactor private name tokenizing ([@JLHwung](https://togithub.com/JLHwung)) ##### Committers: 9 - Babel Bot ([@babel-bot](https://togithub.com/babel-bot)) - Clark Jacobsohn ([@quickgiant](https://togithub.com/quickgiant)) - Huáng Jùnliàng ([@JLHwung](https://togithub.com/JLHwung)) - Nicolò Ribaudo ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - Sosuke Suzuki ([@sosukesuzuki](https://togithub.com/sosukesuzuki)) - Stuart Cook ([@Zalathar](https://togithub.com/Zalathar)) - Trinangkur Chatterjee ([@trinangkur](https://togithub.com/trinangkur)) - Yen-Wei Liu ([@liuyenwei](https://togithub.com/liuyenwei)) - [@serut](https://togithub.com/serut) ### [`v7.14.1`](https://togithub.com/babel/babel/releases/tag/v7.14.1) [Compare Source](https://togithub.com/babel/babel/compare/v7.14.0...v7.14.1) #### v7.14.1 (2021-05-04) Thanks [@aancer-rca](https://togithub.com/aancer-rca) for your first PR to Babel. ##### :bug: Bug Fix - `babel-parser` - [#13243](https://togithub.com/babel/babel/pull/13243) Parse static blocks with typescript plugin ([@sosukesuzuki](https://togithub.com/sosukesuzuki)) - `babel-plugin-transform-block-scoping` - [#13248](https://togithub.com/babel/babel/pull/13248) Fix plugin-transform-block-scoping const violations ([@overlookmotel](https://togithub.com/overlookmotel)) - `babel-generator`, `babel-parser` - [#13244](https://togithub.com/babel/babel/pull/13244) Parse `for await (async of ...)` ([@Zalathar](https://togithub.com/Zalathar)) - `babel-helper-create-class-features-plugin` - [#13237](https://togithub.com/babel/babel/pull/13237) fix: Typo in `@babel/helper-create-class-features-plugin` ([@aancer-rca](https://togithub.com/aancer-rca)) ##### :memo: Documentation - `babel-types` - [#13151](https://togithub.com/babel/babel/pull/13151) Add alias docs for [@babel/types](https://togithub.com/babel/types) ([@JLHwung](https://togithub.com/JLHwung)) ##### :house: Internal - `babel-parser` - [#13242](https://togithub.com/babel/babel/pull/13242) Don't use `"composite": true` in tsc (until it supports cycles) ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - [#13241](https://togithub.com/babel/babel/pull/13241) chore: remove duplicated test262 parser tests ([@JLHwung](https://togithub.com/JLHwung)) - `babel-plugin-proposal-export-namespace-from`, `babel-plugin-syntax-module-string-names`, `babel-plugin-transform-modules-amd`, `babel-plugin-transform-modules-commonjs`, `babel-plugin-transform-modules-systemjs`, `babel-plugin-transform-modules-umd` - [#13246](https://togithub.com/babel/babel/pull/13246) Archive `@babel/plugin-syntax-module-string-names` ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-core`, `babel-plugin-proposal-class-properties`, `babel-plugin-proposal-class-static-block`, `babel-plugin-proposal-private-methods`, `babel-plugin-proposal-private-property-in-object`, `babel-plugin-syntax-class-properties`, `babel-plugin-transform-flow-comments`, `babel-plugin-transform-flow-strip-types`, `babel-plugin-transform-modules-commonjs`, `babel-plugin-transform-typescript`, `babel-plugin-transform-unicode-escapes`, `babel-preset-env`, `babel-standalone` - [#13232](https://togithub.com/babel/babel/pull/13232) Archive `@babel/plugin-syntax-class-properties` ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ##### Committers: 7 - Babel Bot ([@babel-bot](https://togithub.com/babel-bot)) - Huáng Jùnliàng ([@JLHwung](https://togithub.com/JLHwung)) - Nicolò Ribaudo ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - Sosuke Suzuki ([@sosukesuzuki](https://togithub.com/sosukesuzuki)) - Stuart Cook ([@Zalathar](https://togithub.com/Zalathar)) - [@aancer-rca](https://togithub.com/aancer-rca) - [@overlookmotel](https://togithub.com/overlookmotel) ### [`v7.14.0`](https://togithub.com/babel/babel/releases/tag/v7.14.0) [Compare Source](https://togithub.com/babel/babel/compare/v7.13.15...v7.14.0) #### v7.14.0 (2021-04-29) ##### :eyeglasses: Spec Compliance - `babel-generator`, `babel-parser` - [#13209](https://togithub.com/babel/babel/pull/13209) \[ts] Enforce order for the `override` modifier ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ##### :rocket: New Feature - `babel-plugin-proposal-async-do-expressions` - [#13117](https://togithub.com/babel/babel/pull/13117) Implement async-do-expressions transform ([@JLHwung](https://togithub.com/JLHwung)) - `babel-core`, `babel-generator`, `babel-parser`, `babel-plugin-proposal-do-expressions`, `babel-plugin-syntax-async-do-expressions`, `babel-types` - [#13043](https://togithub.com/babel/babel/pull/13043) Parse async do expressions ([@JLHwung](https://togithub.com/JLHwung)) - `babel-preset-env` - [#13091](https://togithub.com/babel/babel/pull/13091) Enable class fields & private methods by default ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-compat-data`, `babel-preset-env` - [#13176](https://togithub.com/babel/babel/pull/13176) Add private brand checks to `shippedProposals` ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - [#13114](https://togithub.com/babel/babel/pull/13114) Add class static blocks to `preset-env`'s `shippedProposals` ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-helper-create-class-features-plugin`, `babel-plugin-proposal-private-property-in-object`, `babel-plugin-syntax-private-property-in-object` - [#13172](https://togithub.com/babel/babel/pull/13172) Allow compiling `#foo in obj` without compiling private fields ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-parser` - [#13113](https://togithub.com/babel/babel/pull/13113) babel-parser(ts): Add new plugin option `dts: boolean` ([@sosukesuzuki](https://togithub.com/sosukesuzuki)) - [#13175](https://togithub.com/babel/babel/pull/13175) Materialize the class features in `@babel/parser`. ([@JLHwung](https://togithub.com/JLHwung)) - [#13033](https://togithub.com/babel/babel/pull/13033) Introduce parser error codes ([@sosukesuzuki](https://togithub.com/sosukesuzuki)) - `babel-helper-module-transforms`, `babel-helpers`, `babel-plugin-transform-modules-amd`, `babel-plugin-transform-modules-commonjs`, `babel-plugin-transform-modules-umd` - [#12838](https://togithub.com/babel/babel/pull/12838) Implement `importInterop: "node"` option for module transforms ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-generator`, `babel-parser`, `babel-traverse`, `babel-types` - [#13224](https://togithub.com/babel/babel/pull/13224) Support parsing Flow's Optional Indexed Access Types ([@gkz](https://togithub.com/gkz)) - [#13053](https://togithub.com/babel/babel/pull/13053) Support parsing Flow's Indexed Access Types ([@sosukesuzuki](https://togithub.com/sosukesuzuki)) - `babel-parser`, `babel-traverse` - [#13195](https://togithub.com/babel/babel/pull/13195) Parse string export names by default (`moduleStringNames`) ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-generator`, `babel-parser`, `babel-types` - [#13089](https://togithub.com/babel/babel/pull/13089) Support TypeScript 4.3 get/set type members ([@sosukesuzuki](https://togithub.com/sosukesuzuki)) - [#13097](https://togithub.com/babel/babel/pull/13097) support TS 4.3 `override` syntax in class ([@g-plane](https://togithub.com/g-plane)) - [#13096](https://togithub.com/babel/babel/pull/13096) support TS 4.3 static index signature in class ([@g-plane](https://togithub.com/g-plane)) ##### :bug: Bug Fix - `babel-generator` - [#13208](https://togithub.com/babel/babel/pull/13208) Prevent ForOfStatement from printing the forbidden sequence "for ( async of" ([@Zalathar](https://togithub.com/Zalathar)) - [#13169](https://togithub.com/babel/babel/pull/13169) fix: don't deduplicate comments with same start index ([@gzzhanghao](https://togithub.com/gzzhanghao)) - `babel-generator`, `babel-plugin-proposal-object-rest-spread`, `babel-preset-env` - [#13204](https://togithub.com/babel/babel/pull/13204) Simplify the special-case printing of single-param arrow functions ([@Zalathar](https://togithub.com/Zalathar)) - `babel-core` - [#13182](https://togithub.com/babel/babel/pull/13182) fix: Don't load browserslist in block-hoist-plugin ([@MichaReiser](https://togithub.com/MichaReiser)) ##### :nail_care: Polish - `babel-cli`, `babel-core`, `babel-parser`, `babel-plugin-transform-classes`, `babel-preset-env`, `babel-preset-typescript` - [#13130](https://togithub.com/babel/babel/pull/13130) babel-parser: Add new internal ESLint rule to consistent error messages ([@sosukesuzuki](https://togithub.com/sosukesuzuki)) ##### :house: Internal - `babel-parser` - [#13227](https://togithub.com/babel/babel/pull/13227) Add `runFixtureTestsWithoutExactASTMatch` in parser test runner ([@JLHwung](https://togithub.com/JLHwung)) - [#13163](https://togithub.com/babel/babel/pull/13163) babel-parser: Use `this.isThisParam` ([@sosukesuzuki](https://togithub.com/sosukesuzuki)) - [#13200](https://togithub.com/babel/babel/pull/13200) refactor: avoid parsing logic on locations ([@JLHwung](https://togithub.com/JLHwung)) - `babel-helpers`, `babel-preset-env`, `babel-runtime-corejs2`, `babel-runtime-corejs3`, `babel-runtime` - [#13190](https://togithub.com/babel/babel/pull/13190) Allow putting helpers in individual files ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - Other - [#13183](https://togithub.com/babel/babel/pull/13183) chore: run coverage-test against node 16 ([@JLHwung](https://togithub.com/JLHwung)) ##### :running_woman: Performance - `babel-core` - [#13090](https://togithub.com/babel/babel/pull/13090) perf(core): check files before interacting with them ([@FauxFaux](https://togithub.com/FauxFaux)) - [#13223](https://togithub.com/babel/babel/pull/13223) perf: avoid loadFullConfig when creating block hoist plugin ([@JLHwung](https://togithub.com/JLHwung)) - `babel-helper-validator-identifier` - [#13211](https://togithub.com/babel/babel/pull/13211) Improve `isIdentifierName` performance ([@JLHwung](https://togithub.com/JLHwung)) ##### :microscope: Output optimization - `babel-helper-create-class-features-plugin`, `babel-plugin-bugfix-v8-spread-parameters-in-optional-chaining`, `babel-plugin-proposal-async-generator-functions`, `babel-plugin-proposal-class-properties`, `babel-plugin-proposal-class-static-block`, `babel-plugin-proposal-private-methods`, `babel-plugin-proposal-private-property-in-object`, `babel-preset-env` - [#13194](https://togithub.com/babel/babel/pull/13194) Mark `WeakMap`s of private fields as pure ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-helpers`, `babel-runtime-corejs2`, `babel-runtime-corejs3`, `babel-runtime` - [#13201](https://togithub.com/babel/babel/pull/13201) Simplify the `wrapRegExp` helper for named groups ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ##### Committers: 11 - Babel Bot ([@babel-bot](https://togithub.com/babel-bot)) - Chris West ([@FauxFaux](https://togithub.com/FauxFaux)) - George Zahariev ([@gkz](https://togithub.com/gkz)) - Huáng Jùnliàng ([@JLHwung](https://togithub.com/JLHwung)) - Jason ([@gzzhanghao](https://togithub.com/gzzhanghao)) - Micha Reiser ([@MichaReiser](https://togithub.com/MichaReiser)) - Nicolò Ribaudo ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - Pig Fang ([@g-plane](https://togithub.com/g-plane)) - Simon Lydell ([@lydell](https://togithub.com/lydell)) - Sosuke Suzuki ([@sosukesuzuki](https://togithub.com/sosukesuzuki)) - Stuart Cook ([@Zalathar](https://togithub.com/Zalathar)) ### [`v7.13.15`](https://togithub.com/babel/babel/releases/tag/v7.13.15) [Compare Source](https://togithub.com/babel/babel/compare/v7.13.12...v7.13.15) #### v7.13.15 (2021-04-08) ##### :eyeglasses: Spec Compliance - `babel-parser` - [#13099](https://togithub.com/babel/babel/pull/13099) fix: raise `SyntaxError` for unparenthesized assert and assign ([@fedeci](https://togithub.com/fedeci)) - [#13049](https://togithub.com/babel/babel/pull/13049) fix: the LHS in for-of loop should not start with let ([@JLHwung](https://togithub.com/JLHwung)) ##### :bug: Bug Fix - `babel-parser` - [#13101](https://togithub.com/babel/babel/pull/13101) fix(ts): allow trailing comma after rest parameter in `TSDeclareFunction` ([@fedeci](https://togithub.com/fedeci)) - `babel-plugin-proposal-do-expressions`, `babel-traverse` - [#10101](https://togithub.com/babel/babel/pull/10101) yield for do expression ([@tanhauhau](https://togithub.com/tanhauhau)) - [#13030](https://togithub.com/babel/babel/pull/13030) Refactor switch support in `NodePath#getCompletionRecords` ([@JLHwung](https://togithub.com/JLHwung)) - Other - [#13106](https://togithub.com/babel/babel/pull/13106) fix: do not filter report from functions within class elements ([@JLHwung](https://togithub.com/JLHwung)) - `babel-compat-data`, `babel-preset-env` - [#13075](https://togithub.com/babel/babel/pull/13075) Compile classes when spread is unsupported ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ##### :nail_care: Polish - `babel-preset-env` - [#13115](https://togithub.com/babel/babel/pull/13115) \[preset-env - debug] Print targets that need each plugin ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ##### :memo: Documentation - [#13081](https://togithub.com/babel/babel/pull/13081) Update CoC contacts ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ##### :house: Internal - `babel-plugin-transform-regenerator`, `babel-standalone` - [#13086](https://togithub.com/babel/babel/pull/13086) Align `regenerator-transform` import with native ESM ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-helper-transform-fixture-test-runner` - [#13087](https://togithub.com/babel/babel/pull/13087) Do not load root `babel.config.js` in tests ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ##### :running_woman: Performance - `babel-preset-env` - [#13076](https://togithub.com/babel/babel/pull/13076) perf: lazy load preset-env plugins ([@JLHwung](https://togithub.com/JLHwung)) ##### Committers: 5 - Bogdan Savluk ([@zxbodya](https://togithub.com/zxbodya)) - Federico Ciardi ([@fedeci](https://togithub.com/fedeci)) - Huáng Jùnliàng ([@JLHwung](https://togithub.com/JLHwung)) - Nicolò Ribaudo ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - Tan Li Hau ([@tanhauhau](https://togithub.com/tanhauhau)) ### [`v7.13.12`](https://togithub.com/babel/babel/releases/tag/v7.13.12) [Compare Source](https://togithub.com/babel/babel/compare/v7.13.10...v7.13.12) #### v7.13.12 (2021-03-22) Thanks [@hajnalbendeguz](https://togithub.com/hajnalbendeguz) for your first PR! ##### :bug: Bug Fix - `babel-standalone` - [#13017](https://togithub.com/babel/babel/pull/13017) Fix importing polyfill plugins in the Rollup bundle ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-plugin-bugfix-v8-spread-parameters-in-optional-chaining`, `babel-plugin-proposal-optional-chaining`, `babel-preset-env` - [#13009](https://togithub.com/babel/babel/pull/13009) Implement @babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining ([@JLHwung](https://togithub.com/JLHwung)) - `babel-types` - [#12971](https://togithub.com/babel/babel/pull/12971) fix: do not throw when creating type annotation based on bigint ([@JLHwung](https://togithub.com/JLHwung)) - `babel-compat-data`, `babel-preset-env` - [#13008](https://togithub.com/babel/babel/pull/13008) Update compat data ([@JLHwung](https://togithub.com/JLHwung)) ##### :nail_care: Polish - `babel-plugin-transform-react-jsx` - [#12983](https://togithub.com/babel/babel/pull/12983) Improve error message when not providing a value for JSX key ([@hajnalbendeguz](https://togithub.com/hajnalbendeguz)) ##### :house: Internal - `babel-compat-data` - [#13024](https://togithub.com/babel/babel/pull/13024) Remove lodash from babel-compat-data ([@jridgewell](https://togithub.com/jridgewell)) - `babel-node` - [#13025](https://togithub.com/babel/babel/pull/13025) Remove `lodash` from `@babel/node` tests ([@jridgewell](https://togithub.com/jridgewell)) - `babel-helper-module-transforms` - [#13022](https://togithub.com/babel/babel/pull/13022) Remove `lodash/chunk` ([@jridgewell](https://togithub.com/jridgewell)) - `babel-plugin-transform-proto-to-assign` - [#13026](https://togithub.com/babel/babel/pull/13026) Remove lodash/pull ([@jridgewell](https://togithub.com/jridgewell)) - `babel-helper-define-map` - [#13023](https://togithub.com/babel/babel/pull/13023) Remove lodash/has ([@jridgewell](https://togithub.com/jridgewell)) ##### Committers: 6 - Bogdan Savluk ([@zxbodya](https://togithub.com/zxbodya)) - Huáng Jùnliàng ([@JLHwung](https://togithub.com/JLHwung)) - Justin Ridgewell ([@jridgewell](https://togithub.com/jridgewell)) - Nicolò Ribaudo ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - Sosuke Suzuki ([@sosukesuzuki](https://togithub.com/sosukesuzuki)) - [@hajnalbendeguz](https://togithub.com/hajnalbendeguz) ### [`v7.13.10`](https://togithub.com/babel/babel/releases/tag/v7.13.10) [Compare Source](https://togithub.com/babel/babel/compare/v7.13.9...v7.13.10) #### v7.13.10 (2021-03-08) Thanks [@MrBrain295](https://togithub.com/MrBrain295) for your first PR! ##### :bug: Bug Fix - `babel-plugin-transform-async-to-generator`, `babel-plugin-transform-react-constant-elements`, `babel-plugin-transform-react-jsx` - [#12967](https://togithub.com/babel/babel/pull/12967) Lazily initialize and cache constant JSX elements ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-helper-create-class-features-plugin`, `babel-plugin-proposal-private-methods` - [#12918](https://togithub.com/babel/babel/pull/12918) Ensure static private method init run before static property ([@JLHwung](https://togithub.com/JLHwung)) - [#12707](https://togithub.com/babel/babel/pull/12707) Evaluate object and initializer when setting a private method ([@JLHwung](https://togithub.com/JLHwung)) - `babel-helper-create-class-features-plugin`, `babel-helpers`, `babel-plugin-proposal-class-properties`, `babel-plugin-proposal-private-methods` - [#12917](https://togithub.com/babel/babel/pull/12917) Class static private field destructure set ([@JLHwung](https://togithub.com/JLHwung)) - `babel-parser` - [#12687](https://togithub.com/babel/babel/pull/12687) (ts) Raise syntax error for an abstract method that has body ([@sosukesuzuki](https://togithub.com/sosukesuzuki)) - `babel-helper-compilation-targets`, `babel-preset-env` - [#12908](https://togithub.com/babel/babel/pull/12908) Fix `esmodules: true` without specified browsers ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ##### :nail_care: Polish - Other - [#12956](https://togithub.com/babel/babel/pull/12956) Suggest using `babel.config.json` when linting dependencies ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-helpers`, `babel-plugin-proposal-class-properties`, `babel-plugin-proposal-private-methods` - [#12910](https://togithub.com/babel/babel/pull/12910) check descriptor before private field access ([@JLHwung](https://togithub.com/JLHwung)) ##### :memo: Documentation - [#12974](https://togithub.com/babel/babel/pull/12974) Capitalize design docs headings ([@MrBrain295](https://togithub.com/MrBrain295)) ##### :house: Internal - `babel-helper-fixtures` - [#12982](https://togithub.com/babel/babel/pull/12982) Optionally enable external-helpers in tests ([@jridgewell](https://togithub.com/jridgewell)) - *Every package* - [#12963](https://togithub.com/babel/babel/pull/12963) Avoid using CJS globals in internal source files ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-helper-transform-fixture-test-runner`, `babel-highlight`, `babel-plugin-transform-runtime`, `babel-preset-env` - [#12795](https://togithub.com/babel/babel/pull/12795) \[internal] Use the Node.js behavior for default imports ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ##### Committers: 6 - Babel Bot ([@babel-bot](https://togithub.com/babel-bot)) - Huáng Jùnliàng ([@JLHwung](https://togithub.com/JLHwung)) - Justin Ridgewell ([@jridgewell](https://togithub.com/jridgewell)) - Nicolò Ribaudo ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - Sosuke Suzuki ([@sosukesuzuki](https://togithub.com/sosukesuzuki)) - [@MrBrain295](https://togithub.com/MrBrain295) ### [`v7.13.9`](https://togithub.com/babel/babel/releases/tag/v7.13.9) [Compare Source](https://togithub.com/babel/babel/compare/v7.13.8...v7.13.9) #### v7.13.9 (2021-03-01) Thanks [@saitonakamura](https://togithub.com/saitonakamura) for your first PR! ##### :bug: Bug Fix - `babel-preset-env` - [#12934](https://togithub.com/babel/babel/pull/12934) Load `.browserslistrc` when using old `@babel/core` versions ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-parser` - [#12939](https://togithub.com/babel/babel/pull/12939) fix: add tokens when tokens: true is passed to parseExpression ([@JLHwung](https://togithub.com/JLHwung)) - [#12930](https://togithub.com/babel/babel/pull/12930) babel-parser(flow): Add null property to FunctionTypeAnnotation without parens ([@sosukesuzuki](https://togithub.com/sosukesuzuki)) - `babel-generator` - [#12921](https://togithub.com/babel/babel/pull/12921) Fix a bug with invalid print output when empty array is passed to t.tsInterfaceDeclaration ([@saitonakamura](https://togithub.com/saitonakamura)) - [#12920](https://togithub.com/babel/babel/pull/12920) Allow nullish extends in interfaceish ([@saitonakamura](https://togithub.com/saitonakamura)) ##### :house: Internal - `babel-plugin-transform-runtime`, `babel-runtime-corejs2`, `babel-runtime-corejs3`, `babel-runtime` - [#12919](https://togithub.com/babel/babel/pull/12919) Put back ESM helpers in a folder where we can use `.js` ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ##### Committers: 5 - Bogdan Savluk ([@zxbodya](https://togithub.com/zxbodya)) - Huáng Jùnliàng ([@JLHwung](https://togithub.com/JLHwung)) - Michael サイトー 中村 Bashurov ([@saitonakamura](https://togithub.com/saitonakamura)) - Nicolò Ribaudo ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - Sosuke Suzuki ([@sosukesuzuki](https://togithub.com/sosukesuzuki)) ### [`v7.13.8`](https://togithub.com/babel/babel/releases/tag/v7.13.8) [Compare Source](https://togithub.com/babel/babel/compare/v7.13.5...v7.13.8) #### v7.13.8 (2021-02-26) Thanks [@luxp](https://togithub.com/luxp) and [@pigcan](https://togithub.com/pigcan) for your first PRs! ##### :bug: Bug Fix - Other - [#12909](https://togithub.com/babel/babel/pull/12909) chore: do not provide polyfills on bundling [@babel/standalone](https://togithub.com/babel/standalone) ([@JLHwung](https://togithub.com/JLHwung)) - [#12891](https://togithub.com/babel/babel/pull/12891) fix(eslint-parser): merge input `estree` options ([@JLHwung](https://togithub.com/JLHwung)) - `babel-compat-data`, `babel-preset-env` - [#12901](https://togithub.com/babel/babel/pull/12901) Fix Module not found: Error: Can't resolve 'core-js/modules/es6.array.concat.js' with compat-data@7.13.x ([@luxp](https://togithub.com/luxp)) - `babel-plugin-transform-runtime`, `babel-runtime-corejs2`, `babel-runtime-corejs3`, `babel-runtime` - [#12893](https://togithub.com/babel/babel/pull/12893) Allow `require()` of runtime helpers in Node.js 13.2-13.6 ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ##### :nail_care: Polish - `babel-helper-create-class-features-plugin` - [#12898](https://togithub.com/babel/babel/pull/12898) Do not warn for `loose` of class features in `preset-env` ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ##### :house: Internal - `babel-core`, `babel-helper-transform-fixture-test-runner`, `babel-register` - [#12820](https://togithub.com/babel/babel/pull/12820) \[internal] Keep the `.cjs` extension when compiling source files ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-plugin-transform-runtime`, `babel-runtime-corejs2`, `babel-runtime` - [#12883](https://togithub.com/babel/babel/pull/12883) Improve `@babel/runtime` esm stability ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ##### :microscope: Output optimization - `babel-plugin-proposal-object-rest-spread` - [#12899](https://togithub.com/babel/babel/pull/12899) Skip `_extends` helper for `{…x}` with modern targets ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ##### Committers: 6 - Alan Lu - 川古 ([@luxp](https://togithub.com/luxp)) - Babel Bot ([@babel-bot](https://togithub.com/babel-bot)) - Bogdan Savluk ([@zxbodya](https://togithub.com/zxbodya)) - Huáng Jùnliàng ([@JLHwung](https://togithub.com/JLHwung)) - Nicolò Ribaudo ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - pigcan ([@pigcan](https://togithub.com/pigcan)) ### [`v7.13.5`](https://togithub.com/babel/babel/releases/tag/v7.13.5) [Compare Source](https://togithub.com/babel/babel/compare/v7.13.0...v7.13.5) #### v7.13.5 (2021-02-23) Thanks [@eligao](https://togithub.com/eligao) for your first PR! ##### :bug: Bug Fix - `babel-compat-data`, `babel-plugin-transform-runtime`, `babel-preset-env` - [#12870](https://togithub.com/babel/babel/pull/12870) Add `es6.array.slice` in corejs2 builtins ([@eligao](https://togithub.com/eligao)) - `babel-plugin-proposal-async-generator-functions`, `babel-plugin-proposal-decorators`, `babel-plugin-transform-runtime`, `babel-preset-env` - [#12869](https://togithub.com/babel/babel/pull/12869) Ensure that `@babel/runtime-corejs3` imports are injected ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ##### Committers: 2 - Eli Gao ([@eligao](https://togithub.com/eligao)) - Nicolò Ribaudo ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ### [`v7.13.0`](https://togithub.com/babel/babel/releases/tag/v7.13.0) [Compare Source](https://togithub.com/babel/babel/compare/v7.12.17...v7.13.0) #### v7.13.0 (2021-02-22) You can read the release post at https://babeljs.io/blog/2021/02/22/7.13.0! Thanks [@dsainati1](https://togithub.com/dsainati1), [@immitsu](https://togithub.com/immitsu), and [@perrin4869](https://togithub.com/perrin4869) for your first PRs! ##### :rocket: New Feature - `babel-parser` - [#12370](https://togithub.com/babel/babel/pull/12370) Implement class features in estree ([@JLHwung](https://togithub.com/JLHwung)) - `babel-generator`, `babel-parser`, `babel-plugin-syntax-module-blocks`, `babel-standalone`, `babel-traverse`, `babel-types` - [#12469](https://togithub.com/babel/babel/pull/12469) Parse JS Module Blocks proposal ([@sosukesuzuki](https://togithub.com/sosukesuzuki)) - `babel-generator`, `babel-parser`, `babel-types` - [#12628](https://togithub.com/babel/babel/pull/12628) Support TypeScript 4.2 abstract constructor signatures ([@sosukesuzuki](https://togithub.com/sosukesuzuki)) - [#12193](https://togithub.com/babel/babel/pull/12193) Flow Enums with unknown members support ([@gkz](https://togithub.com/gkz)) - `babel-core`, `babel-register` - [#11498](https://togithub.com/babel/babel/pull/11498) Add cjs as a default extension ([@perrin4869](https://togithub.com/perrin4869)) - `babel-traverse` - [#12603](https://togithub.com/babel/babel/pull/12603) feat(referencesImport): support named exports accessed via namespace imports ([@jeysal](https://togithub.com/jeysal)) - `babel-plugin-transform-typescript`, `babel-preset-typescript` - [#12765](https://togithub.com/babel/babel/pull/12765) Enable allowNamespaces in `transform-typescript` by default ([@JLHwung](https://togithub.com/JLHwung)) - `babel-generator`, `babel-parser`, `babel-plugin-transform-flow-strip-types`, `babel-plugin-transform-parameters`, `babel-types` - [#12234](https://togithub.com/babel/babel/pull/12234) Support Flow `this` parameter annotations ([@dsainati1](https://togithub.com/dsainati1)) - `babel-plugin-proposal-record-and-tuple` - [#12145](https://togithub.com/babel/babel/pull/12145) Implement "Records and Tuples" transform ([@rickbutton](https://togithub.com/rickbutton)) - `babel-plugin-transform-runtime`, `babel-plugin-transform-typeof-symbol`, `babel-runtime-corejs2`, `babel-runtime-corejs3`, `babel-runtime` - [#12632](https://togithub.com/babel/babel/pull/12632) Use conditional exports in `@babel/runtime` for CJS/ESM ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-core`, `babel-helper-plugin-utils`, `babel-preset-env` - [#12219](https://togithub.com/babel/babel/pull/12219) Add `@babel/core` support for the new `assumptions` option ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-core`, `babel-helper-compilation-targets`, `babel-helper-plugin-utils`, `babel-preset-env` - [#12189](https://togithub.com/babel/babel/pull/12189) Add `targets` and `browserslist*` options to `@babel/core` ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-core` - [#12266](https://togithub.com/babel/babel/pull/12266) Support `.mjs` plugins/presets and async factories ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ##### :bug: Bug Fix - `babel-helpers`, `babel-plugin-proposal-class-properties`, `babel-plugin-proposal-decorators`, `babel-plugin-transform-classes`, `babel-plugin-transform-function-name`, `babel-plugin-transform-parameters`, `babel-plugin-transform-react-jsx`, `babel-plugin-transform-runtime`, `babel-plugin-transform-typescript`, `babel-preset-env` - [#8461](https://togithub.com/babel/babel/pull/8461) Fix \_isNativeReflectConstruct helper ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-cli` - [#12846](https://togithub.com/babel/babel/pull/12846) \[babel-cli] Don't fail when `chmod` throws an error ([@immitsu](https://togithub.com/immitsu)) - `babel-node` - [#12836](https://togithub.com/babel/babel/pull/12836) fix: create IPC channel for spawned babel-node process ([@JLHwung](https://togithub.com/JLHwung)) - `babel-standalone` - [#12819](https://togithub.com/babel/babel/pull/12819) fix: add regenerate-unicode-properties to dynamicRequireTargets ([@JLHwung](https://togithub.com/JLHwung)) - `babel-plugin-proposal-optional-chaining`, `babel-traverse` - [#12812](https://togithub.com/babel/babel/pull/12812) Fix scope of computed method keys ([@overlookmotel](https://togithub.com/overlookmotel)) ##### :house: Internal - `babel-plugin-proposal-async-generator-functions`, `babel-plugin-proposal-decorators`, `babel-plugin-transform-runtime`, `babel-preset-env`, `babel-runtime-corejs2` - [#12845](https://togithub.com/babel/babel/pull/12845) Use the `babel-plugin-polyfill-*` packages in `transform-runtime` ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-plugin-transform-runtime` - [#12842](https://togithub.com/babel/babel/pull/12842) Don't use `useESModules` in `@babel/runtime` build script ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-standalone` - [#12839](https://togithub.com/babel/babel/pull/12839) Make sure that Rollup's `dynamicRequireTargets` are included ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-helper-transform-fixture-test-runner`, `babel-plugin-proposal-async-generator-functions`, `babel-plugin-proposal-decorators`, `babel-preset-env` - [#12583](https://togithub.com/babel/babel/pull/12583) Use the `babel-plugin-polyfill-*` packages in `preset-env` ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ##### :running_woman: Performance - `babel-register` - [#12813](https://togithub.com/babel/babel/pull/12813) babel-register: Don’t rewrite the cache if it’s not dirty ([@andersk](https://togithub.com/andersk)) ##### :microscope: Output optimization - `babel-helper-create-class-features-plugin`, `babel-helper-member-expression-to-functions`, `babel-plugin-proposal-class-properties` - [#12762](https://togithub.com/babel/babel/pull/12762) Support `noDocumentAll` for `obj?.#p` ([@JLHwung](https://togithub.com/JLHwung)) ##### Committers: 14 - Anders Kaseorg ([@andersk](https://togithub.com/andersk)) - Babel Bot ([@babel-bot](https://togithub.com/babel-bot)) - Daniel Sainati ([@dsainati1](https://togithub.com/dsainati1)) - Federico Ciardi ([@fedeci](https://togithub.com/fedeci)) - George Zahariev ([@gkz](https://togithub.com/gkz)) - Huáng Jùnliàng ([@JLHwung](https://togithub.com/JLHwung)) - Julian Grinblat ([@perrin4869](https://togithub.com/perrin4869)) - Michael Tsulaya ([@immitsu](https://togithub.com/immitsu)) - Nicolò Ribaudo ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - Rick Button ([@rickbutton](https://togithub.com/rickbutton)) - Siddhant N Trivedi ([@sidntrivedi012](https://togithub.com/sidntrivedi012)) - Sosuke Suzuki ([@sosukesuzuki](https://togithub.com/sosukesuzuki)) - Tim Seckinger ([@jeysal](https://togithub.com/jeysal)) - [@overlookmotel](https://togithub.com/overlookmotel) ### [`v7.12.17`](https://togithub.com/babel/babel/releases/tag/v7.12.17) [Compare Source](https://togithub.com/babel/babel/compare/v7.12.16...v7.12.17) #### v7.12.17 (2021-02-18) We re-published all the packages updated in v7.12.15 and v7.12.16, because we accidentally didn't include `LICENSE` files. Thanks [@eltociear](https://togithub.com/eltociear) for your first PR! ##### :bug: Bug Fix - `babel-core` - [#12211](https://togithub.com/babel/babel/pull/12211) Do not cache non-existent JS config files forever ([@devongovett](https://togithub.com/devongovett)) - `babel-helper-module-transforms`, `babel-plugin-transform-typescript` - [#12796](https://togithub.com/babel/babel/pull/12796) Register binding when transforming TSParameterProperty ([@JLHwung](https://togithub.com/JLHwung)) - `babel-parser` - [#12776](https://togithub.com/babel/babel/pull/12776) fix(ts): parse multiline declarations correctly ([@fedeci](https://togithub.com/fedeci)) - [#12785](https://togithub.com/babel/babel/pull/12785) Raise recoverable error for type members with invalid modifiers ([@sosukesuzuki](https://togithub.com/sosukesuzuki)) - `babel-traverse` - [#12797](https://togithub.com/babel/babel/pull/12797) clean up traverse scope ([@JLHwung](https://togithub.com/JLHwung)) - `babel-types` - [#12794](https://togithub.com/babel/babel/pull/12794) Fix import assertions type definitions ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ##### :nail_care: Polish - `babel-helper-create-class-features-plugin`, `babel-helpers`, `babel-plugin-proposal-private-methods` - [#12792](https://togithub.com/babel/babel/pull/12792) Reuse the `readOnlyError` helper for private methods ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ##### :house: Internal - Other - [#12810](https://togithub.com/babel/babel/pull/12810) Store LICENSE files when publishing from GH actions ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-helper-transform-fixture-test-runner` - [#12811](https://togithub.com/babel/babel/pull/12811) test: avoid deprecated jest.addMatchers ([@jeysal](https://togithub.com/jeysal)) - `babel-parser` - [#12808](https://togithub.com/babel/babel/pull/12808) refactor: fix typo in error.js ([@eltociear](https://togithub.com/eltociear)) ##### Committers: 7 - Devon Govett ([@devongovett](https://togithub.com/devongovett)) - Federico Ciardi ([@fedeci](https://togithub.com/fedeci)) - Huáng Jùnliàng ([@JLHwung](https://togithub.com/JLHwung)) - Ikko Ashimine ([@eltociear](https://togithub.com/eltociear)) - Nicolò Ribaudo ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - Sosuke Suzuki ([@sosukesuzuki](https://togithub.com/sosukesuzuki)) - Tim Seckinger ([@jeysal](https://togithub.com/jeysal)) ### [`v7.12.16`](https://togithub.com/babel/babel/releases/tag/v7.12.16) [Compare Source](https://togithub.com/babel/babel/compare/v7.12.13...v7.12.16) #### v7.12.16 (2021-02-11) ##### :bug: Bug Fix - `babel-core` - [#12783](https://togithub.com/babel/babel/pull/12783) fix: use semver gte comparison on polyfill version tester ([@JLHwung](https://togithub.com/JLHwung)) - `babel-parser` - [#12735](https://togithub.com/babel/babel/pull/12735) \[parser] Fix scope handling of Flow declared functions ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - [#12775](https://togithub.com/babel/babel/pull/12775) babel-parser(ts): Throw recoverable for duplicates access modifier ([@sosukesuzuki](https://togithub.com/sosukesuzuki)) - [#12771](https://togithub.com/babel/babel/pull/12771) babel-parser(ts): Raise recoverable error for abstract interface ([@sosukesuzuki](https://togithub.com/sosukesuzuki)) - [#12763](https://togithub.com/babel/babel/pull/12763) fix(ts): include `asserts` in `TSTypePredicate` location ([@fedeci](https://togithub.com/fedeci)) - [#12758](https://togithub.com/babel/babel/pull/12758) \[TS] Create `TSUnionType` or `TSIntersectionType` when typealias has a leading operator ([@fedeci](https://togithub.com/fedeci)) - `babel-plugin-transform-typescript` - [#12760](https://togithub.com/babel/babel/pull/12760) Support destructuring variable declarator within TS namespace ([@JLHwung](https://togithub.com/JLHwung)) ##### :nail_care: Polish - `babel-node` - [#12786](https://togithub.com/babel/babel/pull/12786) Polish `@babel/node` REPL ([@JLHwung](https://togithub.com/JLHwung)) ##### :house: Internal - Other - [#12781](https://togithub.com/babel/babel/pull/12781) pnp does not work with ESM dev scripts ([@JLHwung](https://togithub.com/JLHwung)) - [#12766](https://togithub.com/babel/babel/pull/12766) docs: Update build requirements in CONTRIBUTING.md ([@sosukesuzuki](https://togithub.com/sosukesuzuki)) - `babel-cli`, `babel-core`, `babel-helper-compilation-targets`, `babel-helper-create-class-features-plugin`, `babel-helper-create-regexp-features-plugin`, `babel-helper-member-expression-to-functions`, `babel-helper-validator-option`, `babel-node`, `babel-parser`, `babel-plugin-proposal-class-static-block`, `babel-plugin-proposal-dynamic-import`, `babel-plugin-proposal-optional-chaining`, `babel-plugin-transform-react-jsx-development`, `babel-plugin-transform-react-jsx`, `babel-preset-env`, `babel-preset-typescript` - [#12759](https://togithub.com/babel/babel/pull/12759) Avoid importing `.json` files ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ##### Committers: 5 - Babel Bot ([@babel-bot](https://togithub.com/babel-bot)) - Federico Ciardi ([@fedeci](https://togithub.com/fedeci)) - Huáng Jùnliàng ([@JLHwung](https://togithub.com/JLHwung)) - Nicolò Ribaudo ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - Sosuke Suzuki ([@sosukesuzuki](https://togithub.com/sosukesuzuki)) ### [`v7.12.13`](https://togithub.com/babel/babel/releases/tag/v7.12.13) [Compare Source](https://togithub.com/babel/babel/compare/v7.12.11...v7.12.13) #### v7.12.13 (2021-02-03) Thanks [@bradzacher](https://togithub.com/bradzacher), [@bz2](https://togithub.com/bz2), [@ChALkeR](https://togithub.com/ChALkeR), [@FauxFaux](https://togithub.com/FauxFaux), [@fedeci](https://togithub.com/fedeci), [@karansapolia](https://togithub.com/karansapolia), [@panzarino](https://togithub.com/panzarino), [@shrinktofit](https://togithub.com/shrinktofit), and [@Zalathar](https://togithub.com/Zalathar) for your first PRs! ##### :eyeglasses: Spec Compliance - `babel-parser` - [#12661](https://togithub.com/babel/babel/pull/12661) spec: disable await binding identifier within static block ([@JLHwung](https://togithub.com/JLHwung)) - `babel-helper-create-class-features-plugin`, `babel-helpers`, `babel-plugin-proposal-private-methods`, `babel-runtime-corejs2`, `babel-runtime-corejs3`, `babel-runtime` - [#12689](https://togithub.com/babel/babel/pull/12689) fix: throw error when accessing private method without a getter ([@fedeci](https://togithub.com/fedeci)) - `babel-plugin-transform-computed-properties`, `babel-plugin-transform-shorthand-properties` - [#12664](https://togithub.com/babel/babel/pull/12664) fix: correctly transform `__proto__` properties ([@ExE-Boss](https://togithub.com/ExE-Boss)) ##### :bug: Bug Fix - `babel-plugin-proposal-class-properties`, `babel-traverse` - [#12729](https://togithub.com/babel/babel/pull/12729) Fix class fields when `super()` is in a default param ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-plugin-proposal-class-properties`, `babel-plugin-transform-classes` - [#12723](https://togithub.com/babel/babel/pull/12723) Define class elements in the correct order ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-parser`, `babel-template` - [#12725](https://togithub.com/babel/babel/pull/12725) Permit %%placeholder%% in left-hand-side of a let declaration ([@Zalathar](https://togithub.com/Zalathar)) - `babel-core`, `babel-helper-transform-fixture-test-runner`, `babel-register` - [#12728](https://togithub.com/babel/babel/pull/12728) Don't use `require()` in ESM files ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-parser` - [#12686](https://togithub.com/babel/babel/pull/12686) (ts) Raise syntax error for an abstract method in non-abstract class ([@sosukesuzuki](https://togithub.com/sosukesuzuki)) - [#12684](https://togithub.com/babel/babel/pull/12684) fix(parser): throw error with wrong typescript 'export declare' ([@fedeci](https://togithub.com/fedeci)) - [#12520](https://togithub.com/babel/babel/pull/12520) Raise recoverable error for await expressions in sync functions ([@sosukesuzuki](https://togithub.com/sosukesuzuki)) - [#12678](https://togithub.com/babel/babel/pull/12678) fix: start TypePredicate node after returnToken ([@JLHwung](https://togithub.com/JLHwung)) - [#12599](https://togithub.com/babel/babel/pull/12599) [@babel/preset-typescript](https://togithub.com/babel/preset-typescript): fix tsx assigment issue ([@Zzzen](https://togithub.com/Zzzen)) - [#12562](https://togithub.com/babel/babel/pull/12562) \[ts]Add optional property to OptionalCallExpression node that has type arguments ([@sosukesuzuki](https://togithub.com/sosukesuzuki)) - `babel-helpers`, `babel-plugin-transform-classes` - [#12693](https://togithub.com/babel/babel/pull/12693) Avoid hitting `__proto__` in `_inheritsLoose` ([@ChALkeR](https://togithub.com/ChALkeR)) - `babel-generator` - [#12653](https://togithub.com/babel/babel/pull/12653) fix: avoid line breaks between class members head and key ([@JLHwung](https://togithub.com/JLHwung)) - `babel-register` - [#12665](https://togithub.com/babel/babel/pull/12665) fix: babel-register transform internal dependencies ([@overlookmotel](https://togithub.com/overlookmotel)) - `babel-node` - [#12638](https://togithub.com/babel/babel/pull/12638) fix: place \_babel-node after process.execArgv ([@JLHwung](https://togithub.com/JLHwung)) - `babel-types` - [#12602](https://togithub.com/babel/babel/pull/12602) fix: cloneNode(deep, withoutLoc) handles absent comments ([@FauxFaux](https://togithub.com/FauxFaux)) - [#12575](https://togithub.com/babel/babel/pull/12575) Use isIdentifierChar instead of regex for toIdentifier ([@mischnic](https://togithub.com/mischnic)) - `babel-plugin-transform-modules-systemjs` - [#12612](https://togithub.com/babel/babel/pull/12612) \[systemjs] Fix: export star alongside with named export ([@shrinktofit](https://togithub.com/shrinktofit)) - `babel-plugin-transform-for-of` - [#12611](https://togithub.com/babel/babel/pull/12611) Transform labeled `for-of` inside braceless `if` statement ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-helper-create-class-features-plugin`, `babel-helper-replace-supers`, `babel-plugin-transform-classes` - [#12544](https://togithub.com/babel/babel/pull/12544) Correctly access shadowed class binding in `super.*` ([@Zzzen](https://togithub.com/Zzzen)) - `babel-helper-module-imports`, `babel-plugin-transform-react-jsx-development`, `babel-plugin-transform-react-jsx` - [#12546](https://togithub.com/babel/babel/pull/12546) Load `jsx-runtime` after existing imports ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ##### :nail_care: Polish - `babel-helper-transform-fixture-test-runner`, `babel-parser`, `babel-preset-env` - [#12716](https://togithub.com/babel/babel/pull/12716) refactor: raise AwaitNotInAsyncContext when an AwaitExpression will be parsed ([@JLHwung](https://togithub.com/JLHwung)) - `babel-cli`, `babel-core`, `babel-