Fixing npm audit - #15
Fixing npm audit #15
Conversation
script runs npm audit validate and outputs a recommendation message if it fails. This is to prevent future issues with build pipeline failing due to package-lock being generated from stale node_modules
Also regenerates package lock
Prevents .idea files leaking into package from users using jet brains IDEs
|
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.
|
🟢 Coverage Report
|
Summary
Previous builds were failing at npm audit signatures.
After investigation, this was found to be caused by
package-lock.jsonbeing generated over stalenode_modulescausingnpm audit validateto attempt resolution of package versions that don't exist.I have added
npm audit validateto the localvalidate:package:skip-reachabilityscript to guard against this issue arising during release again."baseline-browser-mapping": "^2.11.24"has been added as per recommendation bysocket optimize..ideahas been added to prevent users of jet brains packages accidentally releasing config files with the published packageUsual maintenance also present:
package-lock.jsonupdatedsocketsecuritypin updated to latest compatible versionType Of Change
Activities Checklist
Code Quality
Testing And Validation
npm run validate:package.Coverage
Security And Safety
Documentation
Release Impact