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 0.11.0 #318

Merged
merged 47 commits into from
Jun 20, 2023
Merged

Release 0.11.0 #318

merged 47 commits into from
Jun 20, 2023

Conversation

yannbf
Copy link
Member

@yannbf yannbf commented Jun 20, 2023

This PR includes:

fix: Remove last reference to regenerator-runtime #303
Improve ejected config types #297
Fix test-runner-jest.config.js file not being found in STORYBOOK_CONFIG_DIR on Windows #296
Upgrade glob to v10 #299
fix: nyc command with shard option #257
Replace internal tooling to use tsup, prebundle some dependencies, replace babel-jest with swc #250 from storybookjs/bundle-tsup-swc

unshame and others added 17 commits April 21, 2023 02:47
…fig-path

fix(test-storybook): Fix test-runner-jest.config.js file not being found in STORYBOOK_CONFIG_DIR on Windows
fix: Remove last reference to regenerator-runtime
Co-authored-by: Hirotaka Miyagi <31152321+MH4GF@users.noreply.github.com>
fix: nyc command with shard option
Change dependencies from `future` npm tag to `next`
Patch changes from `future` to `next`
@yannbf yannbf added the minor Increment the minor version when merged label Jun 20, 2023
@codecov
Copy link

codecov bot commented Jun 20, 2023

Codecov Report

Patch coverage: 77.77% and project coverage change: -0.66 ⚠️

Comparison is base (15afffc) 75.95% compared to head (b392a41) 75.30%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #318      +/-   ##
==========================================
- Coverage   75.95%   75.30%   -0.66%     
==========================================
  Files          11        8       -3     
  Lines         183      166      -17     
  Branches       39       35       -4     
==========================================
- Hits          139      125      -14     
+ Misses         44       41       -3     
Impacted Files Coverage Δ
src/csf/transformCsf.ts 84.61% <ø> (ø)
src/util/getCliOptions.ts 60.00% <71.42%> (+4.44%) ⬆️
src/playwright/transformPlaywrightJson.ts 94.28% <100.00%> (ø)
src/util/getParsedCliOptions.ts 6.25% <100.00%> (+0.36%) ⬆️

... and 3 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@socket-security
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
Install scripts @swc/core 1.3.44
  • Install script: postinstall
  • Source: node postinstall.js
package.json via @auto-it/released@10.44.0, @swc/jest@0.2.24, auto@10.44.0, jest@28.1.3, jest-image-snapshot@5.2.0, jest-playwright-preset@2.0.0, jest-watch-typeahead@2.2.2, ts-jest@28.0.8, tsup@6.7.0
Shell access @swc/core 1.3.44 package.json via @auto-it/released@10.44.0, @swc/jest@0.2.24, auto@10.44.0, jest@28.1.3, jest-image-snapshot@5.2.0, jest-playwright-preset@2.0.0, jest-watch-typeahead@2.2.2, ts-jest@28.0.8, tsup@6.7.0
Network access mz 2.7.0
  • Module: dns
  • Location: dns.js
package.json via tsup@6.7.0
Shell access mz 2.7.0 package.json via tsup@6.7.0
New author source-map 0.8.0-beta.0 package.json via tsup@6.7.0
Shell access foreground-child 3.1.1 package.json via glob@10.2.2
Uses eval load-tsconfig 0.2.5 package.json via tsup@6.7.0
Uses eval rollup 3.20.2 package.json via tsup@6.7.0
Uses eval telejson 7.1.0 package.json via @storybook/addon-essentials@7.0.2, @storybook/addon-interactions@7.0.2, @storybook/jest@0.1.0, @storybook/preview-api@7.0.22, @storybook/react@7.0.2, @storybook/react-webpack5@7.0.2, @storybook/testing-library@0.1.0, storybook@7.0.2
Uses eval tsup 6.7.0 package.json
Uses eval uvu 0.5.6
  • Eval Type: Function
  • Location: bin.js
package.json via @storybook/addon-mdx-gfm@7.0.2

Next steps

What is an install script?

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.

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 network access?

This module accesses the network.

