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
2 changes: 1 addition & 1 deletion code/lib/create-storybook/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
"prettier": "^3.1.1",
"prompts": "^2.4.0",
"semver": "^7.3.7",
"storybook": "workspace:*",
"storybook": "0.0.0",
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

critical

This change from workspace:* to 0.0.0 for the storybook dependency appears to be incorrect and will likely break the create-storybook package. The workspace:* protocol is used by Yarn workspaces to link to the local storybook package within this monorepo. Changing it to 0.0.0 will prevent it from resolving to the correct local package.

While the intention to fix a security vulnerability is valid, this automated change by Snyk seems to have misinterpreted the version. This change should be reverted to workspace:*.

Suggested change
"storybook": "0.0.0",
"storybook": "workspace:*",

"tiny-invariant": "^1.3.1",
"ts-dedent": "^2.0.0"
},
Expand Down
Loading