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

fix: make react 19 compatible #49

Merged
merged 2 commits into from
Dec 18, 2024
Merged

fix: make react 19 compatible #49

merged 2 commits into from
Dec 18, 2024

Conversation

rexxars
Copy link
Member

@rexxars rexxars commented Dec 17, 2024

Widens peer dependency range and upgrades Sanity-dependencies to React 19 compatible versions

@rexxars rexxars requested review from snorrees and rdunk December 17, 2024 19:04
Copy link

socket-security bot commented Dec 17, 2024

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

Package New capabilities Transitives Size Publisher
npm/@commitlint/cli@17.8.1 Transitive: environment, eval, filesystem, shell, unsafe +180 15.2 MB escapedcat
npm/@commitlint/config-conventional@17.8.1 Transitive: filesystem +5 44.9 kB escapedcat
npm/@sanity/icons@3.5.3 None +1 2.02 MB sanity-io
npm/@sanity/incompatible-plugin@1.0.5 None 0 36.5 kB sanity-io
npm/@sanity/pkg-utils@6.12.0 environment Transitive: eval, filesystem, network, shell, unsafe +299 386 MB sanity-io
npm/@sanity/plugin-kit@4.0.18 Transitive: environment, eval, filesystem, network, shell, unsafe +496 603 MB sanity-io
npm/@sanity/semantic-release-preset@5.0.0 Transitive: environment, filesystem, shell +53 2.24 MB sanity-io
npm/@sanity/ui@2.10.11 Transitive: environment +37 11 MB armandocerna, ash, atombender, ...62 more
npm/@types/react-dom@18.3.5 None 0 37.9 kB types
npm/@types/react@18.3.17 None +2 1.69 MB types
npm/@typescript-eslint/eslint-plugin@7.18.0 Transitive: environment, filesystem +38 7.31 MB jameshenry
npm/@typescript-eslint/parser@7.18.0 Transitive: environment, filesystem +27 962 kB jameshenry
npm/eslint-config-prettier@9.1.0 None 0 20.8 kB lydell
npm/eslint-config-sanity@7.1.3 None 0 0 B
npm/eslint-plugin-react-hooks@4.6.2 environment 0 118 kB react-bot
npm/eslint-plugin-react@7.37.2 filesystem Transitive: environment, eval +111 6.32 MB ljharb
npm/eslint-plugin-simple-import-sort@12.1.1 None 0 38.3 kB lydell
npm/eslint@8.57.1 environment, filesystem Transitive: eval, shell, unsafe +91 10.8 MB eslintbot
npm/husky@8.0.3 environment, filesystem, shell 0 6.44 kB typicode
npm/lint-staged@13.3.0 Transitive: environment, filesystem, shell +46 2.17 MB okonet
npm/prettier-plugin-packagejson@2.5.6 Transitive: environment, filesystem +13 481 kB matzkoh
npm/prettier@2.8.8 environment, filesystem, unsafe 0 11.2 MB prettier-bot
npm/react-dom@18.3.1 environment +3 4.63 MB react-bot
npm/react@18.3.1 environment +2 339 kB react-bot
npm/sanity@3.67.1 Transitive: environment, eval, filesystem, network, shell, unsafe +810 722 MB ash
npm/typescript@5.7.2 None 0 22.7 MB typescript-bot

🚮 Removed packages: npm/@commitlint/cli@17.2.0, npm/@commitlint/config-conventional@17.2.0, npm/@sanity/icons@2.0.0, npm/@sanity/incompatible-plugin@1.0.4, npm/@sanity/pkg-utils@1.18.0, npm/@sanity/plugin-kit@2.1.16, npm/@sanity/semantic-release-preset@2.0.2, npm/@sanity/ui@1.0.0, npm/@types/react-dom@18.0.8, npm/@types/react@18.0.25, npm/@typescript-eslint/eslint-plugin@5.43.0, npm/@typescript-eslint/parser@5.43.0, npm/eslint-config-prettier@8.5.0, npm/eslint-config-react-app@7.0.1, npm/eslint-config-sanity@6.0.0, npm/eslint-plugin-react-hooks@4.6.0, npm/eslint-plugin-react@7.31.11, npm/eslint@8.28.0, npm/husky@8.0.2, npm/lint-staged@13.0.3, npm/prettier-plugin-packagejson@2.3.0, npm/prettier@2.7.1, npm/react-dom@18.2.0, npm/react@18.2.0, npm/sanity@3.0.0, npm/typescript@4.9.3

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 NoteSourceCI
License Policy Violation npm/polished@4.3.1
  • License: OFL-1.1 - Not allowed by license policy (package/docs/assets/fonts/LICENSE.txt)
⚠︎
License Policy Violation npm/spdx-exceptions@2.5.0
  • License: CC-BY-3.0 - Not allowed by license policy (npm metadata, package/package.json)
⚠︎
License Policy Violation npm/typescript@5.4.2
  • License: CC-BY-4.0 - Not allowed by license policy (package/ThirdPartyNoticeText.txt)
  • License: W3C-20150513 - Not allowed by license policy (package/ThirdPartyNoticeText.txt)
⚠︎
License Policy Violation npm/silver-fleece@1.1.0
  • License: -- - No known license was found
⚠︎
License Policy Violation npm/typescript@5.7.2
  • License: CC-BY-4.0 - Not allowed by license policy (package/ThirdPartyNoticeText.txt)
  • License: W3C-20150513 - Not allowed by license policy (package/ThirdPartyNoticeText.txt)
⚠︎
License Policy Violation npm/caniuse-lite@1.0.30001689
  • License: CC-BY-4.0 - Not allowed by license policy (npm metadata, package/LICENSE, package/package.json)
⚠︎

View full report↗︎

Next steps

What is a license policy violation?

This package is not allowed per your license policy. Review the package's license to ensure compliance.

Find a package that does not violate your license policy or adjust your policy to allow this package's license.

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/polished@4.3.1
  • @SocketSecurity ignore npm/spdx-exceptions@2.5.0
  • @SocketSecurity ignore npm/typescript@5.4.2
  • @SocketSecurity ignore npm/silver-fleece@1.1.0
  • @SocketSecurity ignore npm/typescript@5.7.2
  • @SocketSecurity ignore npm/caniuse-lite@1.0.30001689

Copy link
Contributor

@snorrees snorrees left a comment

Choose a reason for hiding this comment

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

Thanks!

@rexxars rexxars merged commit a2e5eff into main Dec 18, 2024
10 checks passed
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