Skip to content

[Chore] Bump dependencies#459

Open
JiahuiWho wants to merge 2 commits intomasterfrom
bump-dependency
Open

[Chore] Bump dependencies#459
JiahuiWho wants to merge 2 commits intomasterfrom
bump-dependency

Conversation

@JiahuiWho
Copy link
Copy Markdown
Contributor

@JiahuiWho JiahuiWho commented Apr 8, 2026

Summary

  • Run yarn upgrade to update all dependencies to their latest semver-compatible (minor/patch) versions across the monorepo
  • Pin @types/react (18.2.79) and @types/react-dom (18.2.25) via resolutions to prevent transitive v19 types from breaking the build
  • Pin typescript to ~5.1.6 in all packages to stay within @typescript-eslint v6's supported range (<5.2.0)
  • Replace clean-webpack-plugin with webpack 5's built-in output.clean: true, removing the stray @types/minimatch transitive dependency
  • Add @babel/plugin-transform-private-property-in-object to replace the deprecated @babel/plugin-proposal-private-property-in-object

Notable upgrades

  • webpack 5.88 → 5.106
  • @babel/* 7.22 → 7.28-29
  • react 18.2 → 18.3, react-dom 18.2 → 18.3
  • react-router-dom 6.15 → 6.30
  • sass 1.69 → 1.99
  • styled-components 6.0 → 6.3
  • dompurify 3.0 → 3.3
  • prettier 3.0 → 3.8
  • eslint 8.47 → 8.57
  • axios (transitive) → 1.15
  • All security-related transitive deps (follow-redirects, elliptic, ws, nanoid, etc.)

Socket security alerts resolved

  • typescript@5.9.3 — pinned to ~5.1.6 across all packages
  • @babel/plugin-proposal-private-property-in-object — replaced with non-deprecated @babel/plugin-transform-private-property-in-object
  • @types/minimatch — removed entirely by dropping clean-webpack-plugin in favor of webpack 5 built-in output.clean

What's NOT included (major version bumps for future work)

  • React 19, Redux Toolkit 2, react-redux 9
  • ESLint 9+, @typescript-eslint 8
  • Express 5, webpack-dev-server 5
  • @stellar/design-system 3, @stellar/stellar-sdk 15
  • marked 18, husky 9, lint-staged 16

Copilot AI review requested due to automatic review settings April 8, 2026 19:55
@socket-security
Copy link
Copy Markdown

socket-security bot commented Apr 8, 2026

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatednpm/​eslint@​8.47.0 ⏵ 8.57.189100100 +150100
Updatednpm/​@​stellar/​prettier-config@​1.0.1 ⏵ 1.2.0661006685100
Updatednpm/​@​typescript-eslint/​parser@​6.4.0 ⏵ 6.21.01001007098100
Updatednpm/​@​types/​express@​4.17.17 ⏵ 4.17.251001007185100
Updatednpm/​@​babel/​preset-react@​7.22.5 ⏵ 7.28.510010071 -193100
Updatednpm/​eslint-config-prettier@​9.0.0 ⏵ 9.1.2100 +110072 +188100
Updatednpm/​@​babel/​plugin-transform-private-property-in-object@​7.22.5 ⏵ 7.28.6100 +11007293100
Updatednpm/​@​babel/​preset-typescript@​7.22.5 ⏵ 7.28.51001007393100
Updatednpm/​@​types/​styled-components@​5.1.26 ⏵ 5.1.361001007481100
Updatednpm/​@​types/​react-copy-to-clipboard@​5.0.4 ⏵ 5.0.710010074 -480100
Updatednpm/​@​types/​marked@​5.0.1 ⏵ 5.0.2100 +11007580100
Updatednpm/​@​types/​react-redux@​7.1.25 ⏵ 7.1.34100 +11007580100
Updatednpm/​react-router-dom@​6.15.0 ⏵ 6.30.39610075 +198100
Updatednpm/​@​types/​react-dom@​18.2.7 ⏵ 18.2.2510010075 +186100
Updatednpm/​lodash@​4.17.21 ⏵ 4.18.176 +1100 +1987 +192100
Updatednpm/​@​types/​jest@​29.5.3 ⏵ 29.5.141001007781100
Updatednpm/​@​babel/​preset-env@​7.22.10 ⏵ 7.29.297 +110077 +195100
Updatednpm/​@​types/​react@​18.2.20 ⏵ 18.2.79100 +110079 +190100
Updatednpm/​@​typescript-eslint/​eslint-plugin@​6.4.0 ⏵ 6.21.0991007998100
Updatednpm/​@​babel/​core@​7.22.10 ⏵ 7.29.09710080 +194100
Updatednpm/​@​types/​lodash@​4.14.197 ⏵ 4.17.24100 +11008086100
Updatednpm/​@​types/​node@​20.5.0 ⏵ 20.19.391001008196100
Updatednpm/​eslint-plugin-react@​7.33.1 ⏵ 7.37.59710010082100
Updatednpm/​ts-node@​10.9.1 ⏵ 10.9.296 +110010082100
Updatednpm/​url@​0.11.1 ⏵ 0.11.4100 +1100100 +183100
Updatednpm/​concurrently@​8.2.0 ⏵ 8.2.299 +1100100 +183100
Updatednpm/​eslint-plugin-import@​2.28.0 ⏵ 2.32.097 +110010084100
Updatednpm/​eslint-plugin-jsx-a11y@​6.7.1 ⏵ 6.10.299 +1100100 +184100
Updatednpm/​react@​18.2.0 ⏵ 18.3.1100 +110084 +197100
Updatednpm/​rimraf@​2.7.1 ⏵ 5.0.1099100100 +185 +35100
Updatednpm/​react-redux@​8.1.2 ⏵ 8.1.397 +110091 +185100
Updatednpm/​assert@​2.0.0 ⏵ 2.1.099 +110094 +185100
Updatednpm/​tslib@​2.6.1 ⏵ 2.8.110010010085100
See 33 more rows in the dashboard

View full report

@socket-security
Copy link
Copy Markdown

socket-security bot commented Apr 8, 2026

Warning

Review the following alerts detected in dependencies.

According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.

Action Severity Alert  (click "▶" to expand/collapse)
Warn High
License policy violation: npm axe-core under MIT AND MPL-2.0

Location: Package overview

From: ?npm/eslint-plugin-jsx-a11y@6.10.2npm/axe-core@4.11.2

ℹ Read more on: This package | This alert | What is a license policy violation?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Find a package that does not violate your license policy or adjust your policy to allow this package's license.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/axe-core@4.11.2. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn High
License policy violation: npm spdx-exceptions under CC-BY-3.0

License: CC-BY-3.0 - the applicable license policy does not allow this license (4) (npm metadata)

License: CC-BY-3.0 - the applicable license policy does not allow this license (4) (package/package.json)

From: ?npm/npm-run-all@4.1.5npm/eslint-plugin-jsdoc@46.10.1npm/spdx-exceptions@2.5.0

ℹ Read more on: This package | This alert | What is a license policy violation?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Find a package that does not violate your license policy or adjust your policy to allow this package's license.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/spdx-exceptions@2.5.0. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn Medium
Deprecated by its maintainer: npm @babel/plugin-proposal-private-property-in-object

Reason: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-private-property-in-object instead.

From: ?npm/eslint-config-react-app@7.0.1npm/@babel/plugin-proposal-private-property-in-object@7.21.11

ℹ Read more on: This package | This alert | What is a deprecated package?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Research the state of the package and determine if there are non-deprecated versions that can be used, or if it should be replaced with a new, supported solution.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/@babel/plugin-proposal-private-property-in-object@7.21.11. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

View full report

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates TypeScript typing configuration and dependency constraints to keep the monorepo build stable after dependency upgrades, specifically preventing accidental adoption of incompatible React v19 type packages and limiting TypeScript versions to supported ranges.

Changes:

  • Restrict server TypeScript auto-discovered typings by explicitly setting types to node and express.
  • Adjust @types/react / @types/react-dom ranges in the client package to stay within React 18 types.
  • Add root resolutions to pin @types/react and @types/react-dom to specific React 18 patch versions.

Reviewed changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated no comments.

File Description
packages/demo-wallet-server/tsconfig.json Adds explicit types to prevent unwanted transitive @types/* auto-inclusion and related build failures.
packages/demo-wallet-client/package.json Changes React type packages to ~18.2.x ranges to avoid pulling v19 types.
package.json Pins @types/react and @types/react-dom via Yarn resolutions to known-good React 18 versions.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@stellar-jenkins-ci
Copy link
Copy Markdown

@stellar-jenkins-ci
Copy link
Copy Markdown

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