Repository navigation
Remove exported TS types named like JavaScript globals - #18601
Merged
Merged
Conversation
Collaborator
Author
|
Build successful! You can test your changes in the REPL here: https://babeljs.io/repl/build/63249 |
|
commit: |
markharding
pushed a commit
to futo-org/Harbor
that referenced
this pull request
Nov 24, 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.14` → `7.29.15`](https://renovatebot.com/diffs/npm/@babel%2fruntime/7.29.14/7.29.15) |  |  | --- >⚠️ **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.15`](https://github.com/babel/babel/releases/tag/v7.29.15) [Compare Source](babel/babel@v7.29.14...v7.29.15) #### v7.29.15 (2026-11-20) ##### 👓 Spec Compliance - `babel-helpers`, `babel-plugin-transform-optional-chaining`, `babel-plugin-transform-regenerator`, `babel-plugin-transform-spread`, `babel-runtime-corejs2`, `babel-runtime-corejs3`, `babel-runtime` - [#​18614](babel/babel#18614) fix(transform-spread): evaluate arguments before checking callee ([@​babel-bot](https://github.com/babel-bot)) ##### 🐛 Bug Fix - `babel-generator` - [#​18675](babel/babel#18675) fix(generator): ensure `minified` generator roundtrip ([@​babel-bot](https://github.com/babel-bot)) - `babel-plugin-transform-block-scoping`, `babel-plugin-transform-explicit-resource-management` - [#​18674](babel/babel#18674) fix: support using in for lexcial declaration ([@​babel-bot](https://github.com/babel-bot)) - `babel-plugin-transform-modules-systemjs`, `babel-plugin-transform-regenerator` - [#​18672](babel/babel#18672) fix(modules-systemjs): throw on top level using declaration ([@​babel-bot](https://github.com/babel-bot)) - `babel-plugin-transform-modules-systemjs` - [#​18671](babel/babel#18671) fix(modules-systemjs): support `export * as ns from` and `export v from` ([@​babel-bot](https://github.com/babel-bot)) - `babel-helper-import-to-platform-api`, `babel-plugin-transform-json-modules` - [#​18668](babel/babel#18668) fix(json, text, bytes modules): keep both default and namespace imports ([@​babel-bot](https://github.com/babel-bot)) - `babel-plugin-transform-duplicate-keys` - [#​18646](babel/babel#18646) fix: do not make `__proto__` setters computed ([@​babel-bot](https://github.com/babel-bot)) - `babel-plugin-transform-spread` - [#​18664](babel/babel#18664) fix(transform-spread): copy constant array when later elements have side effects ([@​babel-bot](https://github.com/babel-bot)) - `babel-helper-wrap-function`, `babel-plugin-transform-async-to-generator` - [#​18667](babel/babel#18667) fix: preserve comments following async function wrappers ([@​babel-bot](https://github.com/babel-bot)) - `babel-generator`, `babel-parser`, `babel-types` - [#​18657](babel/babel#18657) fix(generator): add roundtrip test and fix reported bugs ([@​babel-bot](https://github.com/babel-bot)) - `babel-parser` - [#​18656](babel/babel#18656) fix(parser): check async arrow conditions for Flow generic async arrows ([@​babel-bot](https://github.com/babel-bot)) - [#​18637](babel/babel#18637) fix: report a redeclared label once in error recovery mode ([#​18606](babel/babel#18606)) ([@​JLHwung](https://github.com/JLHwung)) - [#​18611](babel/babel#18611) fix: do not keep elided call arguments in error recovery ([@​babel-bot](https://github.com/babel-bot)) - [#​18609](babel/babel#18609) fix: start recovered AssignmentPattern at the property key ([@​babel-bot](https://github.com/babel-bot)) - `babel-plugin-transform-regenerator` - [#​18650](babel/babel#18650) fix(regenerator): throw on `using` declarations ([@​babel-bot](https://github.com/babel-bot)) - `babel-plugin-proposal-export-default-from`, `babel-plugin-transform-export-namespace-from` - [#​18645](babel/babel#18645) Keep import attributes whe transforming export namespace ([@​babel-bot](https://github.com/babel-bot)) - `babel-plugin-transform-computed-properties` - [#​18642](babel/babel#18642) fix(computed-properties): keep object spread elements ([@​babel-bot](https://github.com/babel-bot)) - `babel-generator`, `babel-parser` - [#​18635](babel/babel#18635) fix(parser): handle `module` as an identifier after class extends ([@​babel-bot](https://github.com/babel-bot)) - `babel-helper-string-parser`, `babel-parser` - [#​18636](babel/babel#18636) fix: don't advance past EOF on an unterminated Unicode code point escape ([@​JLHwung](https://github.com/JLHwung)) - `babel-plugin-transform-explicit-resource-management` - [#​18631](babel/babel#18631) fix(explicit-resource-management): keep await using in for-of heads ([@​babel-bot](https://github.com/babel-bot)) - `babel-plugin-transform-for-of` - [#​18616](babel/babel#18616) fix(for-of): also check the names the head reads ([@​babel-bot](https://github.com/babel-bot)) - `babel-plugin-transform-typescript` - [#​18601](babel/babel#18601) Remove exported TS types named like JavaScript globals ([@​babel-bot](https://github.com/babel-bot)) ##### 🏠 Internal - `babel-parser`, `babel-traverse`, `babel-types` - [#​18670](babel/babel#18670) improve type checking speed ([@​babel-bot](https://github.com/babel-bot)) ##### 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:eyJjcmVhdGVkSW5WZXIiOiI0NC4yNTIuMCIsInVwZGF0ZWRJblZlciI6IjQ0LjI1Mi4wIiwidGFyZ2V0QnJhbmNoIjoiZGV2ZWxvcCIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiLCJyZW5vdmF0ZSJdfQ==--> Reviewed-on: https://code.futo.org/harbor/harbor/pulls/2456
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.
Backport of #18501 to 7.x
Cherry-picked commits:
Conflicts: Resolved.
packages/babel-plugin-transform-typescript/src/global-types.ts:mainhasGLOBAL_TYPES.get(scope)!(non-null assertion) while 7.x hasGLOBAL_TYPES.get(scope). I applied the PR's logic (hasBinding(name, { noGlobals: true })first, then the global-types lookup, then the builtin check) and kept the 7.x form without!.Checks:
packages/babel-code-frame/test/color-detection.js(terminal color detection). This is unrelated to the backport and I did not fix it. All the transform-typescript tests, including the new fixture, pass.make lint-ciwas killed with exit code 137 (likely out of memory in the sandbox), so it did not complete. Not verified.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.