Updating library dependencies to fix npm audit security issues#1922
Open
Updating library dependencies to fix npm audit security issues#1922
Conversation
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.
🔐 Security: Dependency Vulnerability Remediation
Summary
Resolved 28 vulnerabilities per package (across 16 workspace packages) by upgrading direct dependencies and adding Yarn workspace resolutions to force-patch transitive dependencies.
📊 Before vs After — Vulnerability Overview
🔴 Group A — Before Fix: 63 Vulnerabilities (ern-api-gen, ern-api-impl-gen, ern-local-cli, ern-orchestrator)
🟠 Group B — Before Fix: 55 Vulnerabilities (11 packages)
🟡 Group C — Before Fix: 6 Vulnerabilities (ern-util-dev)
✅ After Fix — All 16 Packages Build Successfully
📦 Direct Dependency Upgrades
4.0.54.2.3^3.25.0^3.33.0^0.8.4^0.10.0^7.0.3^7.0.6^4.0.0^4.0.4^11.8.2^11.8.5^2.6.1^2.6.7^7.3.5^7.7.4^4.17.21^4.17.23^0.2.1^0.2.518.5.318.5.3(kept — ESM compat)^11.8.2^11.8.5^7.3.5^7.7.4^4.17.21^4.17.2318.5.318.5.3(kept)^7.3.5^7.7.4^0.8.4^0.10.0^3.0.4^3.1.57.3.5(exact pin)^7.7.4^0.8.4^0.10.0^5.0.0^5.2.2^0.2.1^0.2.5^0.8.4^0.10.0^5.0.0^5.2.2🧵 Yarn Resolutions Added to Root
package.jsonForces patched versions globally across all 16 workspace packages for transitive dependencies.
View full resolutions block
🔍 Verified Patched Versions in
node_modules/@xmldom/xmldom@0.8.11(safe fork)📉 Package-by-Package Delta
View full per-package comparison
✅ Zero Genuine Critical Vulnerabilities Remain
View critical CVE verification table
4.0.5via Yarn resolution4.0.31.2.8via Yarn resolution1.2.63.1.0via Yarn resolution3.0.50.2.1— uses hoistedplist@3.1.0plist≥3.0.50.6.0via Yarn resolution0.6.00.6.4using hoisteddeep-extend@0.6.0@xmldom/xmldom@0.8.11exists🚨 Key Critical Vulnerabilities Addressed
View original critical/high findings
🧾 Eliminated Vulnerabilities — Final Summary
code-push@4.2.3droppedvm2entirely3.33.0^1.5.103.1.0^1.2.8