Skip to content

fix(lint): avoid URLPattern redeclaration with typescript-eslint 8.58#2633

Draft
cursor[bot] wants to merge 3 commits intomainfrom
jkt/auto/dependency-update-review-7e17
Draft

fix(lint): avoid URLPattern redeclaration with typescript-eslint 8.58#2633
cursor[bot] wants to merge 3 commits intomainfrom
jkt/auto/dependency-update-review-7e17

Conversation

@cursor
Copy link
Copy Markdown
Contributor

@cursor cursor bot commented Apr 13, 2026

Asana Task/Github Issue: N/A

Description

Adjust injected/src/config-feature.js to import the URLPattern polyfill using an alias (URLPatternPolyfill) and use that alias at callsites. This avoids ESLint duplicate global handling introduced by the typescript-eslint 8.58.x update while preserving runtime behavior.

Testing Steps

  • Run npx eslint injected/src/config-feature.js from repo root
  • Confirm there are no lint errors

Checklist

Please tick all that apply:

  • I have tested this change locally
  • I have tested this change locally in all supported browsers
  • This change will be visible to users
  • I have added automated tests that cover this change
  • I have ensured the change is gated by config
  • This change was covered by a ship review
  • This change was covered by a tech design
  • Any dependent config has been merged
Open in Web View Automation 

dependabot bot and others added 3 commits April 13, 2026 13:09
Bumps [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) from 8.57.2 to 8.58.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.58.1/packages/typescript-eslint)

---
updated-dependencies:
- dependency-name: typescript-eslint
  dependency-version: 8.58.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Jonathan Kingston <jonathanKingston@users.noreply.github.com>
Co-authored-by: Jonathan Kingston <jonathanKingston@users.noreply.github.com>
@github-actions github-actions bot added the semver-patch Bug fix / internal — no release needed label Apr 13, 2026
@github-actions
Copy link
Copy Markdown
Contributor

[Beta] Generated file diff

Time updated: Mon, 13 Apr 2026 13:22:22 GMT

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

semver-patch Bug fix / internal — no release needed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant