Skip to content

Update dependencies across apps/ and packages/ (security + patch/minor bumps) - #210

Merged
infi-pc merged 1 commit into
v2from
infi-pc/deps-audit-update
Apr 19, 2026
Merged

Update dependencies across apps/ and packages/ (security + patch/minor bumps)#210
infi-pc merged 1 commit into
v2from
infi-pc/deps-audit-update

Conversation

@infi-pc

@infi-pc infi-pc commented Apr 19, 2026

Copy link
Copy Markdown
Owner

Summary

Applies patch and minor version bumps across apps/ and packages/ to clear the bulk of the pnpm audit findings and pick up compatible upstream fixes.

pnpm audit --prod count dropped from 95 → 18 (all 3 critical + 39 high items addressed for direct deps; remaining findings are in test-apps' intentionally-pinned next@14/next@16 and deep transitives of react-syntax-highlighter/postcss-loader).

Notable security bumps

  • next: ^15^15.5.15 — clears RCE in React flight, multiple DoS, SSRF in server actions, cache poisoning, auth bypass
  • webpack: ^5.96.1^5.106.2 — clears buildHttp allowedUris advisories
  • posthog-js: ^1.23.0^1.369.3 — clears XSS advisory
  • postcss-loader, fs-extra, html-webpack-plugin, terser-webpack-plugin, css-loader, sass-loader, source-map-loader, style-loader, ts-loader, webpack-dev-server, babel-loader, web-ext — transitive audit hits cleared

Other notable updates (within existing caret ranges)

  • @babel/*: 7.26.x7.28–7.29.x
  • @floating-ui/dom: 1.6.121.7.6
  • @playwright/test: 1.50.01.59.1
  • @typescript-eslint/eslint-plugin: 5.30.65.62.0
  • typescript: 5.6.35.9.3
  • solid-js / babel-preset-solid: 1.9.11/1.9.21.9.12
  • turbo: 2.5.82.9.6
  • lerna: 7.3.07.4.2
  • vitest: 2.1.42.1.9

Code change

  • packages/runtime/src/adapters/HtmlElementTreeNode.ts: type: "element" = "element"type = "element" as const; to satisfy the stricter prefer-as-const rule shipped with @typescript-eslint/eslint-plugin 5.62.

Out of scope

  • test-apps/ package.json files were intentionally left untouched — those apps pin specific React/Next versions for e2e coverage.
  • Major bumps (Next 16, Tailwind 4, Prettier 3, ESLint 9, Jest 30, TS 6, Lerna 9, webpack-dev-server 5, web-ext 10, @typescript-eslint 8) deferred — each touches config or formatting and should land separately.

Test plan

  • pnpm build — all 7 workspace builds pass
  • pnpm test — all tests pass (@locator/runtime vitest, @locator/babel-jsx jest)
  • pnpm ts — typecheck clean
  • pnpm lint — lint clean (0 errors)
  • pnpm format:check — prettier clean
  • CI green on this PR (pending)

🤖 Generated with Claude Code

Apply patch and minor version bumps to all workspace packages.

Security: fixes most high/critical CVEs from pnpm audit.
- next: ^15 → ^15.5.15 (RCE + DoS advisories)
- webpack: ^5.96.1 → ^5.106.2 (SSRF + allowedUris)
- posthog-js: ^1.23.0 → ^1.369.3 (XSS)
- postcss-loader, fs-extra, html-webpack-plugin, terser-webpack-plugin,
  css-loader, sass-loader, source-map-loader, style-loader, ts-loader,
  webpack-dev-server, babel-loader, web-ext (transitive audit hits)

Other notable bumps (all within existing caret ranges):
- @babel/*: 7.26.x → 7.28–7.29.x
- @floating-ui/dom: 1.6.12 → 1.7.6
- @playwright/test: 1.50.0 → 1.59.1
- @typescript-eslint/eslint-plugin: 5.30.6 → 5.62.0
- typescript: 5.6.3 → 5.9.3
- solid-js/babel-preset-solid: 1.9.2/.11 → 1.9.12
- turbo: 2.5.8 → 2.9.6
- lerna: 7.3.0 → 7.4.2
- vitest: 2.1.4 → 2.1.9

Adds `as const` assertion in HtmlElementTreeNode to satisfy the stricter
@typescript-eslint prefer-as-const rule that ships with 5.62.
@vercel

vercel Bot commented Apr 19, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
locatorjs Ready Ready Preview, Comment Apr 19, 2026 1:50pm

@infi-pc
infi-pc merged commit c54739a into v2 Apr 19, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant