-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@storybook/addon-docs relies on deprecated packages #17019
Comments
For our project bigger problem is that our project use webpack5, jest27, emotion11 but storybook still use older versions. This almost double our dev dependencies and sometimes lead to hoisting problems. I think it would be great if @storybook/builder-webpack4 and @storybook/builder-webpack5 (webpack4/webpack5) are peer dependencies then project can choose one based on webpack version in project instead of installing it twice. |
@chyzwar that's the plan. however it's a breaking change so we can't make the move until SB 7.0 |
@shilman just to clarify, are the peer dependencies not coming until SB 7.0 or the react-dev-utils update? Just looking for some clarification as we attempt to resolve the immer security issue. |
@bdashrad I think the immer problem is fixed in 6.5 and i can patch back the fix to 6.4 if somebody verifies (hint hint) |
@shilman I can confirm that the problem with immer is solved in SB 6.5.0-alpha.7. After upgrading all SB dependencies in my repository I can see in package lock that |
Is this still the solution you guys are implementing to solve this issue? I have some warnings because Thank you. |
@ricardo-fnd we're in the process of cleaning all this up for SB7. hopefully we'll get the first alphas out in a month or so. |
@shilman hi! I tried removing |
I note that V7 (specifically |
This is fixed in 7.0 beta |
Describe the bug
@storybook/addon-docs
relies on@jest/transform@26
which relies onjest-haste-map@26
which relies on[email protected]
which is deprecated. Updating to@jest/transform@27
will solve this problem.EDIT another deprecated package was found:
@storybook/builder-webpack4
relies on[email protected]
which relies on[email protected]
which relies on[email protected]
which is deprecated. Updatingwebpack-dev-middleware
to version 4 or later (newest is5.2.2
) will solve this problem.EDIT 2:
@storybook/builder-webpack4
&@storybook/builder-webpack5
rely on[email protected]
which relies on[email protected]
which has a security issue. Updatingreact-dev-utils
to version 12.0.0 will solve this problem. (It wil also solve a security issue with immer)To Reproduce
Not relevant
System
Not relevant
The text was updated successfully, but these errors were encountered: