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: add initial page-building test studio #6735

Merged
merged 1 commit into from
May 23, 2024
Merged

Conversation

christianhg
Copy link
Contributor

@christianhg christianhg commented May 22, 2024

This is just some initial test studio code to get us going on page building.
Nothing is set in stone.

Copy link

vercel bot commented May 22, 2024

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

Name Status Preview Comments Updated (UTC)
performance-studio ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 22, 2024 1:47pm
test-next-studio ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 22, 2024 1:47pm
test-studio ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 22, 2024 1:47pm
1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
studio-workshop ⬜️ Ignored (Inspect) Visit Preview May 22, 2024 1:47pm

Copy link
Contributor

No changes to documentation

Copy link
Contributor

github-actions bot commented May 22, 2024

Component Testing Report Updated May 22, 2024 1:55 PM (UTC)

File Status Duration Passed Skipped Failed
comments/CommentInput.spec.tsx ✅ Passed (Inspect) 37s 15 0 0
formBuilder/ArrayInput.spec.tsx ✅ Passed (Inspect) 7s 3 0 0
formBuilder/inputs/PortableText/Annotations.spec.tsx ✅ Passed (Inspect) 28s 6 0 0
formBuilder/inputs/PortableText/copyPaste/CopyPaste.spec.tsx ✅ Passed (Inspect) 33s 11 7 0
formBuilder/inputs/PortableText/Decorators.spec.tsx ✅ Passed (Inspect) 15s 6 0 0
formBuilder/inputs/PortableText/DisableFocusAndUnset.spec.tsx ✅ Passed (Inspect) 9s 3 0 0
formBuilder/inputs/PortableText/FocusTracking.spec.tsx ✅ Passed (Inspect) 39s 15 0 0
formBuilder/inputs/PortableText/Input.spec.tsx ✅ Passed (Inspect) 1m 23s 20 0 0
formBuilder/inputs/PortableText/ObjectBlock.spec.tsx ✅ Passed (Inspect) 1m 8s 18 0 0
formBuilder/inputs/PortableText/PresenceCursors.spec.tsx ✅ Passed (Inspect) 8s 3 9 0
formBuilder/inputs/PortableText/RangeDecoration.spec.tsx ✅ Passed (Inspect) 23s 9 0 0
formBuilder/inputs/PortableText/Styles.spec.tsx ✅ Passed (Inspect) 16s 6 0 0
formBuilder/inputs/PortableText/Toolbar.spec.tsx ✅ Passed (Inspect) 32s 12 0 0

This is just some initial test studio code to get us going on page building.
Nothing is set in stone.
Copy link

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

Package New capabilities Transitives Size Publisher

🚮 Removed packages: npm/@sanity/color@3.0.6, npm/@sanity/diff-match-patch@3.1.1, npm/@sanity/eslint-config-i18n@1.0.0, npm/@sanity/eslint-config-studio@4.0.0, npm/@sanity/eventsource@5.0.2, npm/@sanity/export@3.38.0, npm/@sanity/generate-help-url@3.0.0, npm/@sanity/google-maps-input@4.0.1, npm/@sanity/icons@2.11.8, npm/@sanity/image-url@1.0.2, npm/@sanity/import@3.37.3, npm/@sanity/locale-ko-kr@1.1.4, npm/@sanity/locale-nb-no@1.1.7, npm/@sanity/locale-nn-no@1.1.6, npm/@sanity/locale-pt-pt@1.1.3, npm/@sanity/locale-sv-se@1.2.4, npm/@sanity/logos@2.1.11, npm/@sanity/pkg-utils@6.8.17, npm/@sanity/presentation@1.15.8, npm/@sanity/prettier-config@1.0.2, npm/@sanity/preview-url-secret@1.6.13, npm/@sanity/react-loader@1.9.19, npm/@sanity/test@0.0.1-alpha.1, npm/@sanity/tsdoc@1.0.59, npm/@sanity/tsdoc@1.0.62, npm/@sanity/ui-workshop@1.2.11, npm/@sanity/ui@2.1.11, npm/@sanity/uuid@3.0.2, npm/@sanity/visual-editing@1.8.21, npm/@tanstack/react-table@8.16.0, npm/@tanstack/react-virtual@3.0.0-beta.54, npm/@testing-library/jest-dom@6.4.2, npm/@testing-library/react@13.4.0, npm/@testing-library/user-event@13.5.0, npm/@turf/helpers@6.5.0, npm/@turf/points-within-polygon@5.1.5, npm/@types/archiver@6.0.2, npm/@types/arrify@1.0.4, npm/@types/arrify@2.0.1, npm/@types/babel__core@7.20.5, npm/@types/babel__generator@7.6.8, npm/@types/babel__register@7.17.3, npm/@types/babel__traverse@7.20.5, npm/@types/configstore@5.0.1, npm/@types/connect-history-api-fallback@1.5.4, npm/@types/cpx@1.5.5, npm/@types/debug@4.1.12, npm/@types/decompress@4.2.7, npm/@types/express-ws@3.0.4, npm/@types/express@4.17.21, npm/@types/glob@7.2.0, npm/@types/inquirer@6.5.0, npm/@types/jsdom@20.0.1, npm/@types/lodash@4.17.0, npm/@types/log-symbols@2.0.0, npm/@types/minimist@1.2.5, npm/@types/moment@2.13.0, npm/@types/node-ipc@9.2.3, npm/@types/node@18.19.31, npm/@types/object-inspect@1.13.0, npm/@types/raf@3.4.3, npm/@types/react-copy-to-clipboard@5.0.7, npm/@types/react-dom@18.3.0, npm/@types/react-is@18.3.0, npm/@types/react@18.3.2, npm/@types/refractor@3.4.1, npm/@types/resolve-from@4.0.0, npm/@types/rimraf@3.0.2, npm/@types/semver-compare@1.0.3, npm/@types/semver@6.2.7, npm/@types/semver@7.5.8, npm/@types/shallow-equals@1.0.3, npm/@types/speakingurl@13.0.6, npm/@types/tar-fs@2.0.4, npm/@types/tar-stream@3.1.3, npm/@types/tar@6.1.12, npm/@types/three@0.164.0, npm/@types/use-sync-external-store@0.0.6, npm/@types/validate-npm-package-name@3.0.3, npm/@types/which@2.0.2, npm/@types/ws@8.5.10, npm/@types/yargs@17.0.32, npm/@typescript-eslint/eslint-plugin@7.9.0, npm/@typescript-eslint/parser@7.9.0, npm/@uiw/react-codemirror@4.21.25, npm/@vercel/frameworks@1.6.0, npm/@vercel/fs-detectors@4.1.3, npm/@vercel/stega@0.1.2, npm/@vitejs/plugin-react@4.2.1, npm/@vvo/tzdb@6.137.0, npm/archiver@7.0.1, npm/arrify@2.0.1, npm/async-mutex@0.4.1

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/core-js@2.6.12
  • Install script: postinstall
  • Source: node -e "try{require('./postinstall')}catch(e){}"
  • orphan: npm/core-js@2.6.12

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/core-js@2.6.12

@@ -0,0 +1,33 @@
/* eslint-disable import/no-extraneous-dependencies */
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm unsure if it's OK to suppress this error. I've only installed react-icons in this workspace.

Copy link
Member

@bjoerge bjoerge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@christianhg
Copy link
Contributor Author

LGTM

Thanks!

Unfortunately, I'm not authorised to merge this one my own.

Screenshot 2024-05-23 at 14 49 09

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.

2 participants