Skip to content
This repository has been archived by the owner on May 16, 2024. It is now read-only.

Storybook 7.6 #15

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Xenossolitarius
Copy link

@Xenossolitarius Xenossolitarius commented Dec 6, 2023

Updated for breaking change in storybook/vue3 v7.6 (changed builder to vite)

What Changed

Minor change of types
Updated builder to vite to support esm module bundling

Checklist

Check the ones applicable to your change:

  • Tests are updated
  • Documentation is updated

Change Type

Indicate the type of change your pull request is:

  • documentation
  • patch
  • minor
  • major

Copy link

Updated and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Packages Version New capabilities Transitives Size Publisher
@size-limit/preset-small-lib 4.11.0...4.12.0 None +114/-151 12.6 MB ai
vite 4.3.9...5.0.5 None +78/-26 497 MB vitebot
storybook 7.0.26...7.6.3 None +165/-172 229 MB shilman
@storybook/addon-links 7.0.26...7.6.3 eval, environment +1/-15 366 kB shilman
size-limit 4.11.0...4.12.0 environment +16/-31 749 kB ai
vitest 0.32.2...1.0.1, 0.33.0...1.0.1 shell +139/-182 507 MB oreanno
@storybook/testing-library 0.2.0...0.2.2 None +2/-2 793 kB yannbf
@storybook/vue3 7.0.26...7.6.3 shell +164/-169 507 MB shilman
@storybook/client-logger 7.0.26...7.6.3 None +0/-0 7.72 kB shilman
@storybook/preview-api 7.0.26...7.6.3 None +36/-23 8.37 MB shilman
vue-tsc 1.6.5...1.8.24 None +10/-10 33 MB johnsoncodehk
@storybook/types 7.0.26...7.6.3 None +34/-12 7.54 MB shilman
@storybook/blocks 7.0.26...7.6.3 shell +102/-59 219 MB shilman
@storybook/addon-essentials 7.0.26...7.6.3 None +125/-88 222 MB shilman
vue 3.0.11...3.3.10, 3.3.4...3.3.10 None +11/-22 70.9 MB yyx990803
concurrently 6.2.0...6.5.1 filesystem +4/-12 7.21 MB gustavohenke
@storybook/vue3-vite 7.0.26...7.6.3 None +119/-96 505 MB shilman
@storybook/addon-interactions 7.0.26...7.6.3 None +7/-56 2.81 MB shilman
@vitejs/plugin-vue 4.2.3...4.5.1 None +46/-39 285 MB vitebot
typescript 4.9.5...5.3.2, 5.1.3...5.3.2 None +0/-0 32 MB typescript-bot
auto 10.29.2...10.46.0 None +58/-67 48 MB alisowski

🚮 Removed packages: tsdx@0.14.1, tslib@2.2.0

Copy link

🚨 Potential security issues detected. Learn more about Socket for GitHub ↗︎

To accept the risk, merge this PR and you will not be notified again.

Issue Package Version Note Source
New author util 0.10.4
New author browserify-sign 4.2.2
New author assert 2.1.0
New author supports-hyperlinks 2.3.0
New author hasown 2.0.0
New author handlebars 4.7.8
New author loupe 2.3.7
New author check-error 1.0.3
New author get-stream 8.0.1
New author component-emitter 1.3.1
Shell access foreground-child 3.1.1
Shell access tinypool 0.8.1
Uses eval @storybook/addon-actions 7.6.3
Uses eval @storybook/addon-links 7.6.3
Uses eval z-schema 5.0.6
Uses eval @storybook/vue3 7.6.3

Next steps

What is new author?

A new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.

Scrutinize new collaborator additions to packages because they now have the ability to publish code into your dependency tree. Packages should avoid frequent or unnecessary additions or changes to publishing rights.

What is shell access?

This module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.

Packages should avoid accessing the shell which can reduce portability, and make it easier for malicious shell access to be introduced.

What is eval?

Package uses eval() which is a dangerous function. This prevents the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.

Avoid packages that use eval, since this could potentially execute any code.

Take a deeper look at the dependency

Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support [AT] socket [DOT] dev.

Remove the package

If you happen to install a dependency that Socket reports as Known Malware you should immediately remove it and select a different dependency. For other alert types, you may may wish to investigate alternative packages or consider if there are other ways to mitigate the specific risk posed by the dependency.

Mark a package as acceptable risk

To ignore an alert, reply with a comment starting with @SocketSecurity ignore followed by a space separated list of package-name@version specifiers. e.g. @SocketSecurity ignore foo@1.0.0 bar@* or ignore all packages with @SocketSecurity ignore-all

  • @SocketSecurity ignore @storybook/addon-actions@7.6.3
  • @SocketSecurity ignore @storybook/addon-links@7.6.3
  • @SocketSecurity ignore z-schema@5.0.6
  • @SocketSecurity ignore @storybook/vue3@7.6.3
  • @SocketSecurity ignore util@0.10.4
  • @SocketSecurity ignore browserify-sign@4.2.2
  • @SocketSecurity ignore assert@2.1.0
  • @SocketSecurity ignore supports-hyperlinks@2.3.0
  • @SocketSecurity ignore hasown@2.0.0
  • @SocketSecurity ignore handlebars@4.7.8
  • @SocketSecurity ignore loupe@2.3.7
  • @SocketSecurity ignore check-error@1.0.3
  • @SocketSecurity ignore get-stream@8.0.1
  • @SocketSecurity ignore component-emitter@1.3.1
  • @SocketSecurity ignore foreground-child@3.1.1
  • @SocketSecurity ignore tinypool@0.8.1

@ben-hamel
Copy link

Also need this fix

@shilman
Copy link
Member

shilman commented May 13, 2024

@yannbf can we close this once 8.1 is released?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants