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

chore(sanity): remove unused script #6090

Merged

Conversation

bjoerge
Copy link
Member

@bjoerge bjoerge commented Mar 20, 2024

Description

Noticed this wasn't used anymore, so lets remove it (Note: builds on #6078)

Notes for release

n/a

@bjoerge bjoerge requested a review from a team as a code owner March 20, 2024 15:30
@bjoerge bjoerge requested review from ricokahler and removed request for a team March 20, 2024 15:30
Copy link

vercel bot commented Mar 20, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
performance-studio ✅ Ready (Inspect) Visit Preview Mar 20, 2024 3:31pm
test-studio ✅ Ready (Inspect) Visit Preview Mar 20, 2024 3:31pm
1 Ignored Deployment
Name Status Preview Updated (UTC)
studio-workshop ⬜️ Ignored (Inspect) Mar 20, 2024 3:31pm

Copy link

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

Package New capabilities Transitives Size Publisher
npm/@types/raf@3.4.3 None 0 2.85 kB types
npm/@types/react-copy-to-clipboard@5.0.7 None 0 4.36 kB types
npm/@types/react-dom@18.2.18 None 0 33.3 kB types
npm/@types/react-is@18.2.4 None 0 5.67 kB types
npm/@types/react@18.2.48 None +3 1.63 MB types
npm/@types/refractor@3.4.0 None +1 46.9 kB types
npm/@types/resolve-from@4.0.0 None 0 3.04 kB types
npm/@types/rimraf@3.0.2 None 0 7.5 kB types
npm/@types/semver-compare@1.0.3 None 0 2.97 kB types
npm/@types/semver@6.2.7 None 0 13.5 kB types
npm/@types/semver@7.5.6 None 0 23.2 kB types
npm/@types/shallow-equals@1.0.3 None 0 2.86 kB types
npm/@types/speakingurl@13.0.6 None 0 3.96 kB types
npm/@types/tar-fs@2.0.4 None 0 5.96 kB types
npm/@types/tar-stream@3.1.3 None 0 7.85 kB types
npm/@types/tar@6.1.10 None 0 29.8 kB types
npm/@types/three@0.150.2 None +2 924 kB types
npm/@types/use-sync-external-store@0.0.6 None 0 3.29 kB types
npm/@types/validate-npm-package-name@3.0.3 None 0 5.2 kB types
npm/@types/which@2.0.2 None 0 6.06 kB types
npm/@types/ws@8.5.10 None 0 21.7 kB types
npm/@types/yargs@17.0.32 None +1 68.8 kB types
npm/@typescript-eslint/eslint-plugin@6.21.0 None +9 5.22 MB jameshenry
npm/@typescript-eslint/parser@6.21.0 None +4 1.37 MB jameshenry
npm/@uiw/react-codemirror@4.21.21 None +6 1.17 MB wcjiang
npm/@vercel/frameworks@1.6.0 filesystem Transitive: eval +1 312 kB vercel-release-bot
npm/@vercel/fs-detectors@4.1.3 environment, filesystem, shell +2 277 kB vercel-release-bot
npm/@vercel/stega@0.1.0 None 0 25.4 kB vercel-release-bot
npm/@vitejs/plugin-react@4.2.1 None +3 64.2 kB vitebot
npm/archiver@7.0.0 filesystem +3 880 kB ctalkington
npm/arrify@1.0.1 None 0 2.34 kB sindresorhus
npm/arrify@2.0.1 None 0 3.19 kB sindresorhus
npm/async-mutex@0.4.1 None 0 54.7 kB dirtyhairy
npm/boxen@4.2.0 None +7 118 kB sindresorhus
npm/cac@6.7.14 None 0 81.8 kB egoist
npm/chalk@4.1.2 None +3 85.9 kB sindresorhus
npm/chokidar@3.6.0 environment, filesystem +2 149 kB paulmillr
npm/clean-stack@3.0.1 None +1 10.2 kB sindresorhus
npm/color2k@2.0.3 None 0 293 kB ricokahler
npm/configstore@5.0.1 None +1 17.2 kB sindresorhus
npm/connect-history-api-fallback@1.6.0 None 0 11.5 kB bripkens
npm/console-table-printer@2.12.0 None 0 44.8 kB ayonknan
npm/cpx@1.5.0 filesystem Transitive: environment, eval +6 2.46 MB mysticatea
npm/dataloader@2.2.2 None 0 62.2 kB saihaj
npm/date-fns@2.30.0 None +1 6.95 MB kossnocorp
npm/debug@3.2.7 environment 0 53.3 kB qix
npm/debug@4.3.4 environment 0 42.4 kB qix
npm/decompress@4.2.1 None +4 22.7 kB sindresorhus
npm/deep-sort-object@1.0.2 None 0 10.8 kB satazor
npm/depcheck@1.4.7 filesystem, unsafe Transitive: environment, eval +12 6.25 MB rumpl
npm/dotenv-expand@9.0.0 None 0 11.4 kB motdotla
npm/dotenv-flow@3.3.0 environment, filesystem +1 59.4 kB kerimdzhanov
npm/dotenv@16.3.2 environment, filesystem 0 72.1 kB motdotla
npm/esbuild@0.20.2 environment, filesystem, network, shell 0 135 kB evanw
npm/eslint-config-next@14.1.3 unsafe Transitive: filesystem +6 1.08 MB vercel-release-bot
npm/eslint-config-prettier@9.1.0 None 0 20.8 kB lydell
npm/eslint-config-sanity@7.1.2 None 0 19.7 kB sanity-io
npm/eslint-import-resolver-typescript@3.6.1 None +3 274 kB jounqin
npm/eslint-plugin-boundaries@4.2.0 None +2 132 kB javierbrea
npm/eslint@8.57.0 environment, filesystem Transitive: eval, shell, unsafe +15 5.8 MB eslintbot

