Skip to content
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

Migrate examples to Storybook 7 #20

Merged
merged 3 commits into from
Sep 19, 2023
Merged

Conversation

yannbf
Copy link
Member

@yannbf yannbf commented Mar 20, 2023

No description provided.

@yannbf yannbf added the skip-release Preserve the current version when merged label Mar 20, 2023
@socket-security
Copy link

Socket Security Pull Request Report

Dependency issues detected: If you merge this pull request, you will not be alerted to the instances of these issues again.

📜 Install scripts

Install scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.

Packages should not be running non-essential scripts during install and there are often solutions to problems people solve with install scripts that can be run at publish time instead.

Package Script field Source
[email protected] (added) postinstall examples/vite/package.json via @storybook/[email protected], @storybook/[email protected], @storybook/[email protected], @storybook/[email protected], @storybook/[email protected], @vitejs/[email protected], [email protected]
[email protected] (added) postinstall examples/babel/package.json via @storybook/[email protected], @storybook/[email protected], @storybook/[email protected], @storybook/[email protected], @storybook/[email protected], [email protected], examples/vite/package.json via @storybook/[email protected], @storybook/[email protected], @storybook/[email protected], @storybook/[email protected], @storybook/[email protected], [email protected]
😵‍💫 Bin script confusion

This package has multiple bin scripts with the same name. This can cause non-deterministic behavior when installing or could be a sign of a supply chain attack

Consider removing one of the conflicting packages. Packages should only export bin scripts with their name

Package Bin script Source
[email protected] (added) semver package.json via @babel/[email protected], examples/babel/package.json via [email protected], examples/vite/package.json via [email protected]
[email protected] (added) semver examples/babel/package.json via @babel/[email protected], @babel/[email protected], @storybook/[email protected], @storybook/[email protected], @storybook/[email protected], @storybook/[email protected], @storybook/[email protected], [email protected], [email protected], [email protected], examples/vite/package.json via @storybook/[email protected], @storybook/[email protected], @storybook/[email protected], @storybook/[email protected], @storybook/[email protected], @vitejs/[email protected], [email protected]
@storybook/[email protected] (upgraded) sb examples/babel/package.json via [email protected], examples/vite/package.json via [email protected]
[email protected] (upgraded) sb examples/babel/package.json, examples/vite/package.json
⚠️ Uses 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.

Package Eval Type Location Source
@sinclair/[email protected] (added) Function compiler/compiler.js examples/babel/package.json via @storybook/[email protected], @storybook/[email protected], examples/vite/package.json via @storybook/[email protected], @storybook/[email protected]
@sinclair/[email protected] (added) Function errors/errors.js examples/babel/package.json via @storybook/[email protected], @storybook/[email protected], examples/vite/package.json via @storybook/[email protected], @storybook/[email protected]
@sinclair/[email protected] (added) Function value/cast.js examples/babel/package.json via @storybook/[email protected], @storybook/[email protected], examples/vite/package.json via @storybook/[email protected], @storybook/[email protected]
@sinclair/[email protected] (added) Function value/check.js examples/babel/package.json via @storybook/[email protected], @storybook/[email protected], examples/vite/package.json via @storybook/[email protected], @storybook/[email protected]
@sinclair/[email protected] (added) Function value/create.js examples/babel/package.json via @storybook/[email protected], @storybook/[email protected], examples/vite/package.json via @storybook/[email protected], @storybook/[email protected]
@storybook/[email protected] (upgraded) Function dist/formatter-MGIGMU7Y.mjs examples/babel/package.json via @storybook/[email protected], @storybook/[email protected], @storybook/[email protected], examples/vite/package.json via @storybook/[email protected], @storybook/[email protected]
@storybook/[email protected] (upgraded) Function dist/formatter-MGIGMU7Y.mjs examples/babel/package.json via @storybook/[email protected], @storybook/[email protected], @storybook/[email protected], examples/vite/package.json via @storybook/[email protected], @storybook/[email protected]
@storybook/[email protected] (upgraded) Function dist/index.mjs examples/babel/package.json via [email protected], examples/vite/package.json via [email protected]
@storybook/[email protected] (added) Function dist/chunk-ES677EJ2.mjs examples/babel/package.json via [email protected], examples/vite/package.json via [email protected]
@storybook/[email protected] (added) Function dist/chunk-ES677EJ2.mjs examples/babel/package.json via [email protected], examples/vite/package.json via [email protected]
@storybook/[email protected] (added) Function dist/chunk-ES677EJ2.mjs examples/babel/package.json via [email protected], examples/vite/package.json via [email protected]
@storybook/[email protected] (added) Function dist/chunk-ES677EJ2.mjs examples/babel/package.json via [email protected], examples/vite/package.json via [email protected]
@storybook/[email protected] (added) Function dist/chunk-ES677EJ2.mjs examples/babel/package.json via [email protected], examples/vite/package.json via [email protected]
@storybook/[email protected] (added) Function dist/chunk-ES677EJ2.mjs examples/babel/package.json via [email protected], examples/vite/package.json via [email protected]
@storybook/[email protected] (added) Function dist/chunk-ES677EJ2.mjs examples/babel/package.json via [email protected], examples/vite/package.json via [email protected]
@storybook/[email protected] (added) Function dist/formatter-MGIGMU7Y-BT45LDVJ.mjs examples/babel/package.json via [email protected], examples/vite/package.json via [email protected]
@storybook/[email protected] (added) Function dist/formatter-MGIGMU7Y-BT45LDVJ.mjs examples/babel/package.json via [email protected], examples/vite/package.json via [email protected]
@storybook/[email protected] (added) Function dist/runtime.js examples/babel/package.json via @storybook/[email protected], examples/vite/package.json via @storybook/[email protected]
@storybook/[email protected] (added) Function dist/runtime.js examples/babel/package.json via @storybook/[email protected], examples/vite/package.json via @storybook/[email protected]
@storybook/[email protected] (added) Function dist/runtime.js examples/babel/package.json via @storybook/[email protected], examples/vite/package.json via @storybook/[email protected]
@storybook/[email protected] (added) Function dist/runtime.js examples/babel/package.json via @storybook/[email protected], examples/vite/package.json via @storybook/[email protected]
@storybook/[email protected] (added) Function dist/runtime.js examples/babel/package.json via @storybook/[email protected], examples/vite/package.json via @storybook/[email protected]
@storybook/[email protected] (added) Function dist/runtime.mjs examples/babel/package.json via @storybook/[email protected], examples/vite/package.json via @storybook/[email protected]
@storybook/[email protected] (added) Function dist/runtime.mjs examples/babel/package.json via @storybook/[email protected], examples/vite/package.json via @storybook/[email protected]
@storybook/[email protected] (added) Function dist/runtime.mjs examples/babel/package.json via @storybook/[email protected], examples/vite/package.json via @storybook/[email protected]
@storybook/[email protected] (added) Function dist/runtime.mjs examples/babel/package.json via @storybook/[email protected], examples/vite/package.json via @storybook/[email protected]
@storybook/[email protected] (added) Function dist/runtime.mjs examples/babel/package.json via @storybook/[email protected], examples/vite/package.json via @storybook/[email protected]
@storybook/[email protected] (upgraded) Function dist/chunk-NQZQ3SVL.mjs examples/babel/package.json via @storybook/[email protected], @storybook/[email protected], @storybook/[email protected], examples/vite/package.json via @storybook/[email protected], @storybook/[email protected]
@storybook/[email protected] (upgraded) Function dist/index.js examples/babel/package.json via @storybook/[email protected], @storybook/[email protected], @storybook/[email protected], examples/vite/package.json via @storybook/[email protected], @storybook/[email protected]
@storybook/[email protected] (upgraded) Function dist/utils.js examples/babel/package.json via @storybook/[email protected], @storybook/[email protected], @storybook/[email protected], examples/vite/package.json via @storybook/[email protected], @storybook/[email protected]
[email protected] (added) Function dist/ajv.bundle.js examples/babel/package.json via @storybook/[email protected], [email protected], [email protected], [email protected], [email protected], [email protected]
[email protected] (added) Function lib/compile/index.js examples/babel/package.json via @storybook/[email protected], [email protected], [email protected], [email protected], [email protected], [email protected]
[email protected] (added) Function dist/compile/index.js examples/babel/package.json via @storybook/[email protected], [email protected]
[email protected] (added) Function dist/compile/jtd/parse.js examples/babel/package.json via @storybook/[email protected], [email protected]
[email protected] (added) Function dist/compile/jtd/serialize.js examples/babel/package.json via @storybook/[email protected], [email protected]
[email protected] (added) Function internals/async-iterator-prototype.js package.json via @storybook/[email protected]
[email protected] (added) Function internals/function-bind.js package.json via @storybook/[email protected]
[email protected] (added) Function internals/task.js package.json via @storybook/[email protected]
[email protected] (added) Function modules/web.timers.js package.json via @storybook/[email protected]
[email protected] (added) Function internals/async-iterator-prototype.js examples/vite/package.json via @storybook/[email protected], @storybook/[email protected], @storybook/[email protected], @storybook/[email protected], @storybook/[email protected], [email protected]
[email protected] (added) Function internals/schedulers-fix.js examples/vite/package.json via @storybook/[email protected], @storybook/[email protected], @storybook/[email protected], @storybook/[email protected], @storybook/[email protected], [email protected]
[email protected] (added) Function internals/async-iterator-prototype.js examples/babel/package.json via @storybook/[email protected]
[email protected] (added) Function internals/schedulers-fix.js examples/babel/package.json via @storybook/[email protected]
[email protected] (added) Function index.js examples/babel/package.json via @storybook/[email protected], [email protected], [email protected], examples/vite/package.json via @storybook/[email protected], [email protected]
[email protected] (added) Function ejs-v3.1.8/ejs.js examples/babel/package.json via [email protected], examples/vite/package.json via [email protected]
[email protected] (added) Function ejs-v3.1.8/ejs.js examples/babel/package.json via [email protected], examples/vite/package.json via [email protected]
[email protected] (added) Function ejs-v3.1.8/ejs.min.js examples/babel/package.json via [email protected], examples/vite/package.json via [email protected]
[email protected] (added) Function ejs-v3.1.8/ejs.min.js examples/babel/package.json via [email protected], examples/vite/package.json via [email protected]
[email protected] (added) Function ejs-v3.1.8/lib/ejs.js examples/babel/package.json via [email protected], examples/vite/package.json via [email protected]
[email protected] (added) Function ejs-v3.1.8/lib/ejs.js examples/babel/package.json via [email protected], examples/vite/package.json via [email protected]
[email protected] (added) Function dist/envinfo.js examples/babel/package.json via [email protected], [email protected], examples/vite/package.json via [email protected]
[email protected] (added) Function dist/envinfo.js examples/babel/package.json via [email protected], [email protected], examples/vite/package.json via [email protected]
[email protected] (added) Function dist/node.js package.json via @storybook/[email protected], examples/babel/package.json via @storybook/[email protected], @storybook/[email protected], @storybook/[email protected], @storybook/[email protected], @storybook/[email protected], [email protected], examples/vite/package.json via @storybook/[email protected], @storybook/[email protected], @storybook/[email protected], @storybook/[email protected], @storybook/[email protected], [email protected]
[email protected] (added) Function dist/cjs/handlebars/compiler/javascript-compiler.js package.json via @storybook/[email protected], examples/babel/package.json via @storybook/[email protected], @storybook/[email protected], @storybook/[email protected], @storybook/[email protected], @storybook/[email protected], [email protected], examples/vite/package.json via @storybook/[email protected], @storybook/[email protected], @storybook/[email protected], @storybook/[email protected], @storybook/[email protected], [email protected]
[email protected] (added) Function dist/cjs/handlebars/compiler/javascript-compiler.js package.json via @storybook/[email protected], examples/babel/package.json via @storybook/[email protected], @storybook/[email protected], @storybook/[email protected], @storybook/[email protected], @storybook/[email protected], [email protected], examples/vite/package.json via @storybook/[email protected], @storybook/[email protected], @storybook/[email protected], @storybook/[email protected], @storybook/[email protected], [email protected]
[email protected] (added) Function dist/handlebars.amd.js package.json via @storybook/[email protected], examples/babel/package.json via @storybook/[email protected], @storybook/[email protected], @storybook/[email protected], @storybook/[email protected], @storybook/[email protected], [email protected], examples/vite/package.json via @storybook/[email protected], @storybook/[email protected], @storybook/[email protected], @storybook/[email protected], @storybook/[email protected], [email protected]
[email protected] (added) Function dist/handlebars.amd.js package.json via @storybook/[email protected], examples/babel/package.json via @storybook/[email protected], @storybook/[email protected], @storybook/[email protected], @storybook/[email protected], @storybook/[email protected], [email protected], examples/vite/package.json via @storybook/[email protected], @storybook/[email protected], @storybook/[email protected], @storybook/[email protected], @storybook/[email protected], [email protected]
[email protected] (added) Function dist/handlebars.amd.min.js package.json via @storybook/[email protected], examples/babel/package.json via @storybook/[email protected], @storybook/[email protected], @storybook/[email protected], @storybook/[email protected], [@storybook/[email protected]](https://socket.dev/npm/pa

@kasperpeulen
Copy link

@yannbf I guess we want to merge this as well?

@yannbf yannbf merged commit 3d68eeb into main Sep 19, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip-release Preserve the current version when merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants