Skip to content
This repository was archived by the owner on May 7, 2026. It is now read-only.

[Snyk] Security upgrade js-yaml from 3.12.0 to 4.1.1#7

Open
LoganLynd wants to merge 1 commit into
masterfrom
snyk-fix-dd35a717726cde625308d0e5375e7712
Open

[Snyk] Security upgrade js-yaml from 3.12.0 to 4.1.1#7
LoganLynd wants to merge 1 commit into
masterfrom
snyk-fix-dd35a717726cde625308d0e5375e7712

Conversation

@LoganLynd

Copy link
Copy Markdown

snyk-top-banner

Snyk has created this PR to fix 1 vulnerabilities in the npm dependencies of this project.

Snyk changed the following file(s):

  • package.json
⚠️ Warning
Failed to update the package-lock.json, please update manually before merging.

Merge Risk: High

This is a major version upgrade with significant breaking changes focused on improving security by making safe parsing the default.

  • API Renaming: The safeLoad, safeLoadAll, and safeDump functions have been removed. Code must be updated to use load, loadAll, and dump, which are now safe by default. [1, 3, 6, 12]
  • Unsafe Operations: Deserializing unsafe tags like !!js/function is no longer supported out-of-the-box and requires a separate package. [1, 3]

Source: js-yaml Changelog

Recommendation: All calls to safeLoad() must be renamed to load(), and safeDump() to dump(). Review any usage of the old unsafe load() as it is now safe by default and may require adding a custom schema.

Notice 🤖: This content was generated using artificial intelligence. AI-generated content may contain errors and should be reviewed for accuracy before use.


Vulnerabilities that will be fixed with an upgrade:

Issue Score
medium severity Prototype Pollution
SNYK-JS-JSYAML-13961110
  66  

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.
  • This PR was automatically created by Snyk using the credentials of a real user.

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:

🦉 Prototype Pollution

The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-JSYAML-13961110
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants