IBM-Developer
IBM-Developer copied to clipboard
Bump @babel/traverse and babel-eslint in /Node.js/Course/Unit-8
Bumps @babel/traverse to 7.23.2 and updates ancestor dependency babel-eslint. These dependencies need to be updated together.
Updates @babel/traverse from 7.0.0-beta.44 to 7.23.2
Release notes
Sourced from @babel/traverse's releases.
v7.23.2 (2023-10-11)
NOTE: This release also re-publishes
@babel/core, even if it does not appear in the linked release commit.Thanks
@jimmydieffor your first PR!:bug: Bug Fix
babel-traverse
- #16033 Only evaluate own String/Number/Math methods (
@nicolo-ribaudo)babel-preset-typescript
- #16022 Rewrite
.tsxextension when usingrewriteImportExtensions(@jimmydief)babel-helpersbabel-helpers,babel-plugin-transform-modules-commonjs,babel-runtime-corejs2,babel-runtime-corejs3,babel-runtime
- #16025 Avoid override mistake in namespace imports (
@nicolo-ribaudo)Committers: 5
- Babel Bot (
@babel-bot)- Huáng Jùnliàng (
@JLHwung)- James Diefenderfer (
@jimmydief)- Nicolò Ribaudo (
@nicolo-ribaudo)@liuxingbaoyuv7.23.1 (2023-09-25)
Re-publishing
@babel/helpersdue to a publishing error in 7.23.0.v7.23.0 (2023-09-25)
Thanks
@lorenzoferreand@RajShukla1for your first PRs!:rocket: New Feature
babel-plugin-proposal-import-wasm-source,babel-plugin-syntax-import-source,babel-plugin-transform-dynamic-import
- #15870 Support transforming
import sourcefor wasm (@nicolo-ribaudo)babel-helper-module-transforms,babel-helpers,babel-plugin-proposal-import-defer,babel-plugin-syntax-import-defer,babel-plugin-transform-modules-commonjs,babel-runtime-corejs2,babel-runtime-corejs3,babel-runtime,babel-standalone
- #15878 Implement
import deferproposal transform support (@nicolo-ribaudo)babel-generator,babel-parser,babel-types
- #15845 Implement
import deferparsing support (@nicolo-ribaudo)- #15829 Add parsing support for the "source phase imports" proposal (
@nicolo-ribaudo)babel-generator,babel-helper-module-transforms,babel-parser,babel-plugin-transform-dynamic-import,babel-plugin-transform-modules-amd,babel-plugin-transform-modules-commonjs,babel-plugin-transform-modules-systemjs,babel-traverse,babel-typesbabel-standalonebabel-helper-function-name,babel-helper-member-expression-to-functions,babel-helpers,babel-parser,babel-plugin-proposal-destructuring-private,babel-plugin-proposal-optional-chaining-assign,babel-plugin-syntax-optional-chaining-assign,babel-plugin-transform-destructuring,babel-plugin-transform-optional-chaining,babel-runtime-corejs2,babel-runtime-corejs3,babel-runtime,babel-standalone,babel-types
- #15751 Add support for optional chain in assignments (
@nicolo-ribaudo)babel-helpers,babel-plugin-proposal-decorators
- #15895 Implement the "decorator metadata" proposal (
@nicolo-ribaudo)babel-traverse,babel-types
- #15893 Add
t.buildUndefinedNode(@liuxingbaoyu)babel-preset-typescript
... (truncated)
Changelog
Sourced from @babel/traverse's changelog.
v7.23.2 (2023-10-11)
:bug: Bug Fix
babel-traverse
- #16033 Only evaluate own String/Number/Math methods (
@nicolo-ribaudo)babel-preset-typescript
- #16022 Rewrite
.tsxextension when usingrewriteImportExtensions(@jimmydief)babel-helpersbabel-helpers,babel-plugin-transform-modules-commonjs,babel-runtime-corejs2,babel-runtime-corejs3,babel-runtime
- #16025 Avoid override mistake in namespace imports (
@nicolo-ribaudo)v7.23.0 (2023-09-25)
:rocket: New Feature
babel-plugin-proposal-import-wasm-source,babel-plugin-syntax-import-source,babel-plugin-transform-dynamic-import
- #15870 Support transforming
import sourcefor wasm (@nicolo-ribaudo)babel-helper-module-transforms,babel-helpers,babel-plugin-proposal-import-defer,babel-plugin-syntax-import-defer,babel-plugin-transform-modules-commonjs,babel-runtime-corejs2,babel-runtime-corejs3,babel-runtime,babel-standalone
- #15878 Implement
import deferproposal transform support (@nicolo-ribaudo)babel-generator,babel-parser,babel-types
- #15845 Implement
import deferparsing support (@nicolo-ribaudo)- #15829 Add parsing support for the "source phase imports" proposal (
@nicolo-ribaudo)babel-generator,babel-helper-module-transforms,babel-parser,babel-plugin-transform-dynamic-import,babel-plugin-transform-modules-amd,babel-plugin-transform-modules-commonjs,babel-plugin-transform-modules-systemjs,babel-traverse,babel-typesbabel-standalonebabel-helper-function-name,babel-helper-member-expression-to-functions,babel-helpers,babel-parser,babel-plugin-proposal-destructuring-private,babel-plugin-proposal-optional-chaining-assign,babel-plugin-syntax-optional-chaining-assign,babel-plugin-transform-destructuring,babel-plugin-transform-optional-chaining,babel-runtime-corejs2,babel-runtime-corejs3,babel-runtime,babel-standalone,babel-types
- #15751 Add support for optional chain in assignments (
@nicolo-ribaudo)babel-helpers,babel-plugin-proposal-decorators
- #15895 Implement the "decorator metadata" proposal (
@nicolo-ribaudo)babel-traverse,babel-types
- #15893 Add
t.buildUndefinedNode(@liuxingbaoyu)babel-preset-typescript
- #15913 Add
rewriteImportExtensionsoption to TS preset (@nicolo-ribaudo)babel-parser
- #15896 Allow TS tuples to have both labeled and unlabeled elements (
@yukukotani):bug: Bug Fix
babel-plugin-transform-block-scoping
- #15962 fix:
transform-block-scopingcaptures the variables of the method in the loop (@liuxingbaoyu):nail_care: Polish
babel-traverse
- #15797 Expand evaluation of global built-ins in
@babel/traverse(@lorenzoferre)babel-plugin-proposal-explicit-resource-management
- #15985 Improve source maps for blocks with
usingdeclarations (@nicolo-ribaudo):microscope: Output optimization
babel-core,babel-helper-module-transforms,babel-plugin-transform-async-to-generator,babel-plugin-transform-classes,babel-plugin-transform-dynamic-import,babel-plugin-transform-function-name,babel-plugin-transform-modules-amd,babel-plugin-transform-modules-commonjs,babel-plugin-transform-modules-umd,babel-plugin-transform-parameters,babel-plugin-transform-react-constant-elements,babel-plugin-transform-react-inline-elements,babel-plugin-transform-runtime,babel-plugin-transform-typescript,babel-preset-env
- #15984 Inline
exports.XXX =update in simple variable declarations (@nicolo-ribaudo)v7.22.20 (2023-09-16)
... (truncated)
Commits
b4b9942v7.23.2b13376bOnly evaluate own String/Number/Math methods (#16033)ca58ec1v7.23.00f333daAddcreateImportExpressionsparser option (#15682)3744545Fix lintingc7e6806Addt.buildUndefinedNode(#15893)38ee8b4Expand evaluation of global built-ins in@babel/traverse(#15797)9f3dfd9v7.22.203ed28b2Fully support||and&&inpluginToggleBooleanFlag(#15961)77b0d73v7.22.19- Additional commits viewable in compare view
Maintainer changes
This version was pushed to npm by nicolo-ribaudo, a new releaser for @babel/traverse since your current version.
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
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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.