Fix remaining npm audit vulnerabilities across examples#74
Closed
miguelcalderon wants to merge 2 commits intomainfrom
Closed
Fix remaining npm audit vulnerabilities across examples#74miguelcalderon wants to merge 2 commits intomainfrom
miguelcalderon wants to merge 2 commits intomainfrom
Conversation
Run npm audit fix on all examples to resolve vulnerabilities that have non-breaking fixes available.
- Angular: fresh lockfile resolves all 18 vulns (Angular 21.2.6) - Gatsby: migrate from Gatsby (dead) to Vite + React Router (21 → 0 vulns) - Laravel: migrate from laravel-mix (dead) to Vite + laravel-vite-plugin (7 → 0 vulns) - React: migrate from create-react-app (dead) to Vite (11 → 0 vulns) - Salesforce: remove unused sfdx-lwc-jest, upgrade eslint plugins (10 low → 2 moderate) The 2 remaining moderate vulns in Salesforce (fast-xml-parser via @lwc/eslint-plugin-lwc) require migrating the entire Salesforce eslint chain to eslint@9, which has cascading peer dependency conflicts across the @salesforce/* packages.
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.
Summary
Resolves all remaining npm audit vulnerabilities that
npm audit fixcouldn't handle automatically.Changes
sfdx-lwc-jest(no tests exist); 2 remaining fromfast-xml-parserin@lwc/eslint-plugin-lwc@2.xFramework migrations
Three examples were using unmaintained build tools with deep, unfixable vulnerability chains:
gatsbycoreelliptic/crypto-browserifychainjest/jsdom/node-forgechainAll three were migrated to Vite, which is the modern standard for each ecosystem.
Unfixable (Salesforce)
The 2 remaining moderate vulns (
fast-xml-parservia@lwc/eslint-plugin-lwc) require migrating toeslint@9, which has cascading peer dependency conflicts across the@salesforce/*packages. This is blocked upstream.Commits
npm audit fix— lockfile updates across all examples