Skip to content

Remove corejs exports for @babe/runtime-corejs3#18036

Merged
nicolo-ribaudo merged 4 commits into
babel:mainfrom
liuxingbaoyu:remove-runtime-exports
Jun 14, 2026
Merged

Remove corejs exports for @babe/runtime-corejs3#18036
nicolo-ribaudo merged 4 commits into
babel:mainfrom
liuxingbaoyu:remove-runtime-exports

Conversation

@liuxingbaoyu

Copy link
Copy Markdown
Member
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

We stopped maintaining this list a long time ago.

"import": "./helpers/esm/writeOnlyError.js",
"default": "./helpers/writeOnlyError.js"
},
"./package": "./package.json",

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

@babel-bot

babel-bot commented May 30, 2026

Copy link
Copy Markdown
Collaborator

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

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 61695487cc

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread packages/babel-plugin-transform-runtime/scripts/build-dist.ts
@pkg-pr-new

pkg-pr-new Bot commented May 30, 2026

Copy link
Copy Markdown

Open in StackBlitz

commit: 3f62ff5

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: e291ff0126

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread test/runtime-integration/src/main-cjs.cjs
Comment thread packages/babel-plugin-transform-runtime/scripts/build-dist.ts

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 56eaed3ad0

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread test/runtime-integration/src/main-esm.mjs
@nicolo-ribaudo nicolo-ribaudo added the PR: Breaking Change 💥 A type of pull request used for our changelog categories for next major release label May 31, 2026

@nicolo-ribaudo nicolo-ribaudo left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Good catch :) This should really not be needed anymore now that we inject imports directly to core-js-pure.

@nicolo-ribaudo

Copy link
Copy Markdown
Member

@liuxingbaoyu What type of docs do you think this PR needs? As no Babel 8 version of @babel/plugin-transform-runtime injects imports to core-js entrypoints, this should be already be covered by https://babeljs.io/docs/v8-migration#babel-plugin-transform-runtime, which tells users that they need to use babel-plugin-polyfill-corejs3 instead (which never injected imports to anything other than core-js-pure).

@liuxingbaoyu

Copy link
Copy Markdown
Member Author

Oh, it seems documentation is no longer needed.

@nicolo-ribaudo nicolo-ribaudo merged commit ef2a7aa into babel:main Jun 14, 2026
57 checks passed
devin-ai-integration Bot added a commit to aneeshacognition/superset that referenced this pull request Jun 26, 2026
@babel/runtime-corejs3 v8.0.0 removed the core-js re-exports (babel/babel#18036).
Drop the corejs:3 option from @babel/plugin-transform-runtime since polyfilling
is already handled by @babel/preset-env with useBuiltIns:'usage'. Remove the now-
unused @babel/runtime-corejs3 dev dependency.

Co-Authored-By: bot_apk <apk@cognition.ai>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR: Breaking Change 💥 A type of pull request used for our changelog categories for next major release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants