build(deps-dev): bump the typescript group across 1 directory with 4 updates#2602
build(deps-dev): bump the typescript group across 1 directory with 4 updates#2602dependabot[bot] wants to merge 1 commit into
Conversation
|
Suggested comment for Cursor review (copy and paste as a new comment): Note: GitHub Actions bot cannot trigger Cursor agent directly. Please copy the above comment to invoke the review. |
There was a problem hiding this comment.
Stale comment
Web Compatibility Assessment
- No findings that impact injected runtime behavior.
package.json(line range:55-57) andinjected/package.json(line range:51-54) only bump dev-time typing/tooling packages (typescript,typedoc,@types/*). No browser API wrappers, shims, prototype patches, feature lifecycle code, or message bridge/runtime paths are modified.package-lock.json(line range: broad lockfile regeneration) reflects transitive dependency resolution only; no shipped injected source or special-pages runtime code paths changed.Security Assessment
- No security findings in the injected threat model scope (no changes to
captured-globals, wrapper utilities, bridge/message transports, origin checks, iframe handling, or network/data-exfiltration paths).package-lock.jsonchanges are dependency metadata updates in the build toolchain and do not introduce new runtime attack surface in page-world injected scripts.Risk Level
Low Risk — this PR is dependency/tooling-only and does not alter runtime JavaScript behavior executed on third-party pages.
Recommendations
- Run CI gates that exercise toolchain compatibility (
npm run lint,npm run test-unit, and build) becausetypescriptis now6.0.2whiletypescript-eslintstill declares<6.0.0peers; lockfile nesting appears to work around this, but verification should remain mandatory.- Keep this PR constrained to tooling updates only; if follow-up fixes are needed for TS 6 diagnostics, land them in a separate PR to preserve rollback clarity.
- If lint/parser instability appears, alternative mitigation is pinning root
typescriptback to5.9.xuntil an upstreamtypescript-eslintrelease widens peer support.Sent by Cursor Automation: Web compat and sec
There was a problem hiding this comment.
Stale comment
Findings
- Blocking (confirmed): this update is currently unmergeable due to a hard peer-dependency conflict.
package.jsonbumpstypescriptto^6.0.2whiletypescript-eslintremains^8.57.2.- In
package-lock.json,typescript-eslint@8.57.2declarespeerDependencies.typescript: ">=4.8.4 <6.0.0", which excludes TS 6.- CI evidence:
npm cifails withERESOLVEbefore build/lint/tests run (e.g.Build Release Branchjobbuild, andTestjobs fail at Install dependencies).
- Medium (uncertain, needs validation after fixing #1): TS 6 behavioral changes may surface new type-check failures in this repo’s
checkJssetup.
- TypeScript 6 release notes include default changes such as
types: []androotDir: ..- Current
tsconfig.jsondoes not explicitly settypesorrootDir.- Assumption: once install is fixed,
npm run tscmay expose additional missing-global/module typing issues in JS files relying on Node/browser ambient types.Test / Coverage Impact
- No meaningful test coverage signal from this PR yet: dependency install fails first, so build/lint/unit/integration steps are skipped.
Dependency Necessity / Better Practice
typescriptis still required (npm run tsc, strict-core checks, docs toolchain).typedocremains needed for docs scripts and now explicitly supports TS 6.- Better practice for this change set: update the TS toolchain as a compatible bundle, not TS major alone.
Suggested Follow-up PR (separate from this Dependabot PR)
- Bump
typescript-eslintto a TS6-compatible version (currently8.58.0supportstypescript <6.1.0).- Regenerate lockfile.
- Validate with:
npm ci,npm run lint,npm run tsc, and normal CI matrix.I did not push any changes to this PR branch.
Sent by Cursor Automation: Review dependabot
b1eba11 to
ea9d291
Compare
There was a problem hiding this comment.
Stale comment
Web Compatibility Assessment
package.json55-56,package-lock.json32-33/9909-9913(new lockfile range), severity: error
typescriptwas bumped to^6.0.2while the repo still depends ontypescript-eslint@8.57.2, which declarespeer typescript >=4.8.4 <6.0.0. CI confirmsnpm cifails withERESOLVEon this mismatch. This is a tooling compatibility regression that prevents unit/integration validation from running, which blocks confidence in web-compat safety for injected code.injected/package.json51-53, severity: info
@types/chrome/@types/nodebumps are type-surface only and do not directly change injected runtime behavior; no API shim/prototype/DOM contract changes detected in this PR.Security Assessment
- No direct security vulnerabilities found in changed runtime surfaces. The diff is manifest/lockfile-only and does not touch
injected/src,captured-globals, wrapper utilities, messaging transports, or message-bridge trust checks.- Residual risk: because dependency resolution currently fails at install time, security-relevant test/lint gates do not execute, so this PR cannot be considered fully validated yet.
Risk Level
Low Risk for runtime web compatibility/security (no injected runtime code changes), but currently merge-blocking due to dev-toolchain dependency incompatibility during
npm ci.Recommendations
- Resolve the peer-range conflict before merge: either keep root
typescripton5.9.xor upgradetypescript-eslintto a release that supports TS6.0.x.- After dependency alignment, re-run
npm ciplus the normal CI suite so web-compat/security checks actually execute.- Keep dependency PR scope tight; if lockfile churn is unavoidable, include explicit rationale in the PR body for easier supply-chain review.
Sent by Cursor Automation: Web compat and sec
There was a problem hiding this comment.
Stale comment
Dependency Risk Review (TypeScript group)
Confirmed issues
- Blocking install failure due to incompatible peer range
- The update bumps
typescriptto^6.0.2while keepingtypescript-eslintat^8.57.2inpackage.json.- CI fails during
npm ci/install withERESOLVE:typescript-eslint@8.57.2requirestypescript >=4.8.4 <6.0.0.- Evidence: failing jobs in this PR (
build,unit,production-deps) all stop at dependency resolution.- Security/reliability impact: CI gate is bypassed by dependency graph breakage, so no downstream lint/test/security checks run.
- TypeScript 6 config compatibility break in current repo settings
- TS6 raises an error for current
tsconfig.jsonsetting"moduleResolution": "node"(deprecatednode10behavior) unless migration/suppression is added.- This is a hard failure in
npm run tsconce install is unblocked.- Impact: build/type-check pipeline remains red even after peer conflict fix.
- Additional TS6 type-check regression in existing test code
- With install + config compatibility addressed,
npm run tscstill fails oninjected/integration-test/pages.spec.js(deleteoperand must be optional, TS2790).- Impact: migration is not CI-green without a small code compatibility patch.
Uncertain concerns (needs validation)
- TS6 behavioral/type-system changes may surface more latent issues after first unblock
- TS6 changelog includes type-checking and lib updates (e.g., DOM/lib updates and inference changes).
- Assumption: once full matrix runs, additional workspace-specific type/lint behavior differences may appear beyond the first failing path.
- Required validation: run full CI matrix after unblocking install (
test-unit,test-int,lint, docs generation).Test coverage assessment
- As this PR stands, coverage confidence is low: CI cannot install dependencies, so runtime/unit/integration coverage for this toolchain change is effectively not exercised.
Dependency necessity / better practice
- Keeping
typescriptandtypescript-eslintmajor compatibility aligned is still necessary in this monorepo because lint + typecheck are hard quality gates.- Better practice for this repo: avoid isolated TS major bumps without synchronized
typescript-eslintand explicittsconfigcompatibility defaults when compiler defaults change.Separate fix PR drafted
I opened a separate PR with compatibility fixes (without modifying this Dependabot PR):
It includes:
typescript-eslintbump to a TS6-compatible release.- Explicit TS6 compatibility settings in
tsconfig.json.- Minimal code compatibility fix for the TS2790 regression.
- Lockfile refresh.
Sent by Cursor Automation: Review dependabot
d061082 to
1ea3747
Compare
There was a problem hiding this comment.
Stale comment
Web Compatibility Assessment
package.json,injected/package.json,package-lock.json| line ranges: dependency-only hunks | severity:info
The PR only updates dev/build dependencies (typescript,typedoc,@types/chrome,@types/node, transitive lockfile changes). No changes touch injected runtime paths (injected/src/features, wrapper utilities, messaging bridge, captured globals, entry points), so there is no direct API-surface, prototype-chain, DOM, or platform behavior regression from this diff.Security Assessment
package.json(typescript: ^6.0.2) andpackage-lock.json(typescript-eslintsubtree peer ranges>=4.8.4 <6.0.0) | severity:warning
The toolchain now declares a TypeScript major (6.x) that is outside the declared peer range of current@typescript-eslintpackages in the lockfile. This is not a runtime web exploit path, but it is a security-assurance risk: unsupported parser/type-analysis combinations can degrade lint/type-rule reliability and reduce detection of insecure injected-script changes in future PRs.Risk Level
Low Risk — dependency-only PR with no injected runtime code changes; residual risk is limited to CI/static-analysis consistency due to the TypeScript 6 vs
typescript-eslintpeer-range mismatch.Recommendations
- Pin root
typescriptto a supported5.9.xuntiltypescript-eslintofficially supports6.x, or upgrade the eslint toolchain to a release that supports TypeScript 6.- Add/keep a CI guard that fails on invalid peer dependency states for lint/typecheck jobs so unsupported analyzer combos cannot silently pass.
- Run full
npm run lintin CI on this PR branch after dependency resolution to confirm typed lint rules execute with expected coverage.Sent by Cursor Automation: Web compat and sec
There was a problem hiding this comment.
Stale comment
Web Compatibility Assessment
package.json(55-57),package-lock.json(29-34) — error:typescriptwas bumped to^6.0.2whiletypescript-eslint@8.57.2still declarestypescriptpeer range>=4.8.4 <6.0.0(package-lock.json9738-9908). This hard peer conflict causesnpminstall failure (ERESOLVE) in CI, so injected unit/integration suites do not run. In practice this blocks detection of web-compat regressions for API shims and platform bundles.injected/package.json(51-54) — info:@types/chromeand@types/nodebumps are type-only dev dependency updates; no runtime injected JS behavior change detected.Security Assessment
- No direct security findings in injected runtime paths. The diff is limited to dev dependency manifests/lockfile (
package.json,injected/package.json,package-lock.json) and does not modify messaging, wrapper utilities, captured globals, bridge checks, or runtime network/message flows.Risk Level
Medium Risk — runtime attack surface is unchanged, but the TypeScript 6 /
typescript-eslintpeer mismatch breaks CI and removes effective regression validation for web-compat/security-sensitive injected code.Recommendations
- Revert/pin root
typescriptback to^5.9.3untiltypescript-eslintsupports TS 6 in this repo.- Alternative: upgrade the
typescript-eslintstack to a release that officially supports TS 6, then regenerate lockfile and verifynpm ciresolves without peer conflicts.- After either fix, rerun full validation (
npm ci,npm run lint,npm run test-unit, relevant integration matrix) before merge to restore coverage of injected web-compat/security behavior.Sent by Cursor Automation: Web compat and sec
1ea3747 to
1575755
Compare
|
@dependabot recreate |
There was a problem hiding this comment.
Stale comment
Web Compatibility Assessment
package.json(56) andpackage-lock.json(33,9738-9908) | warning | The PR upgrades roottypescriptto^6.0.2, but@typescript-eslint/*peer ranges in the lockfile remain>=4.8.4 <6.0.0. This is a toolchain contract mismatch that can cause lint/type-analysis instability or parser behavior drift, reducing confidence that web-compat regressions in injected code will be caught pre-merge.injected/package.json(52-56) andpackage-lock.json(50,1779-1866,10007) | info | Remaining changes are dev dependency/type package bumps only (@types/chrome,@types/node, transitive docs tooling). No direct changes to injected runtime code paths, wrapper utilities, API shims, DOM hooks, or platform entry points.Security Assessment
package.json,injected/package.json,package-lock.json| info | No diff touchescaptured-globals,wrapper-utils,DDGProxy, message bridge, transport validation, or iframe/origin checks. I do not see new runtime attack surface, data exfiltration vectors, or trust-boundary relaxations in this PR.Risk Level
Low Risk — dependency-only PR with no direct runtime JavaScript changes in injected features; primary risk is CI/tooling compatibility from the TypeScript 6 vs
typescript-eslintpeer-range mismatch.Recommendations
- Resolve the TypeScript peer mismatch before merge: either pin root
typescriptback to^5.9.xor upgradetypescript-eslintstack to a release that explicitly supports TypeScript 6.- Run full
npm run lintandnpm run test-uniton this PR after dependency resolution to ensure parser/lint behavior remains deterministic across workspaces.- If TypeScript 6 is intentional, add/confirm CI coverage for strict checks used by injected code (
npm run tsc-strict-core) to guard against silent type-system behavior changes.Sent by Cursor Automation: Web compat and sec
| "typedoc": "^0.28.17", | ||
| "typescript": "^5.9.3", | ||
| "typedoc": "^0.28.19", | ||
| "typescript": "^6.0.2", |
There was a problem hiding this comment.
This typescript major bump is currently incompatible with the lockfile-resolved typescript-eslint@8.57.2 peer range (>=4.8.4 <6.0.0), which causes npm ci to fail with ERESOLVE across CI jobs before tests can run. Please either keep TS on 5.9.x in this PR, or include a compatible typescript-eslint bump in the same dependency set.
1575755 to
0139bb4
Compare
| "typescript": "^5.9.3", | ||
| "typedoc": "^0.28.19", | ||
| "typescript": "^6.0.2", | ||
| "typescript-eslint": "^8.57.2" |
There was a problem hiding this comment.
typescript-eslint@^8.57.2 has peer typescript >=4.8.4 <6.0.0, but this PR bumps root TypeScript to ^6.0.2.
I can reproduce npm ci failure with ERESOLVE on this combination. Please either bump typescript-eslint to a TS6-compatible version or keep TypeScript on 5.9.x so CI/install remains deterministic.
| "typedoc": "^0.28.17", | ||
| "typescript": "^5.9.3", | ||
| "typedoc": "^0.28.19", | ||
| "typescript": "^6.0.2", |
There was a problem hiding this comment.
This TS major bump (^6.0.2) conflicts with the current typescript-eslint@^8.57.2 peer range (typescript <6.0.0), which causes npm ci to fail with ERESOLVE before any tests/lint run.
I opened a separate follow-up PR that updates typescript-eslint to a TS6-compatible release: #2631
0139bb4 to
d6f7b97
Compare
There was a problem hiding this comment.
Stale comment
Web Compatibility Assessment
package.json(lines 55-57),package-lock.json(lines 32-34,9736-9739) — severity: error
The TypeScript major bump (typescript: ^6.0.2) is incompatible with the pinnedtypescript-eslint@8.57.2peer range (typescript >=4.8.4 <6.0.0). A clean install currently fails withERESOLVE(npm ci --ignore-scripts), which blocks lint/typecheck/test execution and weakens our ability to detect web-compat regressions before merge.
injected/package.json(lines 51-54) — severity: info
The@types/chrome/@types/nodeupdates are dev-only type surface changes. No injected runtime API wrappers/shims/messaging code paths were modified, so direct API-surface fidelity and prototype-chain breakage risk is low for this PR.Security Assessment
package.json(lines 55-57),package-lock.json(lines 32-34,9736-9739) — severity: warning
While this does not directly alter runtime security boundaries (nocaptured-globals, message bridge, or wrapper utility diffs), the dependency conflict disables standard verification gates on fresh environments. In practice, that increases the chance of shipping undetected security regressions from future changes that depend on this toolchain state.
injected/package.json,package-lock.json— severity: info
No direct messaging transport, origin validation,CustomEventsecret handling, or injected runtime execution paths changed in this diff.Risk Level
Medium Risk — runtime injected code is untouched (low direct web/runtime risk), but the TypeScript/
typescript-eslintincompatibility is a blocking toolchain regression that prevents normal compatibility/security validation.Recommendations
- Resolve the peer mismatch before merge:
- Option A: keep
typescripton^5.9.3for now.- Option B: bump
typescript-eslintto a release that supports TS 6 (for example, current latest8.58.1supportstypescript <6.1.0) and regenerate lockfile.- Re-run
npm cion a clean checkout after dependency alignment.- Run at least
npm run lint(includestsc) and the relevant unit tests to restore compatibility/security guardrails.Sent by Cursor Automation: Web compat and sec
| "typedoc": "^0.28.17", | ||
| "typescript": "^5.9.3", | ||
| "typedoc": "^0.28.19", | ||
| "typescript": "^6.0.2", |
There was a problem hiding this comment.
typescript is bumped to ^6.0.2, but typescript-eslint remains at ^8.57.2 in this PR. That combination is not installable with npm because typescript-eslint@8.57.2 requires typescript <6.0.0, causing npm ci/CI to fail with ERESOLVE before tests execute.
There was a problem hiding this comment.
Stale comment
Findings (highest severity first)
- Blocking: install/CI break from incompatible peer range
package.jsonbumpstypescriptto^6.0.2while keepingtypescript-eslintat^8.57.2.Concrete evidence in this PR:
package-lock.jsonshowstypescript-eslint@8.57.2peer:typescript >=4.8.4 <6.0.0.- CI fails during
npm ciwithERESOLVEon that exact peer mismatch (e.g. run24345139834, job71083831772).Impact:
- Dependency install fails, so all unit/integration/build checks fail before tests execute.
- This is currently a merge blocker.
- Likely follow-on break after peer fix: TS6 deprecation gate in current tsconfig
With this dependency set,npm run tscerrors on:
Option 'moduleResolution=node10' is deprecated...(tsconfig.jsoncurrently uses"moduleResolution": "node").Impact:
- Even after resolving
npm ci, TS6 adoption is likely to fail typecheck/lint flows unless TS6 deprecation handling is added or module resolution is migrated.Confirmed vs uncertain
- Confirmed: peer conflict breaks
npm ciand CI.- Uncertain (needs validation in your CI sequence): TS6 deprecation gate may appear immediately after peer conflict is fixed, depending on which jobs run
tsc/lint.Changelog/impact notes
- TypeDoc update is expected for TS6 support and is low runtime risk (dev-doc tooling only).
- The risky transition is the TypeScript major bump without a matching
typescript-eslintrange.Separate fix PR drafted
Per request, I did not push to this Dependabot branch. I opened a separate PR with the minimal remediation:
That PR:
- bumps
typescript-eslintto^8.58.1(supports TS<6.1.0)- adds
"ignoreDeprecations": "6.0"in roottsconfig.jsonas a minimal TS6 compatibility bridgeAlternatives
- Merge/cherry-pick the compatibility PR above, then re-run this Dependabot update.
- If you want lower risk now, keep
typescriptat5.9.xand only take the patch-level typings/typedoc updates in this PR.Sent by Cursor Automation: Review dependabot
There was a problem hiding this comment.
Stale comment
Follow-up: I opened a separate companion PR with the minimal compatibility fixes needed for this TypeScript 6 update path:
This keeps #2602 unchanged while providing a mergeable remediation path for the peer-resolution and TS6 migration blockers identified in this review.
Sent by Cursor Automation: Review dependabot
There was a problem hiding this comment.
Stale comment
Findings
- High – PR is currently non-installable due to a hard peer dependency conflict
typescriptis bumped to6.0.2, buttypescript-eslint@8.57.2in this PR requirestypescript >=4.8.4 <6.0.0.- This causes
npm cito fail withERESOLVEbefore any build/tests execute.- Concrete evidence:
- PR CI jobs fail at install step (example:
Test -> unit (ubuntu-latest), run24344806737, job71082662582).- Local reproduction on this branch:
npm cifails with the sametypescript-eslintpeer conflict.- Registry metadata confirms the incompatible peer range on
typescript-eslint@8.57.2.
- Medium – test coverage for this dependency update is effectively zero in current PR state
- Because install fails, no unit/integration/typecheck validation runs.
- That means we do not have runtime or type-system regression signal for TypeScript 6 changes in this PR.
Secondary (validated) concerns after unblocking install
These are not hit yet only because install currently fails, but they are reproducible once the peer conflict is resolved:
- TypeScript 6 emits a deprecation hard error for current
moduleResolution: "node"(TS5107) unless migration options are set.- Additional TS6 checks surfaced in repo typecheck paths (example:
delete globalThis.navigationin integration tests) and missing declaration for generated surrogates module import.Recommendation
- Do not merge this PR as-is.
- Preferred safe path: land companion fixes with this update, or split this into staged updates:
- bump
typescript-eslintto a TS6-compatible release,- add TS6 migration/config adjustments,
- run full CI after install is restored.
Separate fix PR drafted
I opened a separate PR with a minimal compatibility patch set (without modifying this Dependabot branch):
Sent by Cursor Automation: Review dependabot
d6f7b97 to
734cb99
Compare
There was a problem hiding this comment.
Stale comment
Web Compatibility Assessment
package.json(55-56),injected/package.json(51-53),package-lock.json(lockfile dependency blocks): info — Diff is dependency-only (typescript,typedoc,@types/node,@types/chrome) with no changes to injected runtime code paths (injected/src/features, wrapper shims, entry points), so no direct API-surface/prototype/DOM compatibility regression is introduced by this PR itself.package.json(56) andpackage-lock.json(typedoc/typescript-eslintsections): warning —typescriptis bumped to6.0.3while@typescript-eslint/*peer ranges in lockfile still declaretypescript < 6.0.0. This is primarily a tooling risk, but if lint/type analysis degrades or is bypassed it can indirectly increase probability of web-compat regressions landing later.Security Assessment
package.json,injected/package.json,package-lock.json(all changed ranges): info — No changes to security-critical runtime surfaces: no edits tocaptured-globals.js, no new global reads in injected features, no message-bridge logic changes, no transport/origin validation changes, no wrapper utility/proxy behavior changes.package-lock.json(typescript-eslintpeer/dependency restructuring): warning — Tooling graph now includes nested@typescript-eslint/*resolution due the TypeScript 6 major bump. Not an exploitable runtime issue, but reduced static-analysis fidelity is a security-process risk if CI still passes with partial rule coverage.Risk Level
Low Risk — This PR is dev-tooling/lockfile-only and does not modify runtime injected JavaScript behavior, messaging boundaries, or API shimming logic executed on hostile pages.
Recommendations
- Run full CI gates (
npm run lint,npm run test-unit, and injected integration smoke) before merge to confirm TypeScript 6 does not degrade lint/type checks.- Choose one of two paths for stability: pin
typescriptto^5.9.xuntiltypescript-eslintofficially supports 6.x, or bumptypescript-eslintfamily in the same PR to a version with explicit TS 6 support once available.- Add a CI assertion that fails on TypeScript peer-dependency incompatibilities for lint stack packages, so major compiler bumps cannot silently weaken analysis coverage.
Sent by Cursor Automation: Web compat and sec
| "typedoc": "^0.28.17", | ||
| "typescript": "^5.9.3", | ||
| "typedoc": "^0.28.19", | ||
| "typescript": "^6.0.3", |
There was a problem hiding this comment.
This TS major bump is currently incompatible with typescript-eslint@8.57.2 (still peers typescript <6.0.0), which causes npm ci to fail with ERESOLVE before tests run. Recommend pairing this with a typescript-eslint bump to a TS6-compatible release (e.g., 8.58.2).
|
@dependabot recreate |
734cb99 to
15b4fe9
Compare
There was a problem hiding this comment.
Stale comment
Web Compatibility Assessment
package.json(+52..+56),injected/package.json(+48..+53),package-lock.json(dependency bump hunks), severity info: Changes are dependency-manifest and lockfile only (typescript,typedoc,@types/*, and transitive dev packages). No edits toinjected/src/**, wrapper/shim utilities, feature lifecycle code, or platform entry points, so there is no direct API-surface/prototype/DOM compatibility regression path.package.json(+55..+56) andpackage-lock.json(+9906..+9933), severity warning:typescriptis a major bump (5.9.x -> 6.0.x). This is still tooling-only, but can change type-check behavior and generated declarations/docs, which may indirectly impact release readiness if not validated.Security Assessment
package.json(+55..+56),injected/package.json(+51..+53),package-lock.json(all changed hunks), severity info: No runtime injected code changed, and no modifications to security-critical modules (captured-globals,wrapper-utils,DDGProxy,message-bridge, transports, or exemption logic). No new exploitable page-world attack surface identified.package-lock.json(+9720..+9750,+9852..+9933), severity info: Updated lockfile nodes are dev-scoped ("dev": true), so production content-scope runtime exposure is unchanged.Risk Level
Low Risk — this PR is manifest/lockfile-only tooling churn and does not alter web-exposed runtime behavior or security boundaries in injected scripts.
Recommendations
- Run full CI gates (
npm run lint,npm run build,npm run test-unit, plus integration smoke) to validate TypeScript 6 toolchain compatibility.- Add/verify a generated-artifacts consistency check so TS6 does not introduce unintended bundle/doc output drift.
- Alternative low-churn rollout if TS6 is noisy in CI: land
@types/*+typedocupdates first, and move the TS6 bump to a dedicated compatibility PR.Sent by Cursor Automation: Web compat and sec
| "typedoc": "^0.28.17", | ||
| "typescript": "^5.9.3", | ||
| "typedoc": "^0.28.19", | ||
| "typescript": "^6.0.3", |
There was a problem hiding this comment.
Bumping typescript to ^6.0.3 is currently causing reproducible CI breakage in this repo’s existing TS config surface (notably TS5107 deprecation on moduleResolution=node10 path and missing global test types under TS6 default behavior). Recommend either pinning TS back to 5.9.x in this PR or landing a separate TS6 migration PR first (explicit types + module resolution migration).
15b4fe9 to
878e66b
Compare
There was a problem hiding this comment.
Stale comment
Web Compatibility Assessment
package.json(52-55) — info:typescriptandtypedocare dev-tooling version bumps only. No changes to injected runtime code paths (wrapper-utils,DDGProxy, feature shims, message bridge), so no direct browser API surface/prototype-chain compatibility regression introduced by this diff.injected/package.json(48-54) — info: only@types/*package updates. These affect type-checking/editor semantics, not runtime behavior in hostile page contexts.package-lock.json(29-291,9720-10007) — warning: toolchain major upgrade totypescript@6.0.3may indirectly alter build/transpile outputs or strictness in CI. This is not a direct site-compat regression in the PR itself, but it is the main compatibility-adjacent risk to validate with full build/test coverage.Security Assessment
package.json(52-55),injected/package.json(48-54),package-lock.json(29-291,9720-10007) — info: no runtime JS/feature code changed; no updates to captured globals, wrapper utilities, messaging transports, origin checks, bridge secret handling, or any injected API override logic.package-lock.json(9720-10007) — info: new/updated transitive packages are under dev-tooling resolution paths; no newly introduced network/messaging/data-exfiltration behavior in injected runtime surface from this diff.Risk Level
Low Risk — dependency-only PR affecting dev/type/doc toolchain with no direct modifications to runtime injected scripts or security-sensitive browser API interception paths.
Recommendations
- Run full CI gates with emphasis on build/type stages under TS6 (
npm run lint,npm run test-unit, and workspace build) to catch compiler/output drift early.- Add/keep a regression check that validates generated injected bundles remain functionally equivalent for representative features after TypeScript major bumps.
- If TS6 introduces incompatibilities in tooling that still expects TS5 APIs, constrain affected tooling package ranges rather than introducing runtime-side workarounds.
Sent by Cursor Automation: Web compat and sec
| "typedoc": "^0.28.17", | ||
| "typescript": "^5.9.3", | ||
| "typedoc": "^0.28.19", | ||
| "typescript": "^6.0.3", |
There was a problem hiding this comment.
Bumping to typescript@^6.0.3 is currently breaking required CI in this repo (lint/docs/type-check paths). Evidence on this PR includes TS5107 (moduleResolution=node10 deprecation) plus broad TS diagnostics in docs/type-check jobs. Recommend splitting: keep typedoc + @types/* bumps here, and run TS6 migration in a dedicated follow-up PR with tsconfig and JSDoc typing fixes.
878e66b to
3612884
Compare
| "typedoc": "^0.28.17", | ||
| "typescript": "^5.9.3", | ||
| "typedoc": "^0.28.19", | ||
| "typescript": "^6.0.3", |
There was a problem hiding this comment.
This TypeScript 6 bump currently breaks the root typecheck: npm run tsc fails with TS5107 because tsconfig.json still uses moduleResolution: "node"/node10 without ignoreDeprecations: "6.0". Please either migrate the module resolution mode deliberately or add the TS 6 deprecation opt-out before merging.
There was a problem hiding this comment.
Stale comment
Found a confirmed blocker with the TypeScript 6 bump.
Evidence:
- TypeScript 6.0 release notes call out new defaults/deprecations relevant here:
moduleResolution: node/node10is deprecated,strictnow defaults totrue, andtypesnow defaults to[].- This repo’s
tsconfig.jsoncurrently uses"moduleResolution": "node"and does not explicitly pinstrictortypes.- On this PR,
npm run tscfails withTS5107formoduleResolution=node10.npm run docsalso fails, starting with the sameTS5107, then many stricter-check diagnostics.- After generating surrogates, the TS 5.9 compiler passes on the same checkout, so this is introduced by the TS 6 update rather than an existing clean-checkout issue.
npm run tsc-strict-corestill passes.Changelog impact summary:
typedoc@0.28.19itself looks compatible: TypeDoc added TS 6 support in0.28.18, and0.28.19is mostly translations/comment/doc rendering fixes.ts-json-schema-generator@2.5.0still depends ontypescript@^5.9.3, so the lockfile now includes nested TS 5.9 for that tool while roottscuses TS 6. That is not the failing path I found, but it is worth being aware of.Suggested fix direction for a separate PR: either keep root
typescripton 5.9 until the repo is migrated, or include the TS 6 config migration in the dependency PR: decide betweenmoduleResolution: "bundler"/"nodenext", explicitly pin prior defaults such asstrict/typeswhere intended, and fix the remaining TS 6 diagnostics such asdelete globalThis.navigationininjected/integration-test/pages.spec.js.I did not push changes to this PR.
Sent by Cursor Automation: Review dependabot
| "typedoc": "^0.28.17", | ||
| "typescript": "^5.9.3", | ||
| "typedoc": "^0.28.19", | ||
| "typescript": "^6.0.3", |
There was a problem hiding this comment.
This TS 6 bump currently breaks the root checks. With this PR installed, npm run tsc fails immediately with TS5107 because tsconfig.json still has "moduleResolution": "node" (node10), which the TS 6 release notes mark as deprecated/erroring unless explicitly ignored. If I force past that with --ignoreDeprecations 6.0, the TS 6 default changes then expose 3,219 diagnostics, mostly because strict now defaults to true and types now defaults to [] while this repo does not explicitly pin either. npm run docs fails similarly through TypeDoc. After npm run build-surrogates -w injected, the TS 5.9 compiler passes on the same checkout, so this is a regression from the compiler update rather than a pre-existing generated-file issue.
3612884 to
79337d7
Compare
There was a problem hiding this comment.
Web Compatibility Assessment
package.json/package-lock.json(TypeScript devDependency bump), severity: error. The diff does not change injected runtime code, API wrappers, DOM manipulation, feature config, platform entry points, or message bridge behavior, so I do not see a direct web-compatibility regression in shipped page-world code. However, the TypeScript 6 bump currently breaks the root validation pipeline:npm run tscfails withTS5107becausetsconfig.jsonstill resolves"moduleResolution": "node"as deprecatednode10under TS 6 without"ignoreDeprecations": "6.0". Sincenpm run lintchainsnpm run tsc, this is a merge-blocking validation regression.
Security Assessment
- No security-impacting runtime changes found. The PR does not touch
captured-globals.js, wrapper utilities,DDGProxy, message transports, message bridge origin/secret checks, iframe handling,postMessage, network requests, or config-gated injected features.
Risk Level
Medium Risk: no injected runtime security/web-compat surface changed, but this is a TypeScript major-version toolchain update affecting repo-wide validation and currently breaking the root typecheck.
Recommendations
- Fix the TS 6 migration blocker before merge. Either update
tsconfig.jsonaway from deprecated Node 10 module resolution semantics, or explicitly add"ignoreDeprecations": "6.0"if retaining the current resolution behavior is intentional for this bump. - Re-run
npm run tscandnpm run lintafter the config adjustment.
Checks run: npm ci passed; npm run tsc failed with TS5107; npm run tsc-strict-core passed; git diff --check passed.
Sent by Cursor Automation: Web compat and sec
| "typedoc": "^0.28.17", | ||
| "typescript": "^5.9.3", | ||
| "typedoc": "^0.28.19", | ||
| "typescript": "^6.0.3", |
There was a problem hiding this comment.
This TS 6 bump currently breaks the root typecheck. With this diff applied, npm run tsc fails:
tsconfig.json(5,25): error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
Because npm run lint chains npm run tsc, this should be addressed as part of the dependency bump, either by migrating the module resolution setting or explicitly adding "ignoreDeprecations": "6.0" if keeping the current behavior is intentional.
There was a problem hiding this comment.
Stale comment
Found one confirmed blocker for this dependency update.
Confirmed issue
typescript5.9.3 -> 6.0.3 breaks the repo's existingnpm run lint/npm run tscpath. After a cleannpm ciand successfulnpm run build,npm run tscfails with:tsconfig.json(5,25): error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.This is consistent with the TypeScript 6 release notes:
moduleResolution: "node"is treated as the deprecatednode10mode, and TS6 also changes defaults such asstrict: trueandtypes: []unless made explicit. CI evidence matches this locally: the PR'sunit (ubuntu-latest)job failed atnpm run lint, which runsnpm run tsc.Impact
This is dev-tooling only, not runtime bundle behavior.
npm run buildpassed, and the existing unit/integration jobs that run after build mostly validate generated bundles. The blocker is that the repo cannot merge while the compiler/lint gate fails, and docs generation also fails on the same TS5107 error.Separate fix draft
I pushed a separate fix branch, without pushing to the dependabot branch:
jkt/auto/typescript-6-review-fixes.It makes the TS 5.9 defaults explicit for TS6 (
strict: false,types: ["*"]), silences the TS6moduleResolutiondeprecation pending a deliberate resolver migration, and updates one integration-test statement fromdelete globalThis.navigationtoReflect.deleteProperty(...)for TS6 DOM typings.Validation on that branch:
npm run tsc npm run tsc-strict-core npm run docsAll passed.
I could not open the separate PR through the automation PR tool because this run is constrained to the configured automation branch, but the pushed branch is available for a manual PR if desired.
Sent by Cursor Automation: Review dependabot
…updates Bumps the typescript group with 4 updates in the / directory: [typedoc](https://github.com/TypeStrong/TypeDoc), [typescript](https://github.com/microsoft/TypeScript), [@types/chrome](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/chrome) and [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node). Updates `typedoc` from 0.28.17 to 0.28.19 - [Release notes](https://github.com/TypeStrong/TypeDoc/releases) - [Changelog](https://github.com/TypeStrong/typedoc/blob/master/CHANGELOG.md) - [Commits](TypeStrong/typedoc@v0.28.17...v0.28.19) Updates `typescript` from 5.9.3 to 6.0.3 - [Release notes](https://github.com/microsoft/TypeScript/releases) - [Commits](microsoft/TypeScript@v5.9.3...v6.0.3) Updates `@types/chrome` from 0.1.37 to 0.1.42 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/chrome) Updates `@types/node` from 25.5.0 to 25.6.2 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/chrome" dependency-version: 0.1.39 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: typescript - dependency-name: "@types/node" dependency-version: 25.5.2 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: typescript - dependency-name: typedoc dependency-version: 0.28.18 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: typescript - dependency-name: typescript dependency-version: 6.0.2 dependency-type: direct:development update-type: version-update:semver-major dependency-group: typescript ... Signed-off-by: dependabot[bot] <support@github.com>
79337d7 to
8b5e29c
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 3 potential issues.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 8b5e29c. Configure here.
| "typedoc": "^0.28.17", | ||
| "typescript": "^5.9.3", | ||
| "typedoc": "^0.28.19", | ||
| "typescript": "^6.0.3", |
There was a problem hiding this comment.
TypeScript 6.0 breaks build: moduleResolution: "node" deprecated
High Severity
Bumping typescript from 5.9.3 to 6.0.3 is a major version upgrade. TypeScript 6.0 deprecates moduleResolution: "node" with a hard error (not just a warning). The project's tsconfig.json uses "moduleResolution": "node" and has no ignoreDeprecations setting. This will cause tsc to fail, breaking npm run lint which runs tsc as part of its pipeline. Either tsconfig.json needs to switch to "moduleResolution": "bundler" (or "nodenext"), or "ignoreDeprecations": "6.0" needs to be added.
Please tell me if this was useful or not with a 👍 or 👎.
Reviewed by Cursor Bugbot for commit 8b5e29c. Configure here.
| "typedoc": "^0.28.17", | ||
| "typescript": "^5.9.3", | ||
| "typedoc": "^0.28.19", | ||
| "typescript": "^6.0.3", |
There was a problem hiding this comment.
TypeScript 6.0 types default change breaks test type-checking
High Severity
TypeScript 6.0 changes the default types from auto-including all @types packages to []. The project's tsconfig.json doesn't specify types, so @types/jasmine, @types/chrome, and @types/node globals will no longer be available. Test files (e.g., in injected/unit-test/) use Jasmine globals like describe and it without explicit imports, which will produce type errors under the new default.
Please tell me if this was useful or not with a 👍 or 👎.
Reviewed by Cursor Bugbot for commit 8b5e29c. Configure here.
| "typedoc": "^0.28.17", | ||
| "typescript": "^5.9.3", | ||
| "typedoc": "^0.28.19", | ||
| "typescript": "^6.0.3", |
There was a problem hiding this comment.
TypeScript 6.0 strict default enables noImplicitAny on JS files
High Severity
TypeScript 6.0 changes strict to default to true. The project's tsconfig.json never sets strict, noImplicitAny, or other strict sub-flags (only strictNullChecks). With allowJs: true and checkJs: true, the newly-enabled noImplicitAny will flag every JS function parameter lacking a JSDoc type annotation. This would produce a large number of new type errors when running tsc. The fix is to add "strict": false to tsconfig.json or explicitly disable the individual sub-flags that aren't wanted.
Please tell me if this was useful or not with a 👍 or 👎.
Reviewed by Cursor Bugbot for commit 8b5e29c. Configure here.
There was a problem hiding this comment.
Dependency risk review: found a confirmed blocker with the TypeScript 6 update.
The PR bumps typescript from 5.9.3 to 6.0.3. TypeScript 6 release notes call out breaking/default changes relevant to this repo: moduleResolution: "node" is treated as deprecated node10, strict now defaults to true, and types now defaults to []. The current tsconfig.json still uses moduleResolution: "node" and does not explicitly set strict or types.
Evidence:
- Local PR-head
npm run tscfails with TS5107 onmoduleResolution=node10. - Local PR-head
npm run docsfails with the same TS5107. - CI
docs-previewis failing on the same TS5107 and then surfaces TypeScript 6 default-change errors such asTS18046for catch variables and missing Jasmine globals.
I opened a separate fix PR: #2695. That branch keeps the Dependabot PR untouched and passed npm run tsc, npm run tsc-strict-core, and npm run docs-preview locally.
Notes: TypeDoc 0.28.18+ explicitly added TypeScript 6 support, so the TypeDoc version bump itself looks aligned. I did not find a production runtime dependency risk; the blocker is the dev-tooling/compiler gate.
Sent by Cursor Automation: Review dependabot
| "typedoc": "^0.28.17", | ||
| "typescript": "^5.9.3", | ||
| "typedoc": "^0.28.19", | ||
| "typescript": "^6.0.3", |
There was a problem hiding this comment.
Blocking: this TypeScript 6 bump needs a matching tsconfig.json migration. TypeScript 6 errors on the current moduleResolution: "node" setting (TS5107) and also changes defaults for strict and types; PR-head npm run tsc and npm run docs fail locally, and CI docs-preview shows the same class of failures. I opened a separate fix PR at #2695.
|
Looks like these dependencies are updatable in another way, so this is no longer needed. |




Bumps the typescript group with 4 updates in the / directory: typedoc, typescript, @types/chrome and @types/node.
Updates
typedocfrom 0.28.17 to 0.28.19Release notes
Sourced from typedoc's releases.
Changelog
Sourced from typedoc's changelog.
Commits
0135da0Update changelog for release68fa965Bump version to 0.28.19cb13565Update changelog, documentationacba2aeFix Comment.getShortSummary with windows line endingsa108643feat(router): move anchor creation to seperate function (#3092)d743a1cMerge pull request #3091 from hyosua/feat/locales-fr70a9b41Update CHANGELOG and format French locales4db90bcAdd French translations for localesc8fb88fAttempt updating actions versionsa58e6a9Update depsUpdates
typescriptfrom 5.9.3 to 6.0.3Release notes
Sourced from typescript's releases.
Commits
050880cBump version to 6.0.3 and LKGeeae9dd🤖 Pick PR #63401 (Also check package name validity in...) into release-6.0 (#...ad1c695🤖 Pick PR #63368 (Harden ATA package name filtering) into release-6.0 (#63372)0725fb4🤖 Pick PR #63310 (Mark class property initializers as...) into release-6.0 (#...607a22aBump version to 6.0.2 and LKG9e72ab7🤖 Pick PR #63239 (Fix missing lib files in reused pro...) into release-6.0 (#...35ff23d🤖 Pick PR #63163 (Port anyFunctionType subtype fix an...) into release-6.0 (#...e175b69Bump version to 6.0.1-rc and LKGaf4caacUpdate LKG8efd7e8Merge remote-tracking branch 'origin/main' into release-6.0Updates
@types/chromefrom 0.1.37 to 0.1.42Commits
Updates
@types/nodefrom 25.5.0 to 25.6.2Commits
Note
Medium Risk
Upgrading to TypeScript 6.x can change type-checking and build output, potentially surfacing new compile errors or subtle typing behavior changes. Lockfile updates also pull in new transitive versions that could affect tooling like
typedocgeneration.Overview
Updates dev tooling versions, bumping
typescriptto6.0.3andtypedocto0.28.19in the root workspace.Also bumps
@types/chromeand@types/nodeininjected, and refreshespackage-lock.jsonto reflect the new (and updated transitive) dependency graph.Reviewed by Cursor Bugbot for commit 8b5e29c. Bugbot is set up for automated code reviews on this repo. Configure here.