babel/babel
### [`v7.17.9`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v7179-2022-04-06)
[Compare Source](https://togithub.com/babel/babel/compare/v7.17.8...v7.17.9)
##### :bug: Bug Fix
- `babel-parser`, `babel-standalone`
- [#14427](https://togithub.com/babel/babel/pull/14427) Restore numeric seaprators support in `@babel/standalone` ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
- `babel-traverse`
- [#14403](https://togithub.com/babel/babel/pull/14403) Fix NodePath.referencesImport for JSXMemberExpression ([@swandir](https://togithub.com/swandir))
- `babel-plugin-proposal-decorators`
- [#14396](https://togithub.com/babel/babel/pull/14396) \[2021-12] Support class decorators in export declarations ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
- [#14387](https://togithub.com/babel/babel/pull/14387) fix: forward accessor proxy getter results ([@JLHwung](https://togithub.com/JLHwung))
- `babel-parser`
- [#14384](https://togithub.com/babel/babel/pull/14384) fix: parse type parameters within correct context ([@JLHwung](https://togithub.com/JLHwung))
- `babel-generator`, `babel-parser`
- [#14378](https://togithub.com/babel/babel/pull/14378) Parenthesize non-simple decorator expression ([@JLHwung](https://togithub.com/JLHwung))
- `babel-plugin-transform-classes`, `babel-plugin-transform-modules-commonjs`, `babel-preset-env`
- [#14366](https://togithub.com/babel/babel/pull/14366) Align named imports behavior in `.mjs` and `.js` files ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
- `babel-helper-create-class-features-plugin`, `babel-plugin-proposal-class-properties`
- [#14351](https://togithub.com/babel/babel/pull/14351) \[setPublicClassFields] Use define for static `name`/`length` ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
##### :nail_care: Polish
- `babel-plugin-proposal-decorators`
- [#14398](https://togithub.com/babel/babel/pull/14398) Add missing semicolons in 2021-12 decorators output ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
##### :memo: Documentation
- [#14397](https://togithub.com/babel/babel/pull/14397) Mention how to report vulns in Babel dependencies ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
##### :house: Internal
- Other
- [#14419](https://togithub.com/babel/babel/pull/14419) Use `jest-light-runner` from npm ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
- `babel-cli`
- [#14385](https://togithub.com/babel/babel/pull/14385) Fix flaky [@babel/cli](https://togithub.com/babel/cli) test ([@JLHwung](https://togithub.com/JLHwung))
- `babel-helper-function-name`, `babel-helper-get-function-arity`
- [#14389](https://togithub.com/babel/babel/pull/14389) Inline `@babel/helper-get-function-arity` package ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
- `babel-helpers`
- [#14343](https://togithub.com/babel/babel/pull/14343) Remove unused `@babel/helpers` code ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
- `babel-core`, `babel-highlight`, `babel-parser`
- [#14377](https://togithub.com/babel/babel/pull/14377) refactor: replace deprecated String.prototype.substr() ([@CommanderRoot](https://togithub.com/CommanderRoot))
### [`v7.17.8`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v7178-2022-03-18)
[Compare Source](https://togithub.com/babel/babel/compare/v7.17.7...v7.17.8)
##### :eyeglasses: Spec Compliance
- `babel-helpers`, `babel-plugin-proposal-decorators`
- [#14353](https://togithub.com/babel/babel/pull/14353) Update decorators to match latest spec ([@pzuraq](https://togithub.com/pzuraq))
- [#14339](https://togithub.com/babel/babel/pull/14339) Decorators misc fixes ([@JLHwung](https://togithub.com/JLHwung))
##### :bug: Bug Fix
- `babel-plugin-transform-modules-systemjs`
- [#14057](https://togithub.com/babel/babel/pull/14057) \[systemjs] Fix nested `let`/`const` shadowing imported bindings ([@The-x-Theorist](https://togithub.com/The-x-Theorist))
- `babel-parser`
- [#14362](https://togithub.com/babel/babel/pull/14362) Allow keywords in TS qualified types ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
##### :leftwards_arrow_with_hook: Revert
- `babel-parser`
- [#14367](https://togithub.com/babel/babel/pull/14367) Defer `() => {}` TSX error to Babel 8 ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
### [`v7.17.7`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v7177-2022-03-14)
[Compare Source](https://togithub.com/babel/babel/compare/v7.17.5...v7.17.7)
##### :eyeglasses: Spec Compliance
- `babel-generator`, `babel-parser`
- [#14135](https://togithub.com/babel/babel/pull/14135) \[tsx] raise error on single arrow type argument without comma ([@ozanhonamlioglu](https://togithub.com/ozanhonamlioglu))
##### :bug: Bug Fix
- `babel-helper-compilation-targets`
- [#14294](https://togithub.com/babel/babel/pull/14294) Avoid `resolveTargets` call if `browsers` is an empty array ([@dev-itsheng](https://togithub.com/dev-itsheng))
- `babel-helper-module-transforms`, `babel-helper-simple-access`, `babel-plugin-transform-modules-amd`, `babel-plugin-transform-modules-commonjs`, `babel-plugin-transform-modules-umd`
- [#14341](https://togithub.com/babel/babel/pull/14341) Fix update expression for exported bigints ([@magic-akari](https://togithub.com/magic-akari))
- `babel-parser`
- [#14344](https://togithub.com/babel/babel/pull/14344) Allow variable and function with the same name in static blocks ([@Yokubjon-J](https://togithub.com/Yokubjon-J))
- [#14327](https://togithub.com/babel/babel/pull/14327) Remove length restriction from JSX entities, and ignore `Object.prototype` ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
- [#14293](https://togithub.com/babel/babel/pull/14293) fix(ts): skip func-type param start on parsing ([@JLHwung](https://togithub.com/JLHwung))
- `babel-helpers`, `babel-plugin-proposal-decorators`
- [#14335](https://togithub.com/babel/babel/pull/14335) Fix static/proto initializers when there aren't class fields ([@JLHwung](https://togithub.com/JLHwung))
- [#14334](https://togithub.com/babel/babel/pull/14334) fix: push `newClass` only when class is decorated ([@JLHwung](https://togithub.com/JLHwung))
- `babel-generator`
- [#14309](https://togithub.com/babel/babel/pull/14309) Fix `import type/typeof` printing with no specifiers ([@The-x-Theorist](https://togithub.com/The-x-Theorist))
- `babel-helper-module-transforms`, `babel-plugin-transform-modules-commonjs`
- [#14313](https://togithub.com/babel/babel/pull/14313) Fix duplicate exports initialization with many exports ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
- `babel-helper-member-expression-to-functions`, `babel-plugin-proposal-class-properties`, `babel-plugin-proposal-private-methods`, `babel-plugin-transform-classes`, `babel-plugin-transform-object-super`
- [#14311](https://togithub.com/babel/babel/pull/14311) fix: support bigints in update expressions for private fields ([@magic-akari](https://togithub.com/magic-akari))
- `babel-register`
- [#14303](https://togithub.com/babel/babel/pull/14303) Fix babel register cache invalidation ([@cha0s](https://togithub.com/cha0s))
##### :nail_care: Polish
- `babel-parser`
- [#14338](https://togithub.com/babel/babel/pull/14338) Report single error for invalid num seps in unicode escapes ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
##### :house: Internal
- `babel-generator`, `babel-parser`
- [#14320](https://togithub.com/babel/babel/pull/14320) Type-safe ParseErrors ([@tolmasky](https://togithub.com/tolmasky))
- `babel-plugin-transform-destructuring`
- [#14236](https://togithub.com/babel/babel/pull/14236) Improve `transform-destructuring` typings ([@JLHwung](https://togithub.com/JLHwung))
- Other
- [#14180](https://togithub.com/babel/babel/pull/14180) Convert ESLint plugins to CommonJS ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
prettier/prettier
### [`v2.6.2`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#262)
[Compare Source](https://togithub.com/prettier/prettier/compare/2.6.1...2.6.2)
[diff](https://togithub.com/prettier/prettier/compare/2.6.1...2.6.2)
##### Fix LESS/SCSS format error ([#12536](https://togithub.com/prettier/prettier/pull/12536) by [@fisker](https://togithub.com/fisker))
```less
// Input
.background-gradient(@cut) {
background: linear-gradient(
to right,
@white 0%,
@white (@cut - 0.01%),
@portal-background @cut,
@portal-background 100%
);
}
// Prettier 2.6.1
TypeError: Cannot read properties of undefined (reading 'endOffset')
// Prettier 2.6.2
.background-gradient(@cut) {
background: linear-gradient(
to right,
@white 0%,
@white (@cut - 0.01%),
@portal-background @cut,
@portal-background 100%
);
}
```
##### Update `meriyah` to fix several bugs ([#12567](https://togithub.com/prettier/prettier/pull/12567) by [@fisker](https://togithub.com/fisker), fixes in [`meriyah`](https://togithub.com/meriyah/meriyah/) by [@3cp](https://togithub.com/3cp))
Fixes bugs when parsing following valid code:
```js
foo(await bar());
```
```js
const regex = /.*/ms;
```
```js
const element =
{/w/.test(s)}
;
```
```js
class A extends B {
#privateMethod() {
super.method();
}
}
```
### [`v2.6.1`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#261)
[Compare Source](https://togithub.com/prettier/prettier/compare/2.6.0...2.6.1)
[diff](https://togithub.com/prettier/prettier/compare/2.6.0...2.6.1)
##### Ignore `loglevel` when printing information ([#12477](https://togithub.com/prettier/prettier/pull/12477) by [@fisker](https://togithub.com/fisker))
```bash
```
### [`v2.6.0`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#Prettier-260)
[Compare Source](https://togithub.com/prettier/prettier/compare/2.5.1...2.6.0)
prettier --loglevel silent --find-config-path index.js
Microsoft/TypeScript
### [`v4.6.3`](https://togithub.com/Microsoft/TypeScript/releases/v4.6.3)
[Compare Source](https://togithub.com/Microsoft/TypeScript/compare/v4.6.2...v4.6.3)
This release includes fixes for
- [an incremental parsing bug caused by faulty error recovery logic](https://togithub.com/microsoft/TypeScript/issues/47895)
- [improved results from the TypeScript API's `preProcessFile` function](https://togithub.com/microsoft/TypeScript/pull/47657)
For the complete list of fixed issues, check out the
- [fixed issues query for Typescript 4.6.0 (Beta)](https://togithub.com/microsoft/TypeScript/issues?q=milestone%3A%22TypeScript+4.6.0%22+).
- [fixed issues query for Typescript 4.6.1 (RC)](https://togithub.com/microsoft/TypeScript/issues?q=milestone%3A%22TypeScript+4.6.1%22+).
- [fixed issues query for Typescript 4.6.2 (Stable)](https://togithub.com/microsoft/TypeScript/issues?q=milestone%3A%22TypeScript+4.6.2%22+).
- [fixed issues query for Typescript 4.6.3 (Stable)](https://togithub.com/microsoft/TypeScript/issues?q=milestone%3A%22TypeScript+4.6.3%22+).
Downloads are available on:
- [npm](https://www.npmjs.com/package/typescript)
Configuration
📅 Schedule: "before 5am on Monday" (UTC).
🚦 Automerge: Enabled.
♻ 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, click this checkbox.
This PR contains the following updates:
7.17.5
->7.17.9
2.5.1
->2.6.2
4.6.2
->4.6.3
Release Notes
babel/babel
### [`v7.17.9`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v7179-2022-04-06) [Compare Source](https://togithub.com/babel/babel/compare/v7.17.8...v7.17.9) ##### :bug: Bug Fix - `babel-parser`, `babel-standalone` - [#14427](https://togithub.com/babel/babel/pull/14427) Restore numeric seaprators support in `@babel/standalone` ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-traverse` - [#14403](https://togithub.com/babel/babel/pull/14403) Fix NodePath.referencesImport for JSXMemberExpression ([@swandir](https://togithub.com/swandir)) - `babel-plugin-proposal-decorators` - [#14396](https://togithub.com/babel/babel/pull/14396) \[2021-12] Support class decorators in export declarations ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - [#14387](https://togithub.com/babel/babel/pull/14387) fix: forward accessor proxy getter results ([@JLHwung](https://togithub.com/JLHwung)) - `babel-parser` - [#14384](https://togithub.com/babel/babel/pull/14384) fix: parse type parameters within correct context ([@JLHwung](https://togithub.com/JLHwung)) - `babel-generator`, `babel-parser` - [#14378](https://togithub.com/babel/babel/pull/14378) Parenthesize non-simple decorator expression ([@JLHwung](https://togithub.com/JLHwung)) - `babel-plugin-transform-classes`, `babel-plugin-transform-modules-commonjs`, `babel-preset-env` - [#14366](https://togithub.com/babel/babel/pull/14366) Align named imports behavior in `.mjs` and `.js` files ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-helper-create-class-features-plugin`, `babel-plugin-proposal-class-properties` - [#14351](https://togithub.com/babel/babel/pull/14351) \[setPublicClassFields] Use define for static `name`/`length` ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ##### :nail_care: Polish - `babel-plugin-proposal-decorators` - [#14398](https://togithub.com/babel/babel/pull/14398) Add missing semicolons in 2021-12 decorators output ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ##### :memo: Documentation - [#14397](https://togithub.com/babel/babel/pull/14397) Mention how to report vulns in Babel dependencies ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ##### :house: Internal - Other - [#14419](https://togithub.com/babel/babel/pull/14419) Use `jest-light-runner` from npm ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-cli` - [#14385](https://togithub.com/babel/babel/pull/14385) Fix flaky [@babel/cli](https://togithub.com/babel/cli) test ([@JLHwung](https://togithub.com/JLHwung)) - `babel-helper-function-name`, `babel-helper-get-function-arity` - [#14389](https://togithub.com/babel/babel/pull/14389) Inline `@babel/helper-get-function-arity` package ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-helpers` - [#14343](https://togithub.com/babel/babel/pull/14343) Remove unused `@babel/helpers` code ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-core`, `babel-highlight`, `babel-parser` - [#14377](https://togithub.com/babel/babel/pull/14377) refactor: replace deprecated String.prototype.substr() ([@CommanderRoot](https://togithub.com/CommanderRoot)) ### [`v7.17.8`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v7178-2022-03-18) [Compare Source](https://togithub.com/babel/babel/compare/v7.17.7...v7.17.8) ##### :eyeglasses: Spec Compliance - `babel-helpers`, `babel-plugin-proposal-decorators` - [#14353](https://togithub.com/babel/babel/pull/14353) Update decorators to match latest spec ([@pzuraq](https://togithub.com/pzuraq)) - [#14339](https://togithub.com/babel/babel/pull/14339) Decorators misc fixes ([@JLHwung](https://togithub.com/JLHwung)) ##### :bug: Bug Fix - `babel-plugin-transform-modules-systemjs` - [#14057](https://togithub.com/babel/babel/pull/14057) \[systemjs] Fix nested `let`/`const` shadowing imported bindings ([@The-x-Theorist](https://togithub.com/The-x-Theorist)) - `babel-parser` - [#14362](https://togithub.com/babel/babel/pull/14362) Allow keywords in TS qualified types ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ##### :leftwards_arrow_with_hook: Revert - `babel-parser` - [#14367](https://togithub.com/babel/babel/pull/14367) Defer `prettier/prettier
### [`v2.6.2`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#262) [Compare Source](https://togithub.com/prettier/prettier/compare/2.6.1...2.6.2) [diff](https://togithub.com/prettier/prettier/compare/2.6.1...2.6.2) ##### Fix LESS/SCSS format error ([#12536](https://togithub.com/prettier/prettier/pull/12536) by [@fisker](https://togithub.com/fisker)) ```less // Input .background-gradient(@cut) { background: linear-gradient( to right, @white 0%, @white (@cut - 0.01%), @portal-background @cut, @portal-background 100% ); } // Prettier 2.6.1 TypeError: Cannot read properties of undefined (reading 'endOffset') // Prettier 2.6.2 .background-gradient(@cut) { background: linear-gradient( to right, @white 0%, @white (@cut - 0.01%), @portal-background @cut, @portal-background 100% ); } ``` ##### Update `meriyah` to fix several bugs ([#12567](https://togithub.com/prettier/prettier/pull/12567) by [@fisker](https://togithub.com/fisker), fixes in [`meriyah`](https://togithub.com/meriyah/meriyah/) by [@3cp](https://togithub.com/3cp)) Fixes bugs when parsing following valid code: ```js foo(await bar()); ``` ```js const regex = /.*/ms; ``` ```js const element ={/w/.test(s)}
; ``` ```js class A extends B { #privateMethod() { super.method(); } } ``` ### [`v2.6.1`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#261) [Compare Source](https://togithub.com/prettier/prettier/compare/2.6.0...2.6.1) [diff](https://togithub.com/prettier/prettier/compare/2.6.0...2.6.1) ##### Ignore `loglevel` when printing information ([#12477](https://togithub.com/prettier/prettier/pull/12477) by [@fisker](https://togithub.com/fisker)) ```bash ``` ### [`v2.6.0`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#Prettier-260) [Compare Source](https://togithub.com/prettier/prettier/compare/2.5.1...2.6.0) prettier --loglevel silent --find-config-path index.jsMicrosoft/TypeScript
### [`v4.6.3`](https://togithub.com/Microsoft/TypeScript/releases/v4.6.3) [Compare Source](https://togithub.com/Microsoft/TypeScript/compare/v4.6.2...v4.6.3) This release includes fixes for - [an incremental parsing bug caused by faulty error recovery logic](https://togithub.com/microsoft/TypeScript/issues/47895) - [improved results from the TypeScript API's `preProcessFile` function](https://togithub.com/microsoft/TypeScript/pull/47657) For the complete list of fixed issues, check out the - [fixed issues query for Typescript 4.6.0 (Beta)](https://togithub.com/microsoft/TypeScript/issues?q=milestone%3A%22TypeScript+4.6.0%22+). - [fixed issues query for Typescript 4.6.1 (RC)](https://togithub.com/microsoft/TypeScript/issues?q=milestone%3A%22TypeScript+4.6.1%22+). - [fixed issues query for Typescript 4.6.2 (Stable)](https://togithub.com/microsoft/TypeScript/issues?q=milestone%3A%22TypeScript+4.6.2%22+). - [fixed issues query for Typescript 4.6.3 (Stable)](https://togithub.com/microsoft/TypeScript/issues?q=milestone%3A%22TypeScript+4.6.3%22+). Downloads are available on: - [npm](https://www.npmjs.com/package/typescript)Configuration
📅 Schedule: "before 5am on Monday" (UTC).
🚦 Automerge: Enabled.
♻ 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.
This PR has been generated by WhiteSource Renovate. View repository job log here.