Skip to content

chore(deps): update Nx to 22.7.12 - #101

Merged
frontegg-david merged 1 commit into
fix/core-worker-result-conversionfrom
chore/deps-nx-22.7
Oct 4, 2026
Merged

frontegg-david merged 1 commit into
fix/core-worker-result-conversionfrom
chore/deps-nx-22.7

Conversation

@frontegg-david

@frontegg-david frontegg-david commented Oct 4, 2026 •

Copy link
Copy Markdown
Contributor

Stack 9/10: main ← #92 ← #93 ← #94 ← #95 ← #96 ← #98 ← #99 ← #100 ← this ← #102

Dependabot, part 1 of 2: the two alerts on nx itself (development only).

Alert Severity Advisory Fixed in
#160 high GHSA-vp3h-ghgh-jr7g: Zip-Slip in the self-hosted remote cache 22.7.7
#146 medium GHSA-g2r8-wvmj-jf5w: nx graph dev server permissive CORS policy 22.7.2

Change

Done with nx migrate 22.7.12 and nx migrate --run-migrations:

  • nx and every @nx/* package: 22.4.4 → 22.7.12.
  • The SWC versions Nx 22.7 expects: @swc-node/register ~1.11.1 → ~1.12.1, @swc/core ~1.15.11 → ~1.16.2, @swc/helpers ~0.5.18 → ~0.5.23. Nx writes exact pins; I kept the repo's tilde ranges.
  • Migrations: the .gitignore ones add Nx's working directories (.nx/polygraph, .nx/self-healing, .claude/worktrees), and .nx/self-healing also goes into .prettierignore. @nx/eslint: update-executor-lint-inputs made no change. migrations.json is not committed.

Verification (after nx reset)

  • yarn lint, yarn format:check, yarn build (13 projects): pass
  • nx run-many -t test (10 projects), core jest (67 suites, 2376 passed), core perf (48 passed), browser e2e (90 passed): pass

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Chores
    • Updated the project’s build tooling and related packages.
    • Excluded additional generated workspace files from formatting and version control.

Fixes two Dependabot alerts on nx 22.4.4 (development only):
GHSA-vp3h-ghgh-jr7g (high, Zip-Slip in the self-hosted remote cache,
fixed in 22.7.7) and GHSA-g2r8-wvmj-jf5w (medium, permissive CORS on
the nx graph dev server, fixed in 22.7.2).

Done with nx migrate 22.7.12: nx and every @nx/* package move to
22.7.12, along with the SWC versions Nx 22.7 expects (@swc-node/register
~1.12.1, @swc/core ~1.16.2, @swc/helpers ~0.5.23; tilde ranges kept).
The migrations only add Nx's working directories (.nx/polygraph,
.nx/self-healing, .claude/worktrees) to .gitignore and .prettierignore;
the @nx/eslint lint-inputs migration made no change.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Oct 4, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

Navigate logical layers of code changes, visualize relationships, and explore their blast radius.

🧰 Additional context used
📚 Code guidelines (1)
AGENTS.md — auto-discovered

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Repository: agentfront/enclave/.coderabbit.yaml
  • Review profile: CHILL
  • Plan: Essentials
  • Run ID: 5a709ac9-9012-4285-8b9d-5b0c337c5cef
📥 Commits

Reviewing files that changed from the base of the PR and between ce8371b and ff3e3a3.

⛔ Files ignored due to path filters (1)
  • yarn.lock is excluded by !**/yarn.lock, !**/*.lock
📒 Files selected for processing (3)
  • .gitignore
  • .prettierignore
  • package.json

Included review availability: This review used your included allowance. 2 included reviews remain after this review. Your included PR review attempts over the past 7 days set your current allowance at 3 reviews per hour.


📝 Walkthrough

Walkthrough

The package manifest updates Nx and SWC dependency versions. The ignore files add exclusions for .claude/worktrees, .nx/polygraph, and .nx/self-healing.

Changes

Tooling dependency updates

Layer / File(s) Summary
Update Nx and SWC versions
package.json
The Nx packages and nx are updated from 22.4.4 to 22.7.12. SWC dependencies are updated to ~1.12.1, ~1.16.2, and ~0.5.23.

Ignored generated paths

Layer / File(s) Summary
Add ignored paths
.gitignore, .prettierignore
.gitignore excludes .claude/worktrees, .nx/polygraph, and .nx/self-healing. .prettierignore excludes .nx/self-healing.

Priority: ➖ Normal

Estimated code review effort: 2 (Simple) | ~5 minutes

Change: Other

Merge Risk: ⚪ Minimal · up to ff3e3

The dependency update is consistent with the lockfile, and no merge-blocking risk is evident.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly summarizes the main change: updating Nx to version 22.7.12.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

@frontegg-david
frontegg-david merged commit 9d833da into main Oct 4, 2026
9 checks passed
@frontegg-david
frontegg-david deleted the chore/deps-nx-22.7 branch October 4, 2026 10:55
frontegg-david added a commit that referenced this pull request Oct 4, 2026
Resolves the remaining 51 open Dependabot alerts (#101 handles the two
on nx itself). All of them are transitive dependencies in yarn.lock.

- yarn up -R moves each vulnerable package to the newest version its
  parents' ranges allow: undici, js-yaml, baseline-browser-mapping,
  svgo, qs, browserslist, fast-uri, @humanfs/node,
  postcss-selector-parser, postcss, brace-expansion, tar, body-parser,
  webpack-dev-server, shell-quote, immutable, websocket-driver,
  http-proxy-middleware and @babel/core.
- The floors in "resolutions" left by earlier alert fixes (qs,
  immutable, shell-quote, svgo, fast-uri, webpack-dev-server) are raised
  to the patched versions, so a re-resolve cannot go back below them.
- Scoped resolutions where a parent pins a vulnerable version exactly or
  allows no patched one: nx/brace-expansion ^5.0.9 (nx pins 5.0.8) and
  sockjs/uuid ^11.1.1 (sockjs, under webpack-dev-server, allows only
  ^8.3.2 and uuid has no patched 8.x; sockjs only calls require('uuid').v4,
  which uuid 11 still exports).

Also fixes advisories yarn npm audit reports that Dependabot has not
raised: axios 1.18.0 to 1.20.0 (several high), ajv 8.12.0 to 8.20.0
(serve/ajv, serve pins it exactly) and 6.12.6 to 6.15.0, smol-toml
1.6.1 to 1.9.0 (nx/smol-toml, nx pins it exactly). Still reported:
braces 3.0.3, which has no patched release, and deprecation notices
(eslint 9.39.2, glob 10.5.0, memfs 3.6.0, whatwg-encoding).

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
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.

2 participants