fix: replace live-server with serve to resolve Snyk vulnerabilities#147
Conversation
Agent-Logs-Url: https://github.com/DavidKRK/DavidKRK.github.io/sessions/03e73c36-d7a7-4fe7-837d-e900985bd2cc Co-authored-by: DavidKRK <136035295+DavidKRK@users.noreply.github.com>
…abilities Agent-Logs-Url: https://github.com/DavidKRK/DavidKRK.github.io/sessions/03e73c36-d7a7-4fe7-837d-e900985bd2cc Co-authored-by: DavidKRK <136035295+DavidKRK@users.noreply.github.com>
|
|
✅ Deploy Preview for whimsical-kitsune-85066d ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for spiffy-liger-8bab58 ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
There was a problem hiding this comment.
Pull request overview
This PR replaces live-server with serve in the project’s development tooling to eliminate unfixable transitive vulnerabilities and updates lockfiles accordingly.
Changes:
- Swap
live-server@^1.2.0→serve@^14.2.6indevDependencies. - Update the
devscript to useserveon port8080. - Regenerate
package-lock.jsonto reflect the new dependency tree.
Reviewed changes
Copilot reviewed 1 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| package.json | Replaces live-server with serve and updates the dev script accordingly. |
| package-lock.json | Updates the dependency graph to remove live-server and its transitive dependencies. |
| node_modules/.package-lock.json | Updated npm-generated lock artifact under node_modules/ (should not be tracked). |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Agent-Logs-Url: https://github.com/DavidKRK/DavidKRK.github.io/sessions/77dc0386-a668-443a-be71-77b24c82cf10 Co-authored-by: DavidKRK <136035295+DavidKRK@users.noreply.github.com>
|
@copilot apply changes based on the comments in this thread |
Voici un résumé de ce PR : Problème : Solution :
Already done. The only actionable change in that review thread was removing |
live-serverwithserveto eliminate 11 vulnerabilitiesdevscript to useservepackage-lock.json—npm auditreports 0 vulnerabilitiesnode_modules/.package-lock.jsonfrom git tracking (npm-generated artifact, should not be committed)