Skip to content
Draft
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
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2658,7 +2658,7 @@
"react-error-boundary": "^6.0.0",
"react-redux": "^7.1.1",
"react-svg-pan-zoom": "3.9.0",
"react-svgmt": "1.1.11",
"react-svgmt": "1.2.0",
Copy link
Contributor

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟠 Major

🧩 Analysis chain

🏁 Script executed:

npm info [email protected] peerDependencies 2>/dev/null | grep -A 10 "peerDependencies"

Repository: deepnote/vscode-deepnote

Length of output: 50


🏁 Script executed:

npm info [email protected] peerDependencies 2>/dev/null | grep -A 10 "peerDependencies"

Repository: deepnote/vscode-deepnote

Length of output: 50


🏁 Script executed:

npm info [email protected] 2>/dev/null | jq '.peerDependencies // empty'

Repository: deepnote/vscode-deepnote

Length of output: 125


🌐 Web query:

react-svgmt 1.2.0 peer dependencies react version

πŸ’‘ Result:

[email protected] declares React 17 as its peer dependency (built for React 17). [1]

Sources:
[1] StackOverflow discussion noting react-svgmt has React 17 set as a peer dependency.


React version incompatibility.

react-svgmt v1.2.0 requires React v17 as a peer dependency, but the project uses React v16.5.2 (lines 2655-2657). Update React/ReactDOM or revert to react-svgmt v1.1.11.

πŸ€– Prompt for AI Agents
In @package.json at line 2661, The package.json lists "react-svgmt": "1.2.0"
which requires React 17 while the project uses React 16.5.2; resolve the
peer-dependency mismatch by either upgrading the project's react and react-dom
to a 17.x version (update package.json entries for "react" and "react-dom" and
run the install, then verify the app builds/tests) or pin react-svgmt back to
"1.1.11" (replace the "react-svgmt" version in package.json and reinstall) so
the dependency set is compatible.

"react-toggle": "^4.1.2",
"react-vega": "^7.7.1",
"react-virtualized": "^9.21.1",
Expand Down
Loading