Skip to content

[Snyk] Security upgrade @storybook/addon-links from 6.5.16 to 7.0.0#36

Open
decause-gov wants to merge 1 commit intomainfrom
snyk-fix-19e34049bf2e6c5515b2350bd608bec9
Open

[Snyk] Security upgrade @storybook/addon-links from 6.5.16 to 7.0.0#36
decause-gov wants to merge 1 commit intomainfrom
snyk-fix-19e34049bf2e6c5515b2350bd608bec9

Conversation

@decause-gov
Copy link
Copy Markdown
Contributor

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):

  • app/package.json
  • app/package-lock.json

Vulnerabilities that will be fixed with an upgrade:

Issue Score
medium severity Prototype Pollution
SNYK-JS-LODASH-15053838
  87  

Breaking Change Risk

Merge Risk: High

Notice: This assessment is enhanced by AI.


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

@decause-gov
Copy link
Copy Markdown
Contributor Author

Merge Risk: High

This is a major version upgrade that is part of the larger Storybook 7.0 release, which was a complete rework of the Storybook core and includes significant breaking changes. While the addon's core functionality remains, the surrounding ecosystem has changed dramatically, requiring mandatory project updates.

Key Breaking Changes:

  • New CLI Commands: The start-storybook and build-storybook binaries have been removed and replaced by storybook dev and storybook build. Your package.json scripts must be updated.
  • storiesOf Deprecation: The storiesOf API is deprecated in favor of Component Story Format (CSF). While a compatibility flag exists, migrating stories to the CSF object-based format is strongly recommended as storiesOf will be removed in a future version.
  • Docs Overhaul: Storybook 7 introduces support for MDX2 and a new autodocs feature for component-centric documentation, which may require changes to how documentation pages are structured.
  • Addon Configuration: The addon registration API has been updated, and register.js is now fully removed. Configuration is streamlined through main.js.

Recommendation: This upgrade requires a project-wide migration. Do not merge without first running the automated migration script and manually addressing any remaining issues. It is critical to follow the official migration guide.

Source: Storybook 7.0 Migration Guide

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants