Update npm dependencies to latest versions#151
Merged
Conversation
Production: - @fortawesome/fontawesome-svg-core: 6.7.2 → 7.2.0 - @fortawesome/free-brands-svg-icons: 6.7.2 → 7.2.0 - @fortawesome/free-solid-svg-icons: 6.7.2 → 7.2.0 - @fortawesome/react-fontawesome: 0.2.6 → 3.3.1 - @react-pdf/renderer: 4.3.1 → 4.5.1 - react / react-dom: 19.2.1 → 19.2.6 - react-markdown: 9.1.0 → 10.1.0 Dev: - @types/react: 19.2.7 → 19.2.14 - @typescript-eslint/eslint-plugin & parser: 8.48.1 → 8.59.3 - css-loader: 7.1.2 → 7.1.4 - eslint: 9.39.1 → 9.39.4 - eslint-config-prettier: 9.1.2 → 10.1.8 - eslint-plugin-github: 5.1.8 → 6.0.0 - prettier: 3.7.4 → 3.8.3 - sass: 1.94.2 → 1.99.0 - sass-loader: 16.0.6 → 16.0.8 - ts-jest: 29.4.6 → 29.4.9 - ts-loader: 9.5.4 → 9.5.7 - webpack: 5.103.0 → 5.106.2 - webpack-dev-server: 5.2.2 → 5.2.4
Dependency bumps: - jest: 29.7.0 → 30.4.2 - @types/jest: 29.5.14 → 30.0.0 - typescript: 5.9.3 → 6.0.3 - webpack-cli: 6.0.1 → 7.0.2 - removed @types/react-chartjs-2 (react-chartjs-2 bundles its own types) tsconfig.json adjustments required by TypeScript 6: - moduleResolution: node → bundler (matches webpack-based build; replaces the deprecated node10 alias) - lib: es2015+es2017 → es2020 (needed for Array.prototype.flatMap) - removed misconfigured typeRoots entry ./src/types (it holds a single types.ts file, not type packages) - added explicit types: ["jest", "node"] eslint stays on 9.x because eslint-plugin-github@6 peer-requires eslint ^8 || ^9. Upstream PR github/eslint-plugin-github#686 widens the peer dep but is unmerged.
|
There was a problem hiding this comment.
Code Review
This pull request updates numerous dependencies and devDependencies to their latest versions, including major version bumps for FontAwesome, React Markdown, Jest, and TypeScript. Configuration changes in tsconfig.json include updating the library target to ES2020 and switching the module resolution strategy to "bundler". Feedback was provided regarding a version mismatch between ts-jest and jest, as well as a configuration conflict between the commonjs module setting and the bundler resolution strategy.
vanbroup
approved these changes
May 17, 2026
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.



Bumped npm dependencies across the project to their latest versions and adjusted
tsconfig.jsonfor TypeScript 6.Production
@fortawesome/fontawesome-svg-core: 6.7.2 → 7.2.0@fortawesome/free-brands-svg-icons: 6.7.2 → 7.2.0@fortawesome/free-solid-svg-icons: 6.7.2 → 7.2.0@fortawesome/react-fontawesome: 0.2.6 → 3.3.1@react-pdf/renderer: 4.3.1 → 4.5.1react/react-dom: 19.2.1 → 19.2.6react-markdown: 9.1.0 → 10.1.0Dev
@types/jest: 29.5.14 → 30.0.0@types/react: 19.2.7 → 19.2.14@typescript-eslint/eslint-plugin&parser: 8.48.1 → 8.59.3css-loader: 7.1.2 → 7.1.4eslint: 9.39.1 → 9.39.4eslint-config-prettier: 9.1.2 → 10.1.8eslint-plugin-github: 5.1.8 → 6.0.0jest: 29.7.0 → 30.4.2prettier: 3.7.4 → 3.8.3sass: 1.94.2 → 1.99.0sass-loader: 16.0.6 → 16.0.8ts-jest: 29.4.6 → 29.4.9ts-loader: 9.5.4 → 9.5.7typescript: 5.9.3 → 6.0.3webpack: 5.103.0 → 5.106.2webpack-cli: 6.0.1 → 7.0.2webpack-dev-server: 5.2.2 → 5.2.4@types/react-chartjs-2(the package is deprecated;react-chartjs-2bundles its own types)tsconfig.json
moduleResolution:node→bundler(replaces the deprecatednode10alias; matches our webpack-based build)lib:es2015 + es2017→es2020(needed forArray.prototype.flatMap)typeRootsentry./src/types(it holds a singletypes.tsfile, not type packages)types: ["jest", "node"]Notes
eslintstays on 9.x becauseeslint-plugin-github@6peer-requireseslint ^8 || ^9. Upstream PR github/eslint-plugin-github#686 widens the peer dep to include v10 but is not yet merged.