Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix: always initialize ExportDeclaration attributes#17164

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
JLHwung merged 8 commits intobabel:mainfromJLHwung:fix-failing-main
Mar 6, 2025

Conversation

JLHwung
Copy link
Contributor

@JLHwungJLHwung commentedMar 6, 2025
edited
Loading

Q                      A
Fixed Issues?Failing e2e test:https://github.com/babel/babel/actions/runs/13684336191/job/38264467179?pr=17163
Patch: Bug Fix?
Major: Breaking Change?
Minor: New Feature?
Tests Added + Pass?Yes
Documentation PR Link
Any Dependency Changes?
LicenseMIT

The CI is failing because recently espree supported the ES2025 import attributes. espree always initializeattributes for the export declaration while Babel only do so when we see thefrom ... source.

I think this is a bug for us since we already handle it in the espree's way for the legacy import assertions, but somehow it is overlooked in import attributes. Here we will initializeattributes property unlessimportAssertions plugin is enabled.

nicolo-ribaudo reacted with thumbs up emoji
@JLHwungJLHwung added PR: Bug Fix 🐛A type of pull request used for our changelog categories PR: Fixes failing main labelsMar 6, 2025
@babel-bot
Copy link
Collaborator

babel-bot commentedMar 6, 2025
edited
Loading

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

@JLHwungJLHwung merged commit74f5d6d intobabel:mainMar 6, 2025
55 checks passed
@JLHwungJLHwung deleted the fix-failing-main branchMarch 6, 2025 20:29
laine-hallot pushed a commit to laine-hallot/uwu-parser that referenced this pull requestMar 31, 2025
* chore: bump eslint and espree* fix: always initialize ExportDeclaration attributes* update AST fixtures* fix: initialize attributes when importAssertions is not enabled* update AST fixtures* update test snapshot* update Makefile.js* update Babel 8 AST fixtures
@github-actionsgithub-actionsbot added the outdatedA closed issue/PR that is archived due to age. Recommended to make a new issue labelJun 6, 2025
@github-actionsgithub-actionsbot locked asresolvedand limited conversation to collaboratorsJun 6, 2025
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@nicolo-ribaudonicolo-ribaudonicolo-ribaudo approved these changes

Assignees
No one assigned
Labels
outdatedA closed issue/PR that is archived due to age. Recommended to make a new issuePR: Bug Fix 🐛A type of pull request used for our changelog categoriesPR: Fixes failing main
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@JLHwung@babel-bot@nicolo-ribaudo

[8]ページ先頭

©2009-2025 Movatter.jp