[CHIA-3924] Fixed npm audit issue - #2852
Conversation
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
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.
|
3174f7e to
8a7a2ad
Compare
|
maybe instead of patch we should just wait few hours until they will merge github/advisory-database#7002 |
|
@seeden Right, the PR was merged. I'm removing patch-packages now |
|
code changes seem ok to me, but I can't match up the description with the actual code changes - perhaps the description needs an update |
* Fixed npm audit issue * Fixed eslint issue * Fixed CI test failure * Removed patch-package * A minor fix * Updated node version to 24 * Nodejs 24 * Updated packages
Summary
Resolves all high-severity
npm auditvulnerabilities (0 remaining) and upgrades Node.js from 20 (approaching EOL April 2026) to 24.Changes
Node.js upgrade (20 → 24)
.nvmrcto24code-check.yml,audit.yml,extract-strings.yml,crowdin-push.yml,crowdin-pull.yml) to use Node 24.x /node:24Security fixes via npm overrides
minimatch@3.0.5→3.1.4— ReDoS vulnerabilities (GHSA-3ppc-4f35-3m26, GHSA-7r86-cg39-jmmj, GHSA-23c5-xmqv-rm74). Pinned bylerna@8.2.1/@lerna/create.minimatch@9.0.3→9.0.9— Same advisories. Pinned bynx@19.0.1/@nx/devkit.rollup→4.59.0— Path traversal (GHSA-mw96-cpmx-2vgc)serialize-javascript→7.0.4— RCE via RegExp.flags (GHSA-5c6j-r48x-rmvq). Affectscopy-webpack-pluginandterser-webpack-plugin.Other dependency updates
ajv8.17.1 → 8.18.0 (direct devDependency)Why overrides can't be removed
lerna@8.2.1andnx@19.0.1pin exact vulnerable minimatch versions in their dependencies. Until these packages release patched versions, the overrides are required. Upgradingnxto v22+ would fix its minimatch dependency but is a major version bump with breaking changes.