Skip to content

Conversation

@liuxingbaoyu
Copy link
Member

@liuxingbaoyu liuxingbaoyu commented Mar 23, 2023

Q                       A
Fixed Issues? Fixes #1, Fixes #2
Patch: Bug Fix?
Major: Breaking Change?
Minor: New Feature?
Tests Added + Pass? Yes
Documentation PR Link
Any Dependency Changes?
License MIT

ref: #15478

During the migration I found two bugs, but luckily they worked by accident.

Comment on lines -740 to +777
pathUtils.join(dir, `${source.value}/package.json`)
),
"utf8"
pathUtils.join(dir, `${source.value}/package.json`),
"utf8"
)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Previously we accidentally passed utf8 to JSON.parse.

{
configFile: false,
parserOpts: { attachComments: false, plugins: ["typescript"] },
parserOpts: { attachComment: false, plugins: ["typescript"] },
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is a typo here.

@babel-bot
Copy link
Collaborator

babel-bot commented Mar 31, 2023

Build successful! You can test your changes in the REPL here: https://babeljs.io/repl/build/54216/

const { source } = node;
if (!source) return;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change is causing the CI failure

@liuxingbaoyu
Copy link
Member Author

This seems to be a compatibility issue with older versions of jest, I'll look into it.

@github-actions github-actions bot added the outdated A closed issue/PR that is archived due to age. Recommended to make a new issue label Dec 22, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

outdated A closed issue/PR that is archived due to age. Recommended to make a new issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants