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

Release 1.0.0 #39

Merged
merged 63 commits into from
Apr 3, 2023
Merged

Release 1.0.0 #39

merged 63 commits into from
Apr 3, 2023

Conversation

shilman
Copy link
Member

@shilman shilman commented Apr 3, 2023

Issue: N/A

What Changed

New release for SB 7.0

Version

Published prerelease version: v1.0.0-next.8

Changelog

💥 Breaking Change

  • Add JSX transpilation to compiler-generated code #30 (@ndelangen)

🚀 Enhancement

🐛 Bug Fix

⚠️ Pushed to next

Authors: 10

tmeasday and others added 30 commits July 14, 2022 15:57
+ added 'child' type guard.
+ added readable comments.
+ renamed 'ele' to 'canvasContainer' (sematic purpose).
Was almost impossible to debug where the loader errors were coming from when upgrading storybook with mdx2, until I monkey patched it with this change.
chore: Moved @babel/types to dependencies
shilman and others added 28 commits November 30, 2022 00:48
…ptions

Add MDX compiler option overrides
…e JSX runtime.

default jsxRuntime = 'automatic'
…ite4-support-missing-v2

Add JSX transpilation to compiler-generated code
Replace `'mdx'` tag with `'stories-mdx'`
Add debug output to `loader.js`
Throw descriptive error when of prop is detected
@socket-security
Copy link

New dependency changes detected. Learn more about Socket for GitHub ↗︎


🚨 Potential security issues found in this pull request. To accept the risk, merge this PR and you will not be notified again.

Bot Commands

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 [email protected] bar@* or ignore all packages with @SocketSecurity ignore-all

📜 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 package.json via @storybook/[email protected], @storybook/[email protected], @storybook/[email protected], @storybook/[email protected], [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 @storybook/[email protected], @storybook/[email protected], @storybook/[email protected], @storybook/[email protected], @storybook/[email protected], [email protected]
⚠️ 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.

Package Module Location Source
@aw-web-design/[email protected] (added) child_process src/detect-linux.js package.json via [email protected]
@aw-web-design/[email protected] (added) child_process src/detect-windows.js package.json via [email protected]
@aw-web-design/[email protected] (added) child_process src/detect-windows10.js package.json via [email protected]
[email protected] (upgraded) child_process lib/index.js package.json via @storybook/[email protected], [email protected], [email protected], [email protected]
[email protected] (upgraded) child_process index.js package.json via @storybook/[email protected], [email protected]
[email protected] (upgraded) child_process index.js package.json via @storybook/[email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected]
[email protected] (added) child_process dist/envinfo.js package.json via [email protected]
[email protected] (added) child_process install.js package.json via @storybook/[email protected], @storybook/[email protected], @storybook/[email protected], @storybook/[email protected], [email protected], [email protected]
[email protected] (added) child_process lib/main.js package.json via @storybook/[email protected], @storybook/[email protected], @storybook/[email protected], @storybook/[email protected], [email protected], [email protected]
[email protected] (upgraded) child_process index.js package.json via [email protected]
[email protected] (upgraded) child_process index.js package.json via [email protected], [email protected], [email protected], [email protected], [email protected]
[email protected] (added) child_process dist/gitlog.cjs.development.js package.json via [email protected]
[email protected] (added) child_process dist/gitlog.cjs.production.min.js package.json via [email protected]
[email protected] (added) child_process dist/gitlog.esm.js package.json via [email protected]
[email protected] (added) child_process lib/index.js package.json
[email protected] (added) child_process jake-v10.8.5/jakefile.js package.json via [email protected]
[email protected] (added) child_process jake-v10.8.5/lib/package_task.js package.json via [email protected]
[email protected] (added) child_process jake-v10.8.5/lib/publish_task.js package.json via [email protected]
[email protected] (added) child_process jake-v10.8.5/lib/utils/index.js package.json via [email protected]
[email protected] (added) child_process jake-v10.8.5/test/integration/concurrent.js package.json via [email protected]
[email protected] (added) child_process jake-v10.8.5/test/integration/file_task.js package.json via [email protected]
[email protected] (added) child_process jake-v10.8.5/test/integration/file.js package.json via [email protected]
[email protected] (added) child_process jake-v10.8.5/test/integration/helpers.js package.json via [email protected]
[email protected] (added) child_process jake-v10.8.5/test/integration/jakelib/rule.jake.js package.json via [email protected]
[email protected] (added) child_process jake-v10.8.5/test/integration/publish_task.js package.json via [email protected]
[email protected] (added) child_process jake-v10.8.5/test/integration/rule.js package.json via [email protected]
[email protected] (added) child_process jake-v10.8.5/test/integration/selfdep.js package.json via [email protected]
[email protected] (added) child_process jake-v10.8.5/test/integration/task_base.js package.json via [email protected]
[email protected] (added) child_process jake-v10.8.5/test/integration/task_base.js package.json via [email protected]
[email protected] (upgraded) child_process build/crawlers/node.js package.json via [email protected], [email protected], [email protected]
[email protected] (upgraded) child_process build/index.js package.json via [email protected], [email protected], [email protected]
[email protected] (upgraded) child_process build/crawlers/node.js package.json via @storybook/[email protected]
[email protected] (upgraded) child_process build/lib/isWatchmanInstalled.js package.json via @storybook/[email protected]
[email protected] (upgraded) child_process build/workers/ChildProcessWorker.js package.json via [email protected], [email protected], [email protected]
[email protected] (upgraded) child_process build/workers/ChildProcessWorker.js package.json via @storybook/[email protected], [email protected]
[email protected] (upgraded) child_process build/workers/ChildProcessWorker.js package.json via @storybook/[email protected]
[email protected] (added) child_process dist/Runner.js package.json via [email protected]
[email protected] (added) child_process src/Runner.js package.json via [email protected]
[email protected] (added) child_process lib/jsdom/living/xhr/XMLHttpRequest-impl.js package.json via [email protected], [email protected], [email protected]
[email protected] (added) child_process lib/resolvers.js package.json via [email protected]
[email protected] (added) child_process dist/shared/watch-cli.js package.json via [email protected]
[email protected] (added) child_process src/exec-child.js package.json via [email protected]
[email protected] (added) child_process src/exec.js package.json via [email protected]
[email protected] (added) child_process index.js package.json via [email protected], [email protected]
[email protected] (added) child_process check-npm-version.js package.json via @storybook/[email protected], [email protected]
[email protected] (added) child_process index.js package.json via @storybook/[email protected], [email protected]
[email protected] (upgraded) child_process bin/webpack.js package.json via @storybook/[email protected], [email protected]
⚠️ 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 package.json via @storybook/[email protected]
@sinclair/[email protected] (added) Function errors/errors.js package.json via @storybook/[email protected]
@sinclair/[email protected] (added) Function value/cast.js package.json via @storybook/[email protected]
@sinclair/[email protected] (added) Function value/check.js package.json via @storybook/[email protected]
@sinclair/[email protected] (added) Function value/create.js package.json via @storybook/[email protected]
@storybook/[email protected] (upgraded) Function dist/formatter-UT3ZCDIS.mjs package.json via @storybook/[email protected], @storybook/[email protected], @storybook/[email protected], @storybook/[email protected]
@storybook/[email protected] (upgraded) Function dist/formatter-UT3ZCDIS.mjs package.json via @storybook/[email protected], @storybook/[email protected], @storybook/[email protected], @storybook/[email protected]
@storybook/[email protected] (upgraded) Function dist/cjs/index.js package.json via @storybook/[email protected]
@storybook/[email protected] (upgraded) Function dist/esm/index.js package.json via @storybook/[email protected]
@storybook/[email protected] (upgraded) Function dist/modern/index.js package.json via @storybook/[email protected]
@storybook/[email protected] (upgraded) Function dist/chunk-NQZQ3SVL.mjs package.json via @storybook/[email protected], @storybook/[email protected], @storybook/[email protected], @storybook/[email protected], @storybook/[email protected]
@storybook/[email protected] (upgraded) Function dist/index.js package.json via @storybook/[email protected], @storybook/[email protected], @storybook/[email protected], @storybook/[email protected], @storybook/[email protected]
@storybook/[email protected] (upgraded) Function dist/utils.js package.json via @storybook/[email protected], @storybook/[email protected], @storybook/[email protected], @storybook/[email protected], @storybook/[email protected]
@testing-library/[email protected] (added) Function dist/@testing-library/react.pure.umd.js package.json
@testing-library/[email protected] (added) Function dist/@testing-library/react.pure.umd.js package.json
@testing-library/[email protected] (added) Function dist/@testing-library/react.pure.umd.js package.json
@testing-library/[email protected] (added) Function dist/@testing-library/react.pure.umd.min.js package.json
@testing-library/[email protected] (added) Function dist/@testing-library/react.pure.umd.min.js package.json
@testing-library/[email protected] (added) Function dist/@testing-library/react.pure.umd.min.js package.json
@testing-library/[email protected] (added) Function dist/@testing-library/react.umd.js package.json
@testing-library/[email protected] (added) Function dist/@testing-library/react.umd.js package.json
@testing-library/[email protected] (added) Function dist/@testing-library/react.umd.js package.json
@testing-library/[email protected] (added) Function dist/@testing-library/react.umd.min.js package.json
@testing-library/[email protected] (added) Function dist/@testing-library/react.umd.min.js package.json
@testing-library/[email protected] (added) Function dist/@testing-library/react.umd.min.js package.json
[email protected] (added) Function dist/ajv.bundle.js package.json via @storybook/[email protected], [email protected]
[email protected] (added) Function lib/compile/index.js package.json via @storybook/[email protected], [email protected]
[email protected] (added) Function dist/compile/index.js package.json via @storybook/[email protected]
[email protected] (added) Function dist/compile/jtd/parse.js package.json via @storybook/[email protected]
[email protected] (added) Function dist/compile/jtd/serialize.js package.json via @storybook/[email protected]
[email protected] (added) Function internals/async-iterator-prototype.js package.json via @storybook/[email protected], @storybook/[email protected], @storybook/[email protected], @storybook/[email protected], @storybook/[email protected], @storybook/[email protected], @storybook/[email protected], [email protected]
[email protected] (added) Function internals/function-bind.js package.json via @storybook/[email protected], @storybook/[email protected], @storybook/[email protected], @storybook/[email protected], @storybook/[email protected], @storybook/[email protected], @storybook/[email protected], [email protected]
[email protected] (added) Function internals/task.js package.json via @storybook/[email protected], @storybook/[email protected], @storybook/[email protected], @storybook/[email protected], @storybook/[email protected], @storybook/[email protected], @storybook/[email protected], [email protected]
[email protected] (added) Function modules/web.timers.js package.json via @storybook/[email protected], @storybook/[email protected], @storybook/[email protected], @storybook/[email protected], @storybook/[email protected], @storybook/[email protected], @storybook/[email protected], [email protected]
[email protected] (upgraded) Function index.js package.json via @storybook/[email protected], [email protected]
[email protected] (added) Function ejs-v3.1.8/ejs.js package.json via [email protected]
[email protected] (added) Function ejs-v3.1.8/ejs.js package.json via [email protected]
[email protected] (added) Function ejs-v3.1.8/ejs.min.js package.json via [email protected]
[email protected] (added) Function ejs-v3.1.8/ejs.min.js package.json via [email protected]
[email protected] (added) Function ejs-v3.1.8/lib/ejs.js package.json via [email protected]
[email protected] (added) Function ejs-v3.1.8/lib/ejs.js package.json via [email protected]
[email protected] (added) Function dist/envinfo.js package.json via [email protected]
[email protected] (added) Function dist/envinfo.js package.json via [email protected]
[email protected] (added) Function build/asymmetricMatchers.js package.json via [email protected], [email protected]
[email protected] (added) Function build/index.js package.json via [email protected], [email protected]
[email protected] (added) Function build/index.js package.json via [email protected], [email protected]
[email protected] (added) Function build/index.js package.json via [email protected], [email protected]
[email protected] (added) Function build/jestMatchersObject.js package.json via [email protected], [email protected]
[email protected] (added) Function build/utils.js package.json via [email protected], [email protected]
[email protected] (added) Function dist/cjs/handlebars/compiler/javascript-compiler.js package.json via @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], @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], @storybook/[email protected], @storybook/[email protected], @storybook/[email protected], [email protected]
[email protected] (added) Function [dist/handlebars.amd.js](https://socket.dev/npm/package/handlebars/files/4.7.7/dist/handlebar

@shilman shilman merged commit 7a3b0d3 into main Apr 3, 2023
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.

10 participants