Skip to content

CHANGE @W-24708955@ Update CLI dependencies to released core packages - #2113

Merged
nikhil-mittal-165 merged 2 commits into
devfrom
nikhil.mittal/cli-dependency-upgrade-20261130
Dec 1, 2026
Merged

nikhil-mittal-165 merged 2 commits into
devfrom
nikhil.mittal/cli-dependency-upgrade-20261130

Conversation

@nikhil-mittal-165

@nikhil-mittal-165 nikhil-mittal-165 commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Updates the CLI to the core packages released today (2026-11-30, the first core publish via npm Trusted Publishing). Monthly release W-24708955. The CLI version is not bumped here; the release-branch action does that.

Core packages (exact pins)

Package Before After
code-analyzer-core 0.53.0 0.54.0
code-analyzer-engine-api 0.42.0 0.43.0
code-analyzer-pmd-engine (PMD 7.26.0 to 7.29.0) 0.46.0 0.48.0
code-analyzer-eslint-engine 0.47.0 0.48.0
code-analyzer-eslint8-engine (transitive) 0.19.0 0.20.0
code-analyzer-regex-engine 0.40.0 0.41.0
code-analyzer-flow-engine 0.41.0 0.42.0
code-analyzer-retirejs-engine 0.39.0 0.40.0
code-analyzer-sfge-engine 0.25.0 0.26.0
code-analyzer-apexguru-engine 0.43.0 0.44.0
code-analyzer-uibundle-engine 0.2.0 0.3.0

Other dependencies (minor/patch, all at least 7 days old)

@oclif/core 4.14.0, @oclif/plugin-help 6.3.0, @salesforce/sf-plugins-core 12.2.28, @salesforce/cli-plugins-testkit 5.3.95, ansis 4.5.0, js-yaml 4.3.2, @eslint/compat 2.1.1, @eslint/eslintrc 3.3.7, typescript-eslint 8.74.0, oclif 4.24.0, vite 7.3.8, vitest / @vitest/coverage-istanbul 4.1.12.

Deliberately skipped

  • @salesforce/core: kept at 8.23.4, per the release guide.
  • @oclif/table 0.6.0: a 0.x minor bump can be breaking.
  • @types/node, eslint and @eslint/js ranges are left unchanged (^20.0.0, ^9.39.2). The lockfile already resolves them to 20.19.43, 9.39.5 and 9.39.5 on dev and in 5.16.0, so installed versions are the same either way.
  • All major updates: eslint / @eslint/js 10, vite 8, vitest 5, typescript 7, @oclif/core 5, @oclif/plugin-help 7, oclif 6, sf-plugins-core 13, ts-types 3, js-yaml 5, eslint-plugin-sf-plugin 3, @types/node beyond 20.

Testing

  • npm ci, npm run build and npm run test in a clean worktree: 22 test files, 395 of 395 tests pass. Coverage on all files: 97.92% statements, 91.48% branches.
  • Lint (pre-commit hook) passes.
  • package-lock.json references only registry.npmjs.org.
  • The behaviour of these core versions was smoke-tested against 5.16.0 before the core release (210 commands, 0 unexplained differences).

Note: in my main checkout, 3 tests failed once with ENOENT … .sf/orgs/…/metadata-catalog/catalog.json.__staging__. That's a local VS Code Salesforce extension writing into the untracked .sf/ folder while the workspace was being scanned. In a clean worktree all 395 pass.

🤖 Generated with Claude Code

nikhil-mittal-165 and others added 2 commits November 30, 2026 23:22
Update all @salesforce/code-analyzer-* dependencies to the versions released on 2026-11-30:
- code-analyzer-core: 0.53.0 -> 0.54.0
- code-analyzer-engine-api: 0.42.0 -> 0.43.0
- code-analyzer-pmd-engine: 0.46.0 -> 0.48.0
- code-analyzer-eslint-engine: 0.47.0 -> 0.48.0 (brings eslint8-engine 0.20.0)
- code-analyzer-regex-engine: 0.40.0 -> 0.41.0
- code-analyzer-flow-engine: 0.41.0 -> 0.42.0
- code-analyzer-retirejs-engine: 0.39.0 -> 0.40.0
- code-analyzer-sfge-engine: 0.25.0 -> 0.26.0
- code-analyzer-apexguru-engine: 0.43.0 -> 0.44.0
- code-analyzer-uibundle-engine: 0.2.0 -> 0.3.0

Also update other dependencies to their latest minor/patch versions that are at least 7 days old.

Skipped:
- @salesforce/core (kept at 8.23.4; newer versions need TypeScript config changes)
- @oclif/table 0.6.0 (a 0.x minor bump can be breaking)
- All major version updates (eslint 10, @eslint/js 10, @types/node beyond 20, vite 8, vitest 5, typescript 7, @oclif/core 5, oclif 6 and others)

Build passes and all 395 tests pass.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…changed

Revert the version-range bumps for @types/node (^20.0.0), eslint (^9.39.2) and
@eslint/js (^9.39.2). The lockfile already resolved these to 20.19.43, 9.39.5 and
9.39.5 on dev and in 5.16.0, so installed versions are unchanged.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@nikhil-mittal-165
nikhil-mittal-165 merged commit 6816346 into dev Dec 1, 2026
21 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.

2 participants