🚮 Removed packages: npm/@sanity/block-tools@3.35.0, npm/@sanity/cli@3.35.0, npm/@sanity/codegen@3.35.0, npm/@sanity/diff@3.35.0, npm/@sanity/export@3.35.0, npm/@sanity/import@3.35.0, npm/@sanity/migrate@3.35.0, npm/@sanity/mutator@3.35.0, npm/@sanity/portable-text-editor@3.35.0, npm/@sanity/schema@3.35.0, npm/@sanity/types@3.35.0, npm/@sanity/util@3.35.0, npm/@sanity/vision@3.35.0, npm/groq@3.35.0, npm/sanity@3.35.0

View full report↗︎

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.

Alert Package NoteSource
Install scripts npm/esbuild@0.18.20
  • orphan: npm/esbuild@0.18.20
Install scripts npm/esbuild@0.19.12
Install scripts npm/esbuild@0.20.2

View full report↗︎

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.

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/esbuild@0.18.20
  • @SocketSecurity ignore npm/esbuild@0.19.12
  • @SocketSecurity ignore npm/esbuild@0.20.2

Copy link
Contributor

No changes to documentation

Copy link
Contributor

Component Testing Report Updated Mar 20, 2024 3:40 PM (UTC)

File Status Duration Passed Skipped Failed
comments/CommentInput.spec.tsx ✅ Passed (Inspect) 35s 15 0 0
formBuilder/ArrayInput.spec.tsx ✅ Passed (Inspect) 6s 3 0 0
formBuilder/inputs/PortableText/Annotations.spec.tsx ✅ Passed (Inspect) 12s 3 0 0
formBuilder/inputs/PortableText/copyPaste/CopyPaste.spec.tsx ✅ Passed (Inspect) 12s 4 2 0
formBuilder/inputs/PortableText/Decorators.spec.tsx ✅ Passed (Inspect) 13s 6 0 0
formBuilder/inputs/PortableText/FocusTracking.spec.tsx ✅ Passed (Inspect) 31s 15 0 0
formBuilder/inputs/PortableText/Input.spec.tsx ✅ Passed (Inspect) 59s 15 0 0
formBuilder/inputs/PortableText/ObjectBlock.spec.tsx ✅ Passed (Inspect) 1m 0s 18 0 0
formBuilder/inputs/PortableText/RangeDecoration.spec.tsx ✅ Passed (Inspect) 12s 6 0 0
formBuilder/inputs/PortableText/Styles.spec.tsx ✅ Passed (Inspect) 13s 6 0 0
formBuilder/inputs/PortableText/Toolbar.spec.tsx ✅ Passed (Inspect) 19s 9 0 0

@binoy14 binoy14 merged commit a639bb6 into add-SANITY_VERSION-to-turbo-global-env Mar 20, 2024
33 of 35 checks passed
@binoy14 binoy14 deleted the chore/remove-unused-script branch March 20, 2024 17:03
github-merge-queue bot pushed a commit that referenced this pull request Mar 20, 2024
…lly regexing `SANITY_VERSION` (#6078)

* refactor: use `PKG_VERSION` from `@sanity/pkg-utils` instead of manually regexing `SANITY_VERSION`

* chore(sanity): remove unused script (#6090)

---------

Co-authored-by: Bjørge Næss <bjoerge@gmail.com>
hermanwikner pushed a commit that referenced this pull request Mar 21, 2024
…lly regexing `SANITY_VERSION` (#6078)

* refactor: use `PKG_VERSION` from `@sanity/pkg-utils` instead of manually regexing `SANITY_VERSION`

* chore(sanity): remove unused script (#6090)

---------

Co-authored-by: Bjørge Næss <bjoerge@gmail.com>
hermanwikner pushed a commit that referenced this pull request Mar 21, 2024
…lly regexing `SANITY_VERSION` (#6078)

* refactor: use `PKG_VERSION` from `@sanity/pkg-utils` instead of manually regexing `SANITY_VERSION`

* chore(sanity): remove unused script (#6090)

---------

Co-authored-by: Bjørge Næss <bjoerge@gmail.com>
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.

None yet

2 participants