Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"getbase": "^2.8.2",
"ieee754": "^1.1.8",
"immutable": "^3.x.x",
"js-yaml": "^3.5.5",
"js-yaml": "^4.1.1",
Copy link

Copilot AI Nov 17, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Upgrading js-yaml from v3 to v4 introduces breaking API changes that will cause runtime errors. The code currently uses deprecated methods that were removed in v4:

  • YAML.safeLoad() → should be YAML.load()
  • YAML.safeDump() → should be YAML.dump()

These methods are used in:

  • src/core/plugins/spec/actions.js (lines 68, 126)
  • src/plugins/configs/index.js (line 6)

Before merging this security fix, the codebase must be updated to use the new API. Consider updating the affected files or using js-yaml v3.14.1 which also fixes the security vulnerability without breaking changes.

Suggested change
"js-yaml": "^4.1.1",
"js-yaml": "3.14.1",

Copilot uses AI. Check for mistakes.
"lodash": "4.17.2",
"matcher": "^0.1.2",
"memoizee": "0.4.1",
Expand Down Expand Up @@ -75,7 +75,7 @@
"scroll-to-element": "^2.0.0",
"serialize-error": "2.0.0",
"shallowequal": "0.2.2",
"swagger-client": "3.1.0",
"swagger-client": "3.8.10",
"url-parse": "^1.1.8",
"whatwg-fetch": "0.11.1",
"worker-loader": "^0.7.1",
Expand Down