[Snyk] Security upgrade @actions/cache from 3.2.213 to 4.0.0#21
[Snyk] Security upgrade @actions/cache from 3.2.213 to 4.0.0#21adityamaru wants to merge 1 commit intomainfrom
Conversation
The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-FORMDATA-10841150
There was a problem hiding this comment.
Bug: Cache Version Mismatch Causes Dependency Issues
The @actions/cache dependency has an inconsistent version specification: package.json pins it to an exact version (4.0.0), but package-lock.json uses a caret range (^4.0.0). This mismatch can lead to different versions being installed across environments, causing inconsistent dependency resolution and potentially undermining the intent of an exact version.
package.json#L15-L16
Lines 15 to 16 in 4ceaa18
package-lock.json#L11-L12
Lines 11 to 12 in 4ceaa18
Bug: Version Constraint Mismatch Causes Dependency Issues
Version constraint mismatch between package.json and package-lock.json: package.json specifies an exact version (e.g., "4.0.0"), while package-lock.json indicates a caret range (e.g., "^4.0.0"). This inconsistency can lead to different dependency installations depending on whether npm install or npm ci is used.
package-lock.json#L11-L12
Lines 11 to 12 in 4ceaa18
Was this report helpful? Give feedback by reacting with 👍 or 👎
Snyk has created this PR to fix 1 vulnerabilities in the npm dependencies of this project.
Snyk changed the following file(s):
package.jsonpackage-lock.jsonVulnerabilities that will be fixed with an upgrade:
SNYK-JS-FORMDATA-10841150
Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic
Learn how to fix vulnerabilities with free interactive lessons:
🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.