Packages should remove all network access that isn't functionally unnecessary. Consumers should audit network access to ensure legitimate use.

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 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 load-tsconfig@0.2.5
  • @SocketSecurity ignore rollup@3.20.2
  • @SocketSecurity ignore telejson@7.1.0
  • @SocketSecurity ignore tsup@6.7.0
  • @SocketSecurity ignore uvu@0.5.6
  • @SocketSecurity ignore source-map@0.8.0-beta.0
  • @SocketSecurity ignore @swc/core@1.3.44
  • @SocketSecurity ignore foreground-child@3.1.1
  • @SocketSecurity ignore mz@2.7.0

@socket-security
Copy link

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

Packages Version New capabilities Transitives1 Size Publisher
node-fetch 🆕 2.6.9 None +0 162 kB node-fetch-bot
tsup 🆕 6.7.0 eval, network, filesystem, environment +60 655 MB egoist
@swc/jest 🆕 0.2.24 filesystem, environment +15 381 MB kdy1
@swc/core 🆕 1.3.44 filesystem, shell, environment +10 378 MB kdy1
@storybook/addon-mdx-gfm 🆕 7.0.2 eval, filesystem +67 2.44 MB shilman
glob 🆕 10.2.2 None +8 2.53 MB isaacs
@types/node ⬆️ 16.18.11...16.18.23 None +0/-0 3.44 MB types
@storybook/core-common ⬆️ 7.0.0-rc.10...7.0.22 filesystem +41/-39 210 MB shilman
typescript ⬆️ 4.9.4...4.9.5 None +0/-0 66.8 MB typescript-bot
@storybook/react-webpack5 ⬆️ 7.0.0-beta.58...7.0.2 None +109/-111 301 MB shilman
@storybook/react ⬆️ 7.0.0-beta.58...7.0.2 None +67/-69 217 MB shilman
husky ⬆️ 8.0.2...8.0.3 None +0/-0 6.44 kB typicode
lint-staged ⬆️ 13.1.0...13.2.0 None +8/-7 1.33 MB okonet
storybook ⬆️ 7.0.0-beta.58...7.0.2 None +118/-157 256 MB shilman
jest-watch-typeahead ⬆️ 2.2.1...2.2.2 None +50/-42 459 MB simenb
@storybook/addon-essentials ⬆️ 7.0.0-beta.58...7.0.2 None +106/-111 254 MB shilman
@babel/preset-typescript ⬆️ 7.18.6...7.21.4 None +21/-22 9.53 MB nicolo-ribaudo
@babel/cli ⬆️ 7.20.7...7.21.0 None +15/-18 9.21 MB nicolo-ribaudo
@babel/preset-env ⬆️ 7.20.2...7.21.4 None +31/-33 10.9 MB nicolo-ribaudo
playwright ⬆️ 1.29.1...1.32.2 None +1/-1 7.09 MB aslushnikov
commander ⬆️ 9.4.1...9.5.0 None +0/-0 173 kB abetomo
@storybook/jest ⬆️ 0.0.11-next.0...0.1.0 None +34/-28 10.4 MB yannbf
@babel/types ⬆️ 7.20.7...7.21.4 None +0/-0 2.48 MB nicolo-ribaudo
@storybook/testing-library ⬆️ 0.0.14-next.1...0.1.0 None +35/-29 13.3 MB yannbf
@storybook/csf-tools ⬆️ 7.0.0-rc.10...7.0.22 None +18/-20 9.32 MB shilman
@auto-it/released ⬆️ 10.37.6...10.44.0 None +23/-11 450 MB alisowski
@babel/core ⬆️ 7.20.7...7.21.4 None +14/-17 9.1 MB nicolo-ribaudo
@storybook/csf ⬆️ 0.1.0...0.1.1 None +0/-0 37.9 kB shilman
@storybook/addon-interactions ⬆️ 7.0.0-beta.58...7.0.2 None +57/-56 217 MB shilman
prettier ⬆️ 2.8.1...2.8.7 None +0/-0 11.2 MB prettier-bot
@storybook/preview-api ⬆️ 7.0.0-rc.10...7.0.22 None +21/-19 9.47 MB shilman
@babel/generator ⬆️ 7.20.7...7.21.4 None +1/-1 2.96 MB nicolo-ribaudo
auto ⬆️ 10.37.6...10.44.0 None +27/-15 451 MB alisowski

Footnotes

  1. https://docs.socket.dev

@yannbf yannbf merged commit b7cf386 into main Jun 20, 2023
12 of 14 checks passed
@github-actions
Copy link

🚀 PR was released in v0.11.0 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
minor Increment the minor version when merged released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants