chore(deps): update dev dependencies to latest majors - #307
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Updates all
devDependenciesto their latest versions, including majors.Changes
.eslintrcreplaced witheslint.config.js(using@eslint/jsandglobals), and--ext .jsremoved from thelintscript (no longer supported).import/extensions→import-x/extensions).npm audit fixapplied for transitive advisories.moduleResolution: "node"andbaseUrl, so the config now usesmoduleResolution: "bundler"with a relativepathsmapping.Source/test adjustments required by the updated tooling:
catch (e)bindings insrc/localize.jsandsrc/store.jseslint-disabledirectives that no longer match any reported problemno-useless-assignmentin the store spectest/spec/children.jsper Prettier 3.9Verification
npm run lint— cleannpm run test:cli— 5/5 passingnpm run test:typescript— no errors under TypeScript 7npm run karma— 579/579 passing in Chrome, Firefox and WebKit (run per-browser locally)