Repository navigation
Respect importInterop: none for dynamic import - #18597
Merged
Merged
Conversation
Use CommonJS options.js fixtures and 7.x snapshot escaping.
babel-bot
commented
Nov 11, 2026
babel-bot
left a comment
Collaborator
Author
There was a problem hiding this comment.
Protected files were modified in this pull request and require manual scrutiny before merge.
Please verify that each protected-file change is intentional, policy-compliant, and safe:
- Protected files:
package.json,yarn.lock
Collaborator
Author
|
Build successful! You can test your changes in the REPL here: https://babeljs.io/repl/build/63230 |
|
commit: |
markharding
pushed a commit
to futo-org/Harbor
that referenced
this pull request
Nov 17, 2026
This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [@babel/runtime](https://babel.dev/docs/en/next/babel-runtime) ([source](https://github.com/babel/babel/tree/HEAD/packages/babel-runtime)) | [`7.29.13` → `7.29.14`](https://renovatebot.com/diffs/npm/@babel%2fruntime/7.29.13/7.29.14) |  |  | --- >⚠️ **Warning** > > Some dependencies could not be looked up. Check the [Dependency Dashboard](issues/2097) for more information. --- ### Release Notes <details> <summary>babel/babel (@​babel/runtime)</summary> ### [`v7.29.14`](https://github.com/babel/babel/releases/tag/v7.29.14) [Compare Source](babel/babel@v7.29.13...v7.29.14) #### v7.29.14 (2026-11-11) ##### 👓 Spec Compliance - `babel-parser` - [#​18543](babel/babel#18543) fix(parser): require `(` after `import.{source,defer,sync}` ([@​babel-bot](https://github.com/babel-bot)) ##### 🐛 Bug Fix - `babel-helper-module-transforms`, `babel-plugin-transform-dynamic-import`, `babel-plugin-transform-modules-amd`, `babel-plugin-transform-modules-commonjs`, `babel-plugin-transform-modules-umd` - [#​18597](babel/babel#18597) Respect `importInterop: none` for dynamic import ([@​babel-bot](https://github.com/babel-bot)) - `babel-helper-member-expression-to-functions`, `babel-plugin-transform-classes`, `babel-plugin-transform-object-super`, `babel-plugin-transform-private-methods` - [#​18595](babel/babel#18595) Keep the receiver of TS-wrapped `super` and private member calls ([@​babel-bot](https://github.com/babel-bot)) - `babel-parser` - [#​18596](babel/babel#18596) fix(parser): allow ASI between modifier-like field and [@​dec](https://github.com/dec) ([@​babel-bot](https://github.com/babel-bot)) - [#​18588](babel/babel#18588) fix(parser): rework ts arrow param tracking ([@​babel-bot](https://github.com/babel-bot)) - [#​18542](babel/babel#18542) fix(parser): handle async do await in parameters ([@​babel-bot](https://github.com/babel-bot)) - `babel-helper-string-parser`, `babel-parser` - [#​18591](babel/babel#18591) fix(parser): recover from out-of-range `\u{...}` code points ([@​babel-bot](https://github.com/babel-bot)) - `babel-generator` - [#​18585](babel/babel#18585) fix(generator): keep parens that end an optional chain before ([@​babel-bot](https://github.com/babel-bot)) - `babel-plugin-transform-class-static-block` - [#​18579](babel/babel#18579) fix(class-static-block): skip class body path with stale ancestry ([@​babel-bot](https://github.com/babel-bot)) - `babel-helper-module-transforms`, `babel-parser`, `babel-plugin-transform-modules-commonjs`, `babel-plugin-transform-react-pure-annotations`, `babel-plugin-transform-typescript`, `babel-traverse`, `babel-types` - [#​18574](babel/babel#18574) fix: improve string module specifiers support ([@​babel-bot](https://github.com/babel-bot)) - `babel-plugin-transform-flow-comments` - [#​18573](babel/babel#18573) fix(flow-comments): support anonymous classes ([@​babel-bot](https://github.com/babel-bot)) - `babel-plugin-transform-block-scoping`, `babel-traverse` - [#​18571](babel/babel#18571) fix: rename assignment targets in forXStatement ([@​babel-bot](https://github.com/babel-bot)) - `babel-helpers`, `babel-plugin-transform-async-generator-functions`, `babel-plugin-transform-regenerator`, `babel-preset-env`, `babel-runtime-corejs3` - [#​18569](babel/babel#18569) fix(regenerator): dispatch pending jump after finally to outer finally blocks ([@​babel-bot](https://github.com/babel-bot)) ##### 🏠 Internal - [#​18575](babel/babel#18575) ci: do not run hooks of skipped describe blocks on Jest 24 ([@​JLHwung](https://github.com/JLHwung)) ##### Committers: 2 - Babel Bot ([@​babel-bot](https://github.com/babel-bot)) - Huáng Jùnliàng ([@​JLHwung](https://github.com/JLHwung)) </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - "before 9am on tuesday" - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4yMjcuNCIsInVwZGF0ZWRJblZlciI6IjQ0LjIyNy40IiwidGFyZ2V0QnJhbmNoIjoiZGV2ZWxvcCIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiLCJyZW5vdmF0ZSJdfQ==--> Reviewed-on: https://code.futo.org/harbor/harbor/pulls/2332
This was referenced Nov 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Caution
Protected files were modified in this change.
This pull request is in
request-reviewmode and requires explicit human scrutiny before merge.Protected files:
package.json,yarn.lockBackport of #18589 to 7.x
Cherry-picked commits:
importInterop: nonefor dynamic import (RespectimportInterop: nonefor dynamic import #18589)Conflicts: Resolved.
packages/babel-helper-module-transforms/src/index.ts: 7.x still hasnoInteropdestructured as a parameter (main reads it fromarguments[1]); kept the 7.x form. Only the@deprecateddoc comment was taken.packages/babel-plugin-transform-modules-amd/src/index.ts: 7.x had the oldnoInterop-based dynamic import code; took the newshouldSkipInteropHelper-based logic and theimportInterop = options.noInterop ? "none" : "babel"default.packages/babel-plugin-transform-modules-commonjs/src/dynamic-import.ts:transformDynamicImportnow takesimportInteropinstead of thenoInteropboolean, as in the original PR.Fix commit: "Fix tests for 7.x after backporting #18589"
options.jsfixtures inbabel-plugin-transform-dynamic-importusemodule.exportsplus apackage.jsonwith"type": "commonjs", because that package is ESM on 7.x and the fixture loader usesrequire.importInterop-function.jstests were regenerated, because 7.x's Jest escapes quotes.Checks:
babel-code-frame/test/color-detection.js, which is unrelated (environment).check-compat-datacould not run because the sandbox blocks cloning compat-table (SSL), andtscreports errors inbabel-types/scripts/generators(also unrelated). Prettier passed.@babel/plugin-transform-dynamic-importlinked as a workspace dependency, which this sandbox lacked (no install). I linked it temporarily to verify, then restored it. Thepackage.jsonandyarn.lockchanges are included from the original PR.Warning
Firewall blocked 1 domain
The following domain was blocked by the firewall during workflow execution:
github.comTo allow these domains, add them to the
network.allowedlist in your workflow frontmatter:See Network Configuration for more information.