Skip to content

Comments

Dependency updates and bug fixes#2832

Open
jasontaylordev wants to merge 17 commits intomasterfrom
npm-patch-minor-updates
Open

Dependency updates and bug fixes#2832
jasontaylordev wants to merge 17 commits intomasterfrom
npm-patch-minor-updates

Conversation

@jasontaylordev
Copy link
Contributor

@jasontaylordev jasontaylordev commented Feb 19, 2026

Combines several Renovate PRs into one, verified locally with a clean build.

npm dependency updates

Package From To
eslint 9.39.2 10.0.0
@eslint/js 9.39.2 10.0.1
vue-codemirror6 1.4.1 1.4.2
eslint-plugin-vue 10.7.0 10.8.0
typescript-eslint 8.55.0 8.56.0
@types/node 25.2.3 25.3.0
jsdom 26.1.0 28.1.0
vue-router 4.6.4 5.0.3

NuGet dependency updates

Package From To
NUnit 4.4.0 4.5.0
Microsoft.Extensions.FileProviders.Embedded 8.0.24 10.0.3

GitHub Actions updates

Action From To
docker/build-push-action v6.19.1 v6.19.2

Removed

eslint-plugin-promise was removed to unblock the ESLint v10 upgrade. It only declared peer support for ESLint up to ^9.0.0 and is not actively maintained.

Additional changes required for ESLint v10

  • Changed npm audit in build.ps1 to --omit=dev (dev toolchain has transient false-positive advisories unrelated to production code)
  • Removed stale eslint-disable comments for promise/ rules (from the now-removed eslint-plugin-promise)
  • Fixed two no-useless-assignment violations (new rule enforced in this upgrade):
    • AuditingCapability.ts: changed let messageTooltip = "" to let messageTooltip: string
    • HealthChecksStore.ts: changed let result: EmailNotifications | null = null to let result: EmailNotifications | null
  • Removed eslint from vite-plugin-checker config in vite.config.ts (vite-plugin-checker@0.12.0 uses legacy ESLint options removed in v10, causing test and dev server failures)
  • Added explicit npm run lint step to build.ps1 to keep ESLint enforced in CI

Additional changes required for vue-router v5

Test fixes

  • Added networkError option to MockEndpointOptions for simulating fetch failures
  • Fixed hasMonitoringUnavailable precondition: The "monitoring instance not responding" scenario requires a network error (fetch throws), not an HTTP 500 response with valid JSON
  • Split endpoint-details.spec.ts history period test into 7 independent tests to avoid CI timeout

Closes #2810
Closes #2811
Closes #2828
Closes #2789
Closes #2792
Closes #2830
Closes #2829
Closes #2803
Closes #2827
Closes #2706
Closes #2801

eslint-plugin-promise@7.2.1 only declares peer support for ESLint
up to ^9.0.0, blocking the upgrade to ESLint v10. eslint-plugin-promise
is not actively maintained with no updates for over a year.
@jasontaylordev jasontaylordev changed the title Update npm patch/minor dependencies Update npm dependencies (ESLint v10, patch/minor bumps) Feb 19, 2026
Dev toolchain packages (eslint, typescript-eslint) have stale advisory
database entries that flag false positives. Production dependencies are
still audited. --omit=dev scopes the check to what actually ships.
- Remove eslint-disable comments for promise/ rules (plugin removed)
- Remove useless initial assignments in AuditingCapability.ts and
  HealthChecksStore.ts flagged by the new no-useless-assignment rule
- Fix formatting in eslint.config.mjs
@jasontaylordev jasontaylordev marked this pull request as draft February 20, 2026 00:11
vite-plugin-checker@0.12.0 uses legacy ESLint options removed in v10,
causing test and dev server failures. Removing the eslint option from
the checker config and adding an explicit npm run lint step to build.ps1
to ensure ESLint continues to run in CI.
@jasontaylordev jasontaylordev force-pushed the npm-patch-minor-updates branch from 899b8f8 to 306ca94 Compare February 20, 2026 00:24
@jasontaylordev jasontaylordev changed the title Update npm dependencies (ESLint v10, patch/minor bumps) Renovating 🏠🌳👷 Feb 20, 2026
@jasontaylordev jasontaylordev changed the title Renovating 🏠🌳👷 Dependency updates and bug fixes Feb 20, 2026
@jasontaylordev jasontaylordev marked this pull request as ready for review February 20, 2026 04:14

export function mount({ router }: { router: Router }) {
router.beforeEach((to, _from, next) => {
router.beforeEach((to) => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

https://router.vuejs.org/guide/migration/v4-to-v5 says that there are no breaking changes from 4 to 5... so what is this change doing?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated router.beforeEach in mount.ts to return instead of calling deprecated next() callback


serviceControlClient
.fetchFromServiceControl("configuration")
// eslint-disable-next-line promise/prefer-await-to-then
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't understand why this linting rule is being removed. We want all async operations to be forced to use async await unless there's an explicit reason for not doing so

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed stale eslint-disable comments for promise/ rules (from the now-removed eslint-plugin-promise)

eslint-plugin-promise was removed to unblock the ESLint v10 upgrade. It only declared peer support for ESLint up to ^9.0.0 and is not actively maintained (last update over 1 year ago).

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