Skip to content

CHANGE @W-24708955@ Update Node dependencies for monthly release - #524

Merged
nikhil-mittal-165 merged 2 commits into
devfrom
nikhil.mittal/dependency-upgrade-20261126
Nov 26, 2026
Merged

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

Conversation

@nikhil-mittal-165

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

Copy link
Copy Markdown
Contributor

Summary

Monthly Node dependency refresh (minor/patch only) across the published packages and ENGINE-TEMPLATE, plus the follow-on changes it required.

Dependency changes

Applied with ncu --target minor (so package.json ranges cannot take a major):
rimraf 6.1.4, jest 30.5.2, ts-jest 29.4.15, typescript-eslint / @typescript-eslint/* 8.73.0, semver 7.8.6, js-yaml 4.3.2, csv-stringify 6.9.0, eslint-plugin-jest 29.17.1, globals 17.14.0, retire 5.7.0, @babel/{parser,traverse,types} 7.29.15, @jridgewell/sourcemap-codec 1.6.0.

Required follow-on changes

  1. Version bumps (pre-commit hook requirement). The hook requires every changed package to be on the next -SNAPSHOT, and inter-package pins are exact. Same as CHANGE @W-22462048@ Update Node dependencies across all packages for monthly release #487.
    • engine-api 0.43.0, core 0.54.0, eslint-engine 0.48.0, eslint8-engine 0.20.0 (engine-api pin only; its deps are untouched), regex 0.41.0, retirejs 0.40.0, apexguru 0.44.0, uibundle 0.3.0 (all -SNAPSHOT).
    • pmd, flow and sfge were already ahead of their published versions.
  2. 3 new typescript-eslint 8.73.0 rules need mappings. All three are in the strict preset and need type info, so they are mapped NOT RECOMMENDED (default selections unchanged):
    • no-generated-empty-object-type: Moderate, BestPractices
    • no-unsafe-class-instance-assignment: High, ErrorProne
    • no-unsafe-enum-assignment: Moderate, BestPractices
    • Reviewer note: severity and category are my choice, picked from the closest sibling rules (no-empty-object-type, no-unsafe-assignment, no-unsafe-enum-comparison). Please push back if you want different values.
  3. Goldfile updates for upstream changes (rules_OnlyTypeScriptBaseConfig, rules_OnlyLwcBaseConfig):
    • @typescript-eslint/no-useless-default-assignment is now suggestion-only upstream (meta.fixable unset), so it no longer carries the Fixable tag.
    • eslint-plugin-jest 29.16.0 -> 29.17.1 changes the version in 18 jest/* doc URLs.

Frozen / not updated (per the monthly release guide)

  • @salesforce/core stays ^8.31.2. 8.32.x adds getWriteStream(): pino.TransportSingleOptions to logger.d.ts, which fails to type-check against pino 9.14.0 in apexguru-engine (TS2694). This is what broke CI on the first push of this PR. The lockfile packages that exist only because of @salesforce/core were restored to their dev versions (e.g. @jsforce/jsforce-node 3.10.14, which supports Node >=18; the 3.13.x line needs Node >=22).
  • @types/node stays ^20.0.0 (minimum customer Node version). ncu tried to raise it to ^20.19.43; reverted.
  • p-limit stays 3.x (v4+ is ESM-only).
  • eslint8-engine dependencies are untouched.
  • Majors not applied (none required for this release): eslint 10, typescript 7, archiver 8, minimatch 11, isbinaryfile 6, js-yaml 5, retire 6, @babel/* 8, slds plugin 2.

Lockfile notes

  • Lockfile diff vs dev: +1,568 / -787. All new resolved URLs are registry.npmjs.org with integrity hashes (npm_lock_guard passes); npm ci is clean.
  • Three transitive majors come in via the bumps:
    • babel-plugin-istanbul 8 and test-exclude 7, from jest 30.5.2 (test tooling only).
    • meriyah 7, from astronomical 3.2.0, which retire 5.7.0 requires. This one is a runtime path for the retire engine. The retirejs-engine tests pass.
  • New native transitive dependency: @parcel/watcher@2.6.0 (has an install script) comes in via jest 30.5.2 -> jest-haste-map. It is dev tooling only: I packed the real eslint-engine tarball and resolved it in an empty directory, and no jest, jest-haste-map or @parcel/watcher reaches a customer install.

Test Results

Run from scratch (npm run clean, delete node_modules, npm ci):

  • Build: passes, including a forced tsc --build --force on apexguru-engine (the step that failed in CI).
  • Full root npm run test: 73 suites passed (3 skipped), 1,700 tests passed, 0 failed.

Checklist

  • Minor/patch updates only, no major bumps in package.json
  • Frozen dependencies maintained (including @salesforce/core)
  • Clean build and tests pass
  • Lockfile references only the public npm registry
  • Commits signed

🤖 Generated with Claude Code

…monthly release

Updated (minor/patch only, via `ncu --target minor`):
- root, ENGINE-TEMPLATE
- code-analyzer-engine-api
- code-analyzer-pmd-engine
- code-analyzer-eslint-engine
- code-analyzer-regex-engine
- code-analyzer-flow-engine
- code-analyzer-retirejs-engine
- code-analyzer-sfge-engine
- code-analyzer-apexguru-engine
- code-analyzer-uibundle-engine
- code-analyzer-core

Versions bumped to the next minor -SNAPSHOT, as required by the pre-commit
hook for changed packages, with exact inter-package pins updated:
- engine-api 0.43.0-SNAPSHOT, core 0.54.0-SNAPSHOT, eslint-engine 0.48.0-SNAPSHOT,
  eslint8-engine 0.20.0-SNAPSHOT (engine-api pin only), regex 0.41.0-SNAPSHOT,
  retirejs 0.40.0-SNAPSHOT, apexguru 0.44.0-SNAPSHOT, uibundle 0.3.0-SNAPSHOT
- pmd, flow and sfge were already ahead of their published versions.

typescript-eslint 8.73.0 adds 3 rules, mapped as NOT RECOMMENDED:
- no-generated-empty-object-type (Moderate, BestPractices)
- no-unsafe-class-instance-assignment (High, ErrorProne)
- no-unsafe-enum-assignment (Moderate, BestPractices)
no-useless-default-assignment is now suggestion-only upstream, so it loses
the Fixable tag. eslint-plugin-jest 29.17.1 changes its doc URL version.
Goldfiles updated to match.

Maintained frozen dependencies:
- @types/node: v20.x (customer requirement)
- p-limit: v3.x (ESM compatibility)
- eslint8-engine: dependencies untouched (frozen versions)

Full `npm run test`: 1700 passed, 0 failed.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@git2gus

git2gus Bot commented Nov 26, 2026

Copy link
Copy Markdown

Git2Gus App is installed but the .git2gus/config.json doesn't have right values. You should add the required configuration.

…er release guide)

@salesforce/core 8.32.x adds `getWriteStream(): pino.TransportSingleOptions`
to logger.d.ts, which fails to type-check against pino 9.14.0 in
code-analyzer-apexguru-engine (TS2694), breaking CI.

- apexguru-engine: @salesforce/core ^8.32.6 -> ^8.31.2
- package-lock.json: restore only the packages that exist solely for
  @salesforce/core back to their origin/dev versions (jsforce-node 3.10.14,
  csv-parse 5.6.0, faye, tldts, ...; undici removed). All other dependency
  updates in this PR are untouched.

Verified from scratch: npm ci, clean build, forced tsc on apexguru-engine,
full npm run test (1700 passed, 0 failed).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@nikhil-mittal-165
nikhil-mittal-165 merged commit 9244099 into dev Nov 26, 2026
15 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