Skip to content

feat(deps): update all node dependencies incl. major versions - #1036

Open
BlacCello wants to merge 1 commit into
MaibornWolff:mainfrom
BlacCello:deps/update-node-dependencies
Open

feat(deps): update all node dependencies incl. major versions#1036
BlacCello wants to merge 1 commit into
MaibornWolff:mainfrom
BlacCello:deps/update-node-dependencies

Conversation

@BlacCello

@BlacCello BlacCello commented Jun 23, 2026

Copy link
Copy Markdown

Summary

Updates every npm dependency across tadis-analyzer, tadis-ui and custom-example-analyzer to the latest version — including majors — and fixes all resulting breakage. All three packages build, test, lint clean and report 0 npm-audit vulnerabilities.

Notable major bumps: TypeScript 5→6, ESLint 9→10, vitest 3→4, vite 7→8, @types/node →26, js-yaml 4→5, @types/supertest 6→7.

TypeScript 6

  • TS6 requires an explicit rootDir and deprecates baseUrl / downlevelIteration — set rootDir, removed the deprecated options, and converted the few baseUrl-style src/... imports to relative paths.
  • TS6 turns the strict family on by default; kept it off (strict / strictNullChecks: false) to preserve each project's established lenient typing (strict was already commented out).
  • Replaced the Function supertype in core-typed.ts with explicit constructor interfaces.

ESLint 10 (flat config)

  • ESLint 10 drops .eslintrc support — migrated both packages to eslint.config.mjs via the unified typescript-eslint package.
  • Removed genuinely unused imports/vars; underscore-ignore for intentionally-unused args.

vitest 4 / vite 8

  • Converted chai-style assertions (expect(x).to.be.null) to native vitest matchers (expect(x).toBeNull()) across the analyzer test suite — no lint suppression needed.
  • defineConfig now imported from vitest/config; added a vite/client types reference for CSS side-effect imports; kept esbuild as the CSS minifier (vite 8 defaults to lightningcss, which rejects a legacy IE *-hack in the bundled CSS).

Security

  • Pinned patched transitive deps via overrides: multer ^2.2.0 (NestJS) and diff ^4.0.4 (ts-node). npm audit → 0 vulnerabilities everywhere.

Verification

  • npm run build / test / lint pass for every package.
  • All three Docker images build successfully on node 26, with the in-image test suites green (46 + 8 tests).

Summary by CodeRabbit

  • Chores

    • Updated build and development dependencies across all projects
    • Migrated ESLint configurations to flat config format
    • Adjusted TypeScript compiler options and configuration
    • Modernized Vite configuration with Vitest integration
    • Cleaned up unused imports and simplified code
  • Tests

    • Updated test assertions to use Vitest matchers

Bump every dependency in tadis-analyzer, tadis-ui and custom-example-analyzer
to latest (including majors: TypeScript 6, ESLint 10, vitest 4, vite 8,
@types/node 26, js-yaml 5, @types/supertest 7) and fix the resulting breakage.

TypeScript 6
- Set explicit rootDir (TS6 requires it) and drop deprecated baseUrl /
  downlevelIteration; convert the few baseUrl-style 'src/...' imports to
  relative paths.
- TS6 enables the strict family by default; keep it off (strictNullChecks /
  strict: false) to preserve the projects' established lenient typing.
- Replace the `Function` supertype in core-typed with explicit constructor
  interfaces (name + new()).

ESLint 10 (flat config)
- ESLint 10 drops .eslintrc support; migrate both packages to eslint.config.mjs
  using the unified typescript-eslint package.
- Remove unused imports/vars and underscore-ignore intentionally-unused args.

vitest 4 / vite 8
- Convert chai-style assertions (expect(x).to.be.null) to native vitest
  matchers across the analyzer test suite.
- Import defineConfig from vitest/config; add a vite/client types reference
  for CSS side-effect imports; keep esbuild as the CSS minifier (vite 8
  defaults to lightningcss, which rejects a legacy IE star-hack in the CSS).

Security
- Pin patched transitive deps via overrides (multer ^2.2.0, diff ^4.0.4):
  all three packages now report 0 npm-audit vulnerabilities.

Verified: build, test and lint pass for every package, and the
tadis-analyzer and tadis-ui Docker images build (tests run green inside).
@coderabbitai

coderabbitai Bot commented Jun 23, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: b92421d2-c4bd-4ade-89b0-2c73dad4a32e

📥 Commits

Reviewing files that changed from the base of the PR and between 4afbe3e and 33981c9.

⛔ Files ignored due to path filters (3)
  • sources/custom-example-analyzer/package-lock.json is excluded by !**/package-lock.json
  • sources/tadis-analyzer/package-lock.json is excluded by !**/package-lock.json
  • sources/tadis-ui/package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (34)
  • sources/custom-example-analyzer/package.json
  • sources/custom-example-analyzer/tsconfig.json
  • sources/tadis-analyzer/.eslintrc.js
  • sources/tadis-analyzer/eslint.config.mjs
  • sources/tadis-analyzer/package.json
  • sources/tadis-analyzer/src/model/core-typed.test.ts
  • sources/tadis-analyzer/src/model/core-typed.ts
  • sources/tadis-analyzer/src/model/v1-legacy/model.ts
  • sources/tadis-analyzer/src/model/v1-legacy/v1-adapter.test.ts
  • sources/tadis-analyzer/src/post-processors/MicroserviceWithOutgoingExchangeMerger.test.ts
  • sources/tadis-analyzer/src/post-processors/SubSystemFromPayloadTransformer.test.ts
  • sources/tadis-analyzer/src/post-processors/SubSystemFromPayloadTransformer.ts
  • sources/tadis-analyzer/src/system-element-extractors/env-variables/ExchangesFromEnvPayloadCreator.test.ts
  • sources/tadis-analyzer/src/system-element-extractors/experimental/code-pattern/PatternAnalyzer.controller.ts
  • sources/tadis-analyzer/src/system-element-extractors/experimental/code-pattern/PatternAnalyzer.multiFile.test.ts
  • sources/tadis-analyzer/src/system-element-extractors/experimental/code-pattern/PatternAnalyzer.service.ts
  • sources/tadis-analyzer/src/system-element-extractors/experimental/code-pattern/behavior-model.ts
  • sources/tadis-analyzer/src/system-element-extractors/experimental/code-pattern/prototyping/pattern-dsl.ts
  • sources/tadis-analyzer/src/system-element-extractors/experimental/code-pattern/prototyping/regexp-test.ts
  • sources/tadis-analyzer/src/system-element-extractors/java/JavaAnnotationAnalyzer.test.ts
  • sources/tadis-analyzer/src/system-element-extractors/java/JavaAnnotationAnalyzer.ts
  • sources/tadis-analyzer/src/system-element-extractors/kubernetes/api/api.service.ts
  • sources/tadis-analyzer/src/system-element-extractors/kubernetes/transformer/EnvDefinitionFromPodDecorator.test.ts
  • sources/tadis-analyzer/src/system-element-extractors/kubernetes/transformer/LabelsFromDeploymentDecorator.test.ts
  • sources/tadis-analyzer/src/system-element-extractors/kubernetes/transformer/MicroservicesFromKubernetesCreator.ts
  • sources/tadis-analyzer/src/system-element-extractors/rabbitmq/transformer/RabbitMqBindingsFromApiAnalyzer.test.ts
  • sources/tadis-analyzer/src/system-element-extractors/spring-boot/FeignClientAnnotationAnalyzer.ts
  • sources/tadis-analyzer/tsconfig.json
  • sources/tadis-ui/.eslintrc.js
  • sources/tadis-ui/eslint.config.mjs
  • sources/tadis-ui/package.json
  • sources/tadis-ui/src/vite-env.d.ts
  • sources/tadis-ui/tsconfig.json
  • sources/tadis-ui/vite.config.ts
💤 Files with no reviewable changes (8)
  • sources/tadis-analyzer/src/system-element-extractors/experimental/code-pattern/PatternAnalyzer.controller.ts
  • sources/tadis-analyzer/src/system-element-extractors/experimental/code-pattern/PatternAnalyzer.multiFile.test.ts
  • sources/tadis-analyzer/.eslintrc.js
  • sources/tadis-analyzer/src/model/v1-legacy/model.ts
  • sources/tadis-analyzer/src/system-element-extractors/experimental/code-pattern/prototyping/regexp-test.ts
  • sources/tadis-analyzer/src/post-processors/SubSystemFromPayloadTransformer.ts
  • sources/tadis-ui/.eslintrc.js
  • sources/tadis-analyzer/src/system-element-extractors/experimental/code-pattern/prototyping/pattern-dsl.ts

📝 Walkthrough

Walkthrough

Upgrades all three packages (custom-example-analyzer, tadis-analyzer, tadis-ui) to TypeScript 6 and associated tooling. Migrates ESLint from legacy .eslintrc.js to flat config format, adjusts tsconfig.json files for TS 6 defaults, updates Vite config, fixes relative import paths, removes unused symbols, and converts all test assertions from Chai to Vitest matchers.

Changes

Toolchain and Source Upgrade

Layer / File(s) Summary
Dependency version bumps across all packages
sources/custom-example-analyzer/package.json, sources/tadis-analyzer/package.json, sources/tadis-ui/package.json
Bumps NestJS, dotenv, axios, TypeScript, Vitest, Vite, ESLint, and related dev tooling across all three packages. Adds overrides for multer and diff in custom-example-analyzer and tadis-analyzer.
ESLint flat config migration
sources/tadis-analyzer/eslint.config.mjs, sources/tadis-ui/eslint.config.mjs
Removes legacy .eslintrc.js from tadis-analyzer and tadis-ui and replaces each with a typescript-eslint flat config exporting ignore globs, recommended rules, and rule overrides for unused-vars, explicit-return-type, and no-explicit-any.
TypeScript and Vite config updates
sources/*/tsconfig.json, sources/tadis-ui/vite.config.ts, sources/tadis-ui/src/vite-env.d.ts
Sets strictNullChecks: false (or strict: false) and removes baseUrl in all three tsconfig.json files. Updates vite.config.ts to import defineConfig from vitest/config, sets CSS minification to esbuild, and adds a Vitest test block. Adds vite/client reference to vite-env.d.ts.
Source import path corrections and unused symbol cleanup
sources/tadis-analyzer/src/model/core-typed.ts, sources/tadis-analyzer/src/model/v1-legacy/model.ts, sources/tadis-analyzer/src/post-processors/SubSystemFromPayloadTransformer.ts, sources/tadis-analyzer/src/system-element-extractors/...
Fixes absolute-style src/model/core.js imports to relative paths across multiple source files. Removes unused lodash, Logger, Inject, and regex helper imports. Renames unused transform parameter to _system. Replaces Function-extending interfaces with explicit constructor signatures in core-typed.ts. Exports NamePattern from behavior-model.ts.
Test assertion migration from Chai to Vitest
sources/tadis-analyzer/src/model/core-typed.test.ts, sources/tadis-analyzer/src/model/v1-legacy/v1-adapter.test.ts, sources/tadis-analyzer/src/post-processors/*.test.ts, sources/tadis-analyzer/src/system-element-extractors/**/*.test.ts
Converts all Chai-style assertion chains to Vitest/Jest-style matchers (toHaveLength, toEqual, toBeDefined, toBeUndefined, toContainEqual, not.toBeNull) across all test files, preserving identical verification logic.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~25 minutes

Possibly related PRs

Poem

🐇 Hop hop, the deps are fresh and new,
TypeScript six has changed the view!
Chai is gone, Vitest takes the stage,
Flat configs written on a brand-new page.
The rabbit checks each import path,
Then hops away from ESLint's wrath! 🌟

🚥 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 accurately summarizes the main change: updating npm dependencies to latest versions including major version bumps across multiple packages.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
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.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

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

@BlacCello BlacCello changed the title chore(deps): update all node dependencies incl. major versions feat(deps): update all node dependencies incl. major versions Jun 23, 2026
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