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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLI: Rename --webpack-stats-json to --stats-json as it works in Vite #26128

Merged
merged 3 commits into from
Feb 23, 2024

Conversation

tmeasday
Copy link
Member

@tmeasday tmeasday commented Feb 21, 2024

What I did

  • Added a new flag --stats-json and made it behave identically to --webpack-stats-json
  • Removed --webpack-stats-json from the docs
  • I didn't deprecate it in code, as we'll likely deprecate both in the future and it's simpler this way.
  • Also added an tracked error if you pass --stats-json to Vite in dev mode (where it doesn't work).

Checklist for Contributors

Testing

The changes in this PR are covered in the following automated tests:

  • stories
  • unit tests
  • integration tests
  • end-to-end tests

Manual testing

This section is mandatory for all contributions. If you believe no manual test is necessary, please state so explicitly. Thanks!

Documentation

  • Add or update documentation reflecting your changes
  • If you are deprecating/removing a feature, make sure to update
    MIGRATION.MD

Checklist for Maintainers

  • When this PR is ready for testing, make sure to add ci:normal, ci:merged or ci:daily GH label to it to run a specific set of sandboxes. The particular set of sandboxes can be found in code/lib/cli/src/sandbox-templates.ts

  • Make sure this PR contains one of the labels below:

    Available labels
    • bug: Internal changes that fixes incorrect behavior.
    • maintenance: User-facing maintenance tasks.
    • dependencies: Upgrading (sometimes downgrading) dependencies.
    • build: Internal-facing build tooling & test updates. Will not show up in release changelog.
    • cleanup: Minor cleanup style change. Will not show up in release changelog.
    • documentation: Documentation only changes. Will not show up in release changelog.
    • feature request: Introducing a new feature.
    • BREAKING CHANGE: Changes that break compatibility in some way with current major version.
    • other: Changes that don't fit in the above categories.

馃 Canary release

This PR does not have a canary release associated. You can request a canary release of this pull request by mentioning the @storybookjs/core team here.

core team members can create a canary release here or locally with gh workflow run --repo storybookjs/storybook canary-release-pr.yml --field pr=<PR_NUMBER>

Copy link

socket-security bot commented Feb 21, 2024

New and removed dependencies detected. Learn more about Socket for GitHub 鈫楋笌

Package New capabilities Transitives Size Publisher
npm/@0no-co/graphql.web@1.0.4 None 0 153 kB philpl
npm/@aashutoshrathi/word-wrap@1.2.6 None 0 10.9 kB aashutoshrathi
npm/@analogjs/vite-plugin-angular@0.2.28 environment Transitive: eval, filesystem, network, shell, unsafe +135 93.3 MB brandonroberts
npm/@angular-devkit/architect@0.1700.9 Transitive: eval, network +1 426 kB google-wombot
npm/@angular-devkit/build-angular@17.0.5 environment, filesystem, network, shell, unsafe Transitive: eval +134 93.2 MB google-wombot
npm/@angular-devkit/core@17.0.9 eval, network 0 260 kB google-wombot
npm/@angular/animations@17.0.5 None +1 25.4 MB google-wombot
npm/@angular/cli@17.0.5 environment, filesystem, network, shell, unsafe +2 10 MB google-wombot
npm/@angular/common@17.0.5 None +1 34.9 MB google-wombot
npm/@angular/compiler-cli@17.0.5 Transitive: environment, filesystem, unsafe +31 42.8 MB google-wombot
npm/@angular/compiler@17.0.5 None +1 33.2 MB google-wombot
npm/@angular/core@17.0.5 None 0 23.7 MB google-wombot
npm/@angular/forms@17.0.5 None +4 39.3 MB google-wombot
npm/@angular/platform-browser-dynamic@17.0.5 None +5 46.9 MB google-wombot
npm/@angular/platform-browser@17.0.5 None +3 37.3 MB google-wombot
npm/@aw-web-design/x-default-browser@1.4.126 shell 0 50.5 kB the-code-monkey
npm/@babel/code-frame@7.23.5 Transitive: environment +3 118 kB nicolo-ribaudo
npm/@babel/core@7.23.7 environment, filesystem, unsafe +26 7.33 MB nicolo-ribaudo
npm/@babel/core@7.23.9 environment, filesystem, unsafe +33 13.8 MB nicolo-ribaudo
npm/@babel/parser@7.23.6 None 0 1.89 MB nicolo-ribaudo
npm/@babel/plugin-syntax-bigint@7.8.3 Transitive: environment, filesystem, unsafe +28 7.35 MB nicolo-ribaudo
npm/@babel/plugin-syntax-dynamic-import@7.8.3 Transitive: environment, filesystem, unsafe +28 7.35 MB nicolo-ribaudo
npm/@babel/plugin-syntax-import-assertions@7.23.3 Transitive: environment, filesystem, unsafe +28 7.35 MB nicolo-ribaudo
npm/@babel/plugin-transform-class-properties@7.23.3 Transitive: environment, filesystem, unsafe +34 7.65 MB nicolo-ribaudo
npm/@babel/plugin-transform-export-namespace-from@7.23.4 Transitive: environment, filesystem, unsafe +29 7.36 MB nicolo-ribaudo
npm/@babel/plugin-transform-numeric-separator@7.23.4 Transitive: environment, filesystem, unsafe +29 7.35 MB nicolo-ribaudo
npm/@babel/plugin-transform-object-rest-spread@7.23.4 Transitive: environment, filesystem, unsafe +30 7.48 MB nicolo-ribaudo
npm/@babel/plugin-transform-react-jsx-self@7.23.3 Transitive: environment, filesystem, unsafe +28 7.35 MB nicolo-ribaudo
npm/@babel/plugin-transform-react-jsx-source@7.23.3 Transitive: environment, filesystem, unsafe +28 7.35 MB nicolo-ribaudo
npm/@babel/plugin-transform-runtime@7.23.2 unsafe Transitive: environment, filesystem +28 7.38 MB nicolo-ribaudo
npm/@babel/preset-env@7.23.2 environment Transitive: filesystem, unsafe +108 8.92 MB nicolo-ribaudo
npm/@babel/preset-react@7.23.3 Transitive: environment, filesystem, unsafe +34 7.47 MB nicolo-ribaudo
npm/@babel/preset-typescript@7.23.3 Transitive: environment, filesystem, unsafe +38 7.85 MB nicolo-ribaudo
npm/@babel/runtime-corejs3@7.23.9 None 0 329 kB nicolo-ribaudo
npm/@babel/runtime@7.23.9 None 0 249 kB nicolo-ribaudo
npm/@babel/traverse@7.23.7 Transitive: environment +17 5.54 MB nicolo-ribaudo
npm/@babel/types@7.23.6 environment +2 2.49 MB nicolo-ribaudo
npm/@chromaui/addon-visual-tests@0.0.124 environment, network Transitive: eval, filesystem, unsafe +60 38.6 MB tmeasday
npm/@cspotcode/source-map-support@0.8.1 filesystem +3 295 kB cspotcode
npm/@devtools-ds/object-inspector@1.2.1 None +8 988 kB tylerkrupicka
npm/@digitak/esrun@3.2.25 filesystem, shell +1 60.9 kB gin-quin
npm/@discoveryjs/json-ext@0.5.7 None 0 81.1 kB lahmatiy
npm/@emotion/cache@11.11.0 environment +4 189 kB emotion-release-bot
npm/@emotion/is-prop-valid@1.2.1 environment +1 33.4 kB emotion-release-bot
npm/@emotion/react@11.11.1 environment +16 4.37 MB emotion-release-bot
npm/@emotion/styled@11.11.0 environment +18 4.57 MB emotion-release-bot
npm/@emotion/use-insertion-effect-with-fallbacks@1.0.1 environment 0 7.38 kB emotion-release-bot
npm/@emotion/weak-memoize@0.3.1 environment 0 6.08 kB emotion-release-bot
npm/@esbuild/android-arm@0.19.12 None 0 11.5 MB evanw
npm/@esbuild/android-arm64@0.19.12 None 0 9.83 MB evanw
npm/@esbuild/android-x64@0.19.12 None 0 11.5 MB evanw
npm/@esbuild/darwin-arm64@0.19.12 None 0 9.76 MB evanw
npm/@esbuild/darwin-x64@0.19.12 None 0 10.2 MB evanw
npm/@esbuild/freebsd-arm64@0.19.12 None 0 8.85 MB evanw
npm/@esbuild/freebsd-x64@0.19.12 None 0 9.61 MB evanw
npm/@esbuild/linux-arm@0.19.12 None 0 9.18 MB evanw
npm/@esbuild/linux-arm64@0.19.12 None 0 8.85 MB evanw
npm/@esbuild/linux-ia32@0.19.12 None 0 9.14 MB evanw
npm/@esbuild/linux-loong64@0.19.12 None 0 9.37 MB evanw
npm/@esbuild/linux-mips64el@0.19.12 None 0 10.4 MB evanw
npm/@esbuild/linux-ppc64@0.19.12 None 0 9.18 MB evanw
npm/@esbuild/linux-riscv64@0.19.12 None 0 9.11 MB evanw
npm/@esbuild/linux-s390x@0.19.12 None 0 10 MB evanw
npm/@esbuild/linux-x64@0.19.12 None 0 9.6 MB evanw
npm/@esbuild/netbsd-x64@0.19.12 None 0 9.59 MB evanw
npm/@esbuild/openbsd-x64@0.19.12 None 0 9.62 MB evanw
npm/@esbuild/sunos-x64@0.19.12 None 0 9.59 MB evanw
npm/@esbuild/win32-arm64@0.19.12 None 0 8.98 MB evanw
npm/@esbuild/win32-ia32@0.19.12 None 0 9.45 MB evanw
npm/@esbuild/win32-x64@0.19.12 None 0 9.81 MB evanw
npm/@eslint-community/eslint-utils@4.4.0 None 0 379 kB eslint-community-bot
npm/@eslint-community/regexpp@4.10.0 None 0 431 kB eslint-community-bot
npm/@eslint/eslintrc@2.1.4 filesystem, unsafe Transitive: eval +4 1.77 MB eslintbot
npm/@eslint/js@8.56.0 None 0 13.9 kB eslintbot
npm/@fal-works/esbuild-plugin-global-externals@2.1.2 None 0 19.5 kB fal-works
npm/@gar/promisify@1.1.3 None 0 4.2 kB gar
npm/@gitbeaker/core@35.8.1 None +1 2.21 MB jdalrymple
npm/@gitbeaker/node@35.8.1 None +2 2.27 MB jdalrymple
npm/@gitbeaker/requester-utils@35.8.1 None 0 51.3 kB jdalrymple
npm/@google-cloud/bigquery@5.12.0 environment, filesystem +5 952 kB google-wombot
npm/@google-cloud/common@3.10.0 environment +2 194 kB google-wombot
npm/@google-cloud/paginator@3.0.7 None 0 48.7 kB google-wombot
npm/@google-cloud/projectify@2.1.1 None 0 30.9 kB google-wombot
npm/@google-cloud/promisify@2.0.4 None 0 35.3 kB google-wombot
npm/@hapi/accept@5.0.2 None +2 103 kB devinivy
npm/@hapi/ammo@5.0.1 None +1 59.8 kB hueniverse
npm/@hapi/b64@5.0.0 None +1 59.8 kB hueniverse
npm/@hapi/boom@9.1.4 None +1 79.8 kB devinivy
npm/@hapi/bounce@2.0.0 None +2 85.3 kB hueniverse
npm/@hapi/bourne@2.1.0 None 0 7.26 kB devinivy
npm/@hapi/call@8.0.1 None +2 106 kB cjihrig
npm/@hapi/catbox-memory@5.0.1 None +2 89.2 kB devinivy
npm/@hapi/catbox@11.1.1 None +6 358 kB cjihrig
npm/@hapi/content@5.0.2 None +2 87.1 kB hueniverse
npm/@hapi/cryptiles@5.1.0 None +2 85.9 kB hueniverse
npm/@hapi/file@2.0.0 None 0 2.88 kB hueniverse
npm/@hapi/hapi@20.3.0 network Transitive: filesystem +28 809 kB devinivy
npm/@hapi/heavy@7.0.1 None +4 310 kB cjihrig
npm/@hapi/hoek@9.3.0 None 0 51.5 kB devinivy
npm/@hapi/inert@6.0.5 filesystem +6 343 kB devinivy
npm/@hapi/iron@6.0.0 None +5 120 kB hueniverse
npm/@hapi/mimos@6.0.0 None +1 61.5 kB devinivy
npm/@hapi/nigel@4.0.2 None +2 64.5 kB hueniverse
npm/@hapi/pez@5.1.0 None +6 122 kB devinivy
npm/@hapi/podium@4.1.3 None +4 308 kB devinivy
npm/@hapi/shot@5.0.5 network +3 288 kB devinivy
npm/@hapi/somever@3.0.1 None +3 102 kB devinivy
npm/@hapi/statehood@7.0.4 None +9 368 kB devinivy
npm/@hapi/subtext@7.1.0 filesystem Transitive: network +10 185 kB devinivy
npm/@hapi/teamwork@5.1.1 None 0 7.87 kB nargonath
npm/@hapi/topo@5.1.0 None +1 62.2 kB devinivy
npm/@hapi/validate@1.1.3 None +2 275 kB devinivy
npm/@hapi/vise@4.0.0 None +1 57.2 kB hueniverse
npm/@hapi/wreck@17.2.0 network +3 125 kB devinivy
npm/@humanwhocodes/config-array@0.11.14 None +1 109 kB nzakas
npm/@humanwhocodes/module-importer@1.0.1 unsafe 0 21.2 kB nzakas
npm/@humanwhocodes/momoa@2.0.4 None 0 49.1 kB nzakas
npm/@humanwhocodes/object-schema@2.0.2 None 0 53.3 kB nzakas
npm/@hypnosphi/create-react-context@0.3.1 environment 0 13.7 kB hypnosphi
npm/@isaacs/cliui@8.0.2 None 0 27.8 kB isaacs
npm/@jest/globals@29.7.0 Transitive: eval +10 4.67 MB simenb
npm/@jest/types@29.6.3 None +2 481 kB simenb
npm/@joshwooding/vite-plugin-react-docgen-typescript@0.3.0 None +2 475 kB joshwooding
npm/@jridgewell/resolve-uri@3.1.1 None 0 55.2 kB jridgewell
npm/@jridgewell/trace-mapping@0.3.19 None +2 265 kB jridgewell
npm/@juggle/resize-observer@3.4.0 None 0 73.7 kB trem
npm/@mdx-js/mdx@3.0.0 None 0 162 kB wooorm
npm/@mdx-js/react@3.0.0 None 0 13.8 kB wooorm
npm/@ndelangen/get-tarball@3.0.9 network 0 586 kB ndelangen
npm/@nodelib/fs.walk@1.2.8 Transitive: filesystem +2 60.4 kB mrmlnc
npm/@npmcli/config@8.1.0 environment, filesystem +6 630 kB gar
npm/@npmcli/fs@3.1.0 filesystem 0 26.5 kB lukekarrys
npm/@npmcli/map-workspaces@3.0.4 Transitive: environment +2 446 kB npm-cli-ops
npm/@npmcli/move-file@2.0.1 filesystem Transitive: environment +1 27.8 kB gar
npm/@npmcli/name-from-folder@2.0.0 None 0 2.38 kB lukekarrys
npm/@nrwl/devkit@17.0.2 Transitive: environment, filesystem, shell, unsafe +2 250 kB nrwl-jason
npm/@nrwl/tao@17.0.2 None 0 5.53 kB nrwl-jason
npm/@nrwl/workspace@17.0.2 Transitive: environment, filesystem, shell, unsafe +4 457 kB nrwl-jason
npm/@nx/devkit@17.0.2 environment, filesystem, shell, unsafe +2 250 kB nrwl-jason
npm/@nx/nx-darwin-arm64@17.0.2 None 0 7.21 MB nrwl-jason
npm/@nx/nx-darwin-x64@17.0.2 None 0 7.66 MB nrwl-jason
npm/@nx/nx-freebsd-x64@17.0.2 None 0 9.66 MB nrwl-jason
npm/@nx/nx-linux-arm-gnueabihf@17.0.2 None 0 9.36 MB nrwl-jason
npm/@nx/nx-linux-arm64-gnu@17.0.2 None 0 9.85 MB nrwl-jason
npm/@nx/nx-linux-arm64-musl@17.0.2 None 0 9.8 MB nrwl-jason
npm/@nx/nx-linux-x64-gnu@17.0.2 None 0 9.74 MB nrwl-jason
npm/@nx/nx-linux-x64-musl@17.0.2 None 0 9.7 MB nrwl-jason
npm/@nx/nx-win32-arm64-msvc@17.0.2 None 0 5.64 MB nrwl-jason
npm/@nx/nx-win32-x64-msvc@17.0.2 None 0 6.42 MB nrwl-jason
npm/@octokit/auth-token@2.5.0 None +2 2.34 MB octokitbot
npm/@octokit/core@3.6.0 Transitive: network +7 2.63 MB octokitbot
npm/@octokit/endpoint@6.0.12 None +2 2.43 MB octokitbot
npm/@octokit/graphql@4.8.0 Transitive: network +5 2.55 MB octokitbot
npm/@octokit/openapi-types@12.11.0 None 0 2.09 MB octokitbot
npm/@octokit/plugin-paginate-rest@2.21.3 Transitive: network +8 2.83 MB octokitbot
npm/@octokit/plugin-request-log@1.0.4 Transitive: network +8 2.64 MB gr2m
npm/@octokit/plugin-rest-endpoint-methods@5.16.2 Transitive: network +8 4.01 MB octokitbot
npm/@octokit/request-error@2.1.0 None +2 2.33 MB octokitbot
npm/@octokit/request@5.6.3 network +4 2.51 MB octokitbot
npm/@octokit/rest@18.12.0 Transitive: network +11 4.24 MB octokitbot
npm/@octokit/types@6.41.0 None +1 2.31 MB octokitbot
npm/@pkgjs/parseargs@0.11.0 None 0 74.2 kB oss-bot
npm/@pkgr/core@0.1.1 None 0 8.54 kB jounqin
npm/@pmmmwh/react-refresh-webpack-plugin@0.5.11 environment, filesystem +2 231 kB pmmmwh
npm/@popperjs/core@2.11.8 None 0 1.46 MB fezvrasta
npm/@radix-ui/react-scroll-area@1.0.5 None +11 683 kB benoitgrelard
npm/@radix-ui/react-slot@1.0.2 None +2 287 kB benoitgrelard
npm/@rollup/pluginutils@5.1.0 None 0 57.1 kB shellscape
npm/@rollup/rollup-android-arm-eabi@4.12.0 None 0 1.63 MB lukastaegert
npm/@rollup/rollup-android-arm64@4.12.0 None 0 2.49 MB lukastaegert
npm/@rollup/rollup-darwin-arm64@4.12.0 None 0 2.41 MB lukastaegert
npm/@rollup/rollup-darwin-x64@4.12.0 None 0 2.58 MB lukastaegert
npm/@rollup/rollup-linux-arm-gnueabihf@4.12.0 None 0 2.43 MB lukastaegert
npm/@rollup/rollup-linux-arm64-gnu@4.12.0 None 0 2.47 MB lukastaegert
npm/@rollup/rollup-linux-arm64-musl@4.12.0 None 0 2.37 MB lukastaegert
npm/@rollup/rollup-linux-riscv64-gnu@4.12.0 None 0 2.54 MB lukastaegert
npm/@rollup/rollup-linux-x64-gnu@4.12.0 None 0 2.73 MB lukastaegert
npm/@rollup/rollup-linux-x64-musl@4.12.0 None 0 2.73 MB lukastaegert
npm/@rollup/rollup-win32-arm64-msvc@4.12.0 None 0 2.93 MB lukastaegert
npm/@rollup/rollup-win32-ia32-msvc@4.12.0 None 0 2.64 MB lukastaegert
npm/@rollup/rollup-win32-x64-msvc@4.12.0 None 0 3.44 MB lukastaegert
npm/@sideway/address@4.1.5 None +1 107 kB marsup
npm/@sideway/formula@3.0.1 None 0 16.9 kB marsup
npm/@sideway/pinpoint@2.0.0 None 0 3.64 kB hueniverse
npm/@sinclair/typebox@0.27.8 None 0 442 kB sinclair
npm/@sindresorhus/df@3.1.1 environment Transitive: shell +4 78.4 kB sindresorhus
npm/@sindresorhus/is@4.6.0 None 0 57.5 kB sindresorhus
npm/@storybook/addon-designs@7.0.7 Transitive: environment, eval, filesystem, unsafe +76 17.7 MB yannbf
npm/@storybook/design-system@7.15.17 environment Transitive: filesystem, unsafe +16 22 MB ndelangen
npm/@storybook/docs-mdx@3.0.0 None 0 9.18 MB shilman
npm/@storybook/icons@1.2.5 None 0 1.16 MB ndelangen
npm/@storybook/react-docgen-typescript-plugin@1.0.6--canary.9.0c3f3b7.0 None 0 67 kB shilman
npm/@stroncium/procfs@1.2.1 filesystem 0 51.4 kB stroncium
npm/@sveltejs/vite-plugin-svelte@3.0.1 Transitive: environment, filesystem, network, shell +41 253 MB svelte-admin
npm/@szmarczak/http-timer@4.0.6 None 0 10.8 kB szmarczak
npm/@vue/compiler-sfc@3.0.0 Transitive: environment, eval, filesystem +12 11.2 MB yyx990803
npm/svelte@4.2.12 None +8 3.38 MB conduitry, rich_harris, svelte-admin
npm/vfile@5.3.7 None +1 82.1 kB wooorm

馃毊 Removed packages: npm/@testing-library/react@14.2.1, npm/@testing-library/user-event@14.5.2, npm/@types/express@4.17.21, npm/@types/fs-extra@11.0.4, npm/@types/lodash@4.14.202, npm/@types/mock-require@2.0.3, npm/@types/node@18.19.18, npm/@types/react-dom@18.2.19, npm/@types/react@18.2.58, npm/@types/semver@7.5.7, npm/@types/serve-static@1.15.5, npm/@typescript-eslint/experimental-utils@5.62.0, npm/@typescript-eslint/parser@6.21.0, npm/@vitejs/plugin-react@3.1.0, npm/@vitest/coverage-v8@1.3.1, npm/chromatic@7.1.0, npm/concurrently@5.3.0, npm/cross-env@7.0.3, npm/vue-component-type-helpers@1.8.27

View full report鈫楋笌

Copy link

socket-security bot commented Feb 21, 2024

馃毃 Potential security issues detected. Learn more about Socket for GitHub 鈫楋笌

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

Alert Package NoteSource
Uses eval npm/core-js@2.6.12
  • orphan: npm/core-js@2.6.12
Uses eval npm/core-js@2.6.12
  • orphan: npm/core-js@2.6.12
Install scripts npm/core-js@2.6.12
  • Install script: postinstall
  • Source: node -e "try{require('./postinstall')}catch(e){}"
  • orphan: npm/core-js@2.6.12
New author npm/uuid@3.4.0
Uses eval npm/ajv@6.12.6
New author npm/@babel/plugin-syntax-import-meta@7.10.4
New author npm/@babel/plugin-syntax-logical-assignment-operators@7.10.4
New author npm/@babel/plugin-syntax-numeric-separator@7.10.4
Shell access npm/@aw-web-design/x-default-browser@1.4.126
New author npm/@hapi/topo@5.1.0
New author npm/@sideway/formula@3.0.1
Shell access npm/execa@2.1.0
Uses eval npm/@sinonjs/fake-timers@10.3.0
New author npm/@npmcli/map-workspaces@3.0.4
New author npm/@npmcli/name-from-folder@2.0.0
New author npm/nopt@7.2.0
Shell access npm/@npmcli/promise-spawn@7.0.0
  • orphan: npm/@npmcli/promise-spawn@7.0.0
New author npm/@npmcli/promise-spawn@7.0.0
  • orphan: npm/@npmcli/promise-spawn@7.0.0
Shell access npm/node-gyp@9.4.0
  • orphan: npm/node-gyp@9.4.0
New author npm/@one-ini/wasm@0.1.1
  • orphan: npm/@one-ini/wasm@0.1.1
New author npm/@npmcli/node-gyp@3.0.0
  • orphan: npm/@npmcli/node-gyp@3.0.0
New author npm/@hapi/accept@5.0.2
New author npm/@hapi/bourne@2.1.0
New author npm/@hapi/teamwork@5.1.1
New author npm/@hapi/validate@1.1.3
New author npm/@hapi/call@8.0.1
New author npm/@hapi/catbox@11.1.1
New author npm/@hapi/catbox-memory@5.0.1
New author npm/@hapi/heavy@7.0.1
New author npm/@hapi/mimos@6.0.0
New author npm/@hapi/wreck@17.2.0
New author npm/@hapi/somever@3.0.1
New author npm/@hapi/statehood@7.0.4
Shell access npm/vite@4.5.0
Uses eval npm/vite@4.5.0
Uses eval npm/vite@4.5.0
Shell access npm/node-gyp@10.0.1
  • orphan: npm/node-gyp@10.0.1
Shell access npm/@nx/devkit@17.0.2
Uses eval npm/@vue/compiler-core@3.0.0
Shell access npm/@digitak/esrun@3.2.25
Uses eval npm/@angular-devkit/core@17.0.5
Shell access npm/@angular-devkit/build-angular@17.0.5
Shell access npm/@angular/cli@17.0.5
Uses eval npm/@angular-devkit/build-webpack@0.1700.5
Uses eval npm/@ngtools/webpack@17.0.5
New author npm/@storybook/addon-designs@7.0.7
Shell access npm/vite@4.5.1
  • orphan: npm/vite@4.5.1
Uses eval npm/vite@4.5.1
  • orphan: npm/vite@4.5.1
Uses eval npm/vite@4.5.1
  • orphan: npm/vite@4.5.1
Uses eval npm/postcss-loader@7.3.4
  • orphan: npm/postcss-loader@7.3.4
Uses eval npm/@angular-devkit/core@17.0.9
New author npm/@sideway/address@4.1.5
Uses eval npm/@storybook/csf-tools@7.6.17
Uses eval npm/@storybook/components@7.6.17

View full report鈫楋笌

Next steps

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.

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 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.

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 ecosystem/package-name@version specifiers. e.g. @SocketSecurity ignore npm/foo@1.0.0 or ignore all packages with @SocketSecurity ignore-all

  • @SocketSecurity ignore npm/core-js@2.6.12
  • @SocketSecurity ignore npm/uuid@3.4.0
  • @SocketSecurity ignore npm/ajv@6.12.6
  • @SocketSecurity ignore npm/@babel/plugin-syntax-import-meta@7.10.4
  • @SocketSecurity ignore npm/@babel/plugin-syntax-logical-assignment-operators@7.10.4
  • @SocketSecurity ignore npm/@babel/plugin-syntax-numeric-separator@7.10.4
  • @SocketSecurity ignore npm/@aw-web-design/x-default-browser@1.4.126
  • @SocketSecurity ignore npm/@hapi/topo@5.1.0
  • @SocketSecurity ignore npm/@sideway/formula@3.0.1
  • @SocketSecurity ignore npm/execa@2.1.0
  • @SocketSecurity ignore npm/@sinonjs/fake-timers@10.3.0
  • @SocketSecurity ignore npm/@npmcli/map-workspaces@3.0.4
  • @SocketSecurity ignore npm/@npmcli/name-from-folder@2.0.0
  • @SocketSecurity ignore npm/nopt@7.2.0
  • @SocketSecurity ignore npm/@npmcli/promise-spawn@7.0.0
  • @SocketSecurity ignore npm/node-gyp@9.4.0
  • @SocketSecurity ignore npm/@one-ini/wasm@0.1.1
  • @SocketSecurity ignore npm/@npmcli/node-gyp@3.0.0
  • @SocketSecurity ignore npm/@hapi/accept@5.0.2
  • @SocketSecurity ignore npm/@hapi/bourne@2.1.0
  • @SocketSecurity ignore npm/@hapi/teamwork@5.1.1
  • @SocketSecurity ignore npm/@hapi/validate@1.1.3
  • @SocketSecuri

@shilman shilman changed the title Core: rename --webpack-stats-json to --stats-json as it now works in Vite Core: Rename --webpack-stats-json to --stats-json as it works in Vite Feb 23, 2024
@shilman shilman changed the title Core: Rename --webpack-stats-json to --stats-json as it works in Vite CLI: Rename --webpack-stats-json to --stats-json as it works in Vite Feb 23, 2024
@shilman shilman added cli maintenance User-facing maintenance tasks and removed core feature request labels Feb 23, 2024
@shilman shilman merged commit 995abe0 into next Feb 23, 2024
62 of 75 checks passed
@shilman shilman deleted the tom/add-stats-json-flag branch February 23, 2024 23:44
@github-actions github-actions bot mentioned this pull request Feb 23, 2024
30 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants