Bump @babel/traverse and babel-eslint
Bumps @babel/traverse to 7.24.5 and updates ancestor dependency babel-eslint. These dependencies need to be updated together.
Updates @babel/traverse from 7.12.5 to 7.24.5
Release notes
Sourced from @babel/traverse's releases.
v7.24.5 (2024-04-29)
Thanks
@romgrkand@sossostfor your first PRs!:bug: Bug Fix
babel-plugin-transform-classes,babel-traverse
- #16377 fix: TypeScript annotation affects output (
@liuxingbaoyu)babel-helpers,babel-plugin-proposal-explicit-resource-management,babel-runtime-corejs3:nail_care: Polish
:house: Internal
- Other
- #16414 Relax ESLint peerDependency constraint to allow v9 (
@liuxingbaoyu)babel-parser
- #16425 Improve
@babel/parserAST types (@nicolo-ribaudo)- #16417 Always pass type argument to
.startNode(@nicolo-ribaudo)babel-helper-create-class-features-plugin,babel-helper-member-expression-to-functions,babel-helper-module-transforms,babel-helper-split-export-declaration,babel-helper-wrap-function,babel-helpers,babel-plugin-bugfix-firefox-class-in-computed-class-key,babel-plugin-proposal-explicit-resource-management,babel-plugin-transform-block-scoping,babel-plugin-transform-destructuring,babel-plugin-transform-object-rest-spread,babel-plugin-transform-optional-chaining,babel-plugin-transform-parameters,babel-plugin-transform-private-property-in-object,babel-plugin-transform-react-jsx-self,babel-plugin-transform-typeof-symbol,babel-plugin-transform-typescript,babel-traverse
- #16439 Make
NodePath<T | U>distributive (@nicolo-ribaudo)babel-plugin-proposal-partial-application,babel-types
- #16421 Remove
JSXNamespacedNamefrom validCallExpressionargs (@nicolo-ribaudo)babel-plugin-transform-class-properties,babel-preset-env
- #16406 Do not load unnecessary Babel 7 syntax plugins in Babel 8 (
@nicolo-ribaudo):running_woman: Performance
babel-helpers,babel-preset-env,babel-runtime-corejs3Committers: 6
- Babel Bot (
@babel-bot)- Huáng Jùnliàng (
@JLHwung)- Nicolò Ribaudo (
@nicolo-ribaudo)- Rom Grk (
@romgrk)@liuxingbaoyu- ynnsuis (
@sossost)v7.24.4 (2024-04-03)
Thanks
@Dunqing,@luiscubal, and@samualtnormanfor your first PRs!:eyeglasses: Spec Compliance
... (truncated)
Changelog
Sourced from @babel/traverse's changelog.
v7.24.5 (2024-04-29)
:bug: Bug Fix
babel-plugin-transform-classes,babel-traverse
- #16377 fix: TypeScript annotation affects output (
@liuxingbaoyu)babel-helpers,babel-plugin-proposal-explicit-resource-management,babel-runtime-corejs3:nail_care: Polish
:house: Internal
- Other
- #16414 Relax ESLint peerDependency constraint to allow v9 (
@liuxingbaoyu)babel-parser
- #16425 Improve
@babel/parserAST types (@nicolo-ribaudo)- #16417 Always pass type argument to
.startNode(@nicolo-ribaudo)babel-helper-create-class-features-plugin,babel-helper-member-expression-to-functions,babel-helper-module-transforms,babel-helper-split-export-declaration,babel-helper-wrap-function,babel-helpers,babel-plugin-bugfix-firefox-class-in-computed-class-key,babel-plugin-proposal-explicit-resource-management,babel-plugin-transform-block-scoping,babel-plugin-transform-destructuring,babel-plugin-transform-object-rest-spread,babel-plugin-transform-optional-chaining,babel-plugin-transform-parameters,babel-plugin-transform-private-property-in-object,babel-plugin-transform-react-jsx-self,babel-plugin-transform-typeof-symbol,babel-plugin-transform-typescript,babel-traverse
- #16439 Make
NodePath<T | U>distributive (@nicolo-ribaudo)babel-plugin-proposal-partial-application,babel-types
- #16421 Remove
JSXNamespacedNamefrom validCallExpressionargs (@nicolo-ribaudo)babel-plugin-transform-class-properties,babel-preset-env
- #16406 Do not load unnecessary Babel 7 syntax plugins in Babel 8 (
@nicolo-ribaudo):running_woman: Performance
babel-helpers,babel-preset-env,babel-runtime-corejs3v7.24.4 (2024-04-03)
:eyeglasses: Spec Compliance
babel-parserbabel-helpers,babel-plugin-proposal-decorators,babel-runtime-corejs3:bug: Bug Fix
babel-generator
- #16402 fix: Correctly prints
{ [key in Bar]? }(@liuxingbaoyu)- #16394 fix: Correctly generate
TSMappedType(@liuxingbaoyu)babel-compat-data,babel-plugin-bugfix-firefox-class-in-computed-class-key,babel-preset-env
- #16390 Create bugfix plugin for classes in computed keys in Firefox (
@nicolo-ribaudo)babel-helper-create-class-features-plugin,babel-plugin-proposal-decorators
- #16387 fix: support mutated outer decorated class binding (
@JLHwung)- #16385 fix: Decorators when
super()exists andprotoInitis not needed (@liuxingbaoyu)babel-plugin-transform-block-scoping
- #16384 fix: Transform scoping for
for Xin loop (@liuxingbaoyu)- #16368 fix: Capture
letwhen theforbody is not a block (@liuxingbaoyu)babel-core,babel-plugin-transform-block-scoped-functions,babel-plugin-transform-block-scoping
... (truncated)
Commits
ddbea7dv7.24.5e779cadfix: TypeScript annotation affects output (#16377)ee48754Use multiple TypeScript projects (#16430)4d8b2d0MakeNodePath\<T | U>distributive (#16439)a84ec28Enableeqeqeqrule (#16404)822b025v7.24.1fc0d5adUpdate typescript and lint tools (#16351)69e7928Consider well-known and registered symbols as literals (#16342)40110e9Update source map deps (#16327)ce59160v7.24.0- Additional commits viewable in compare view
Updates babel-eslint from 8.2.6 to 10.1.0
Release notes
Sourced from babel-eslint's releases.
v10.1.0
v10.0.3
Fixes babel/babel-eslint#791, also eslint/eslint#12117
Some context: babel/babel-eslint#793
We ended up going with
@JLHwung's PR babel/babel-eslint#794 which uses ESLint's deps instead of going with peerDeps since it really depends on the version being used and we don't want users to have to install it directly on their own.babel-eslint is patching patches of the dependencies of ESLint itself so these kinds of issues have happened in the past. We'll need to look into figuring out how to have a more solid way of modifying behavior instead of this monkeypatching type of thing for future releases.
v10.0.2
Fixes babel/babel-eslint#772
v10.0.1
- Reverting babel/babel-eslint#584
The
TypeAlias"conversion" to a function has issues. Sounds like we need to rethink the change, most likely we can just actually change the scoping rather than hardcode an AST change.v10.0.0
Small breaking change: add a peerDependency starting from the ESLint version that added a parser feature that we were monkeypatching before (and drop that code). If already using ESLint 5 shouldn't be any different.
- Bugfix for
TypeAlias: babel/babel-eslint#584/* @flow */ type Node<T> = { head: T; tail: Node<T> }// or
type File = {chunks: Array<Chunk>} type Chunk = {file: File}
- Update to test against ESLint 5, add a peerDependency: babel/babel-eslint#689
- Drop monkeypatching behavior: babel/babel-eslint#690
v9.0.0
We've released v7: https://twitter.com/left_pad/status/1034204330352500736, so this just updates babel-eslint to use those versions internally. That in itself doesn't break anything but:
- Babel now supports the new decorators proposal by default, so we need to switch between the new and the old proposal. This is a breaking change.
To enable the legacy decorators proposal users should add a specific parser option:
{ </tr></table>
... (truncated)
Commits
4bd049e10.1.02c754a8Update Babel to ^7.7.0 and enable Flow enums parsing (#812)183d13e10.0.3354953dfix: require eslint dependencies from eslint base (#794)48f6d7810.0.20241b48removed unused file reference (#773)4cf0a2110.0.198c1f13Revert #584 (#697)8f78e2810.0.0717fba7test value should be switched- Additional commits viewable in compare view
You can trigger a rebase of this PR by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency -
@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the Security Alerts page.
Note Automatic rebases have been disabled on this pull request as it has been open for over 30 days.