Skip to content

chore(deps): update dev dependencies to latest majors - #307

Merged
smalluban merged 1 commit into
mainfrom
chore/update-dependencies
Aug 5, 2026
Merged

chore(deps): update dev dependencies to latest majors#307
smalluban merged 1 commit into
mainfrom
chore/update-dependencies

Conversation

@smalluban

Copy link
Copy Markdown
Contributor

Updates all devDependencies to their latest versions, including majors.

Changes

  • eslint 8 → 10 — migrated to flat config: .eslintrc replaced with eslint.config.js (using @eslint/js and globals), and --ext .js removed from the lint script (no longer supported).
  • eslint-plugin-import → eslint-plugin-import-x — the original plugin does not declare support for ESLint 10; the fork is a drop-in replacement (import/extensionsimport-x/extensions).
  • eslint-config-prettier 9 → 10, jasmine-core 5 → 6, typescript 5 → 7, plus minor/patch bumps for prettier, playwright, karma launchers and standard-version. npm audit fix applied for transitive advisories.
  • test/types/tsconfig.json — TypeScript 7 removed moduleResolution: "node" and baseUrl, so the config now uses moduleResolution: "bundler" with a relative paths mapping.

Source/test adjustments required by the updated tooling:

  • removed unused catch (e) bindings in src/localize.js and src/store.js
  • removed stale eslint-disable directives that no longer match any reported problem
  • removed a useless re-assignment flagged by no-useless-assignment in the store spec
  • reformatted one template literal in test/spec/children.js per Prettier 3.9

Verification

  • npm run lint — clean
  • npm run test:cli — 5/5 passing
  • npm run test:typescript — no errors under TypeScript 7
  • npm run karma — 579/579 passing in Chrome, Firefox and WebKit (run per-browser locally)

Bump all devDependencies, including major upgrades:

* eslint 8 -> 10 with the flat config migration (`.eslintrc` replaced by
  `eslint.config.js`, `--ext .js` dropped from the lint script)
* eslint-plugin-import replaced by eslint-plugin-import-x, as the
  original plugin does not support ESLint 10
* eslint-config-prettier 9 -> 10, jasmine-core 5 -> 6, typescript 5 -> 7
* `moduleResolution` and `baseUrl` in the type tests config updated for
  TypeScript 7, which removed both options

Source fixes required by the new rules: unused catch bindings removed and
stale `eslint-disable` directives cleaned up.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@coveralls

Copy link
Copy Markdown

Coverage Status

coverage: 99.957%. remained the same — chore/update-dependencies into main

@smalluban
smalluban merged commit ff7da9c into main Aug 5, 2026
2 checks passed
@smalluban
smalluban deleted the chore/update-dependencies branch August 5, 2026 09:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants