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(examples): migrates form-builder example to 3.0 #9681

Merged
merged 9 commits into from
Dec 3, 2024

Conversation

PatrikKozak
Copy link
Contributor

What?

Migrates the form-builder example to payload 3.0.

Updates:

  • Now has a next app directly along side payload.

  • Removes form-builder/next-app & form-builder/next-pages example front-ends and only uses new recommended approach (i.e admin panel & front-end on the same port - 3000)

Copy link

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

Package New capabilities Transitives Size Publisher
npm/@tailwindcss/typography@0.5.15 None +5 376 kB adamwathan
npm/@types/escape-html@1.0.4 None 0 4.45 kB types
npm/@types/jsonwebtoken@9.0.7 None 0 13.8 kB types
npm/@types/node@22.5.4 None 0 2.2 MB types
npm/autoprefixer@10.4.20 environment Transitive: filesystem +8 2.72 MB ai
npm/class-variance-authority@0.7.1 None 0 22.1 kB joebell93
npm/copyfiles@2.4.1 filesystem Transitive: environment +22 421 kB cwmma
npm/eslint-config-next@15.0.3 unsafe Transitive: environment, eval, filesystem +161 21 MB vercel-release-bot
npm/eslint@8.57.1 environment, filesystem Transitive: eval, shell, unsafe +90 9.9 MB eslintbot
npm/geist@1.3.1 None 0 3.11 MB johnphamous
npm/graphql@16.9.0 environment 0 1.36 MB benjie
npm/jsonwebtoken@9.0.2 None +14 297 kB charlesrea
npm/lucide-react@0.378.0 None 0 23.1 MB ericfennis
npm/next@15.0.3 environment, filesystem, network, shell, unsafe +13 122 MB vercel-release-bot
npm/payload-admin-bar@1.0.6 network 0 33.2 kB jacobsfletch
npm/payload@3.2.2 environment, eval, filesystem, network, shell, unsafe +79 137 MB elliotpayload
npm/postcss@8.4.49 environment, filesystem +3 404 kB ai
npm/prettier@3.4.1 None 0 7.83 MB prettier-bot
npm/prism-react-renderer@2.4.0 None +1 758 kB formidablelabs
npm/react-dom@19.0.0-rc-66855b96-20241106 environment +1 6.44 MB react-bot
npm/react-hook-form@7.45.4 network 0 853 kB bluebill1049
npm/react@19.0.0-rc-66855b96-20241106 environment 0 238 kB react-bot
npm/tailwind-merge@2.5.5 None 0 712 kB dcas
npm/tailwindcss-animate@1.0.7 None 0 18.1 kB thejameskyle
npm/tailwindcss@3.4.15 Transitive: environment, filesystem, network, shell, unsafe +91 14.1 MB adamwathan, malfaitrobin, reinink
npm/types-react-dom@19.0.0-rc.1 None 0 17.7 kB eps1lon

🚮 Removed packages: npm/@apollo/client@3.10.4, npm/@faceless-ui/css-grid@1.2.1, npm/@faceless-ui/modal@2.0.2, npm/@lexical/list@0.14.5, npm/@lexical/react@0.14.5, npm/@lexical/rich-text@0.14.5, npm/@lexical/utils@0.14.5, npm/@payloadcms/db-mongodb@3.0.0-beta.32, npm/@payloadcms/next@3.0.0-beta.32, npm/@payloadcms/plugin-cloud@3.0.0-beta.32, npm/@payloadcms/plugin-form-builder@3.0.0-beta.32, npm/@payloadcms/richtext-lexical@3.0.0-beta.32, npm/@types/node@20.12.12, npm/@types/react-dom@18.3.0, npm/@types/react@18.3.2, npm/dotenv@16.4.5, npm/graphql@16.8.1, npm/next@14.3.0-canary.28, npm/payload@3.0.0-beta.32, npm/react-dom@18.3.1, npm/react-hook-form@7.51.4, npm/react@18.3.1, npm/tsx@4.10.2, npm/typescript@5.4.5

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
Possible typosquat attack npm/types-react-dom@19.0.0-rc.1 ⚠︎

View full report↗︎

Next steps

What is a typosquat?

Package name is similar to other popular packages and may not be the package you want.

Use care when consuming similarly named packages and ensure that you did not intend to consume a different package. Malicious packages often publish using similar names as existing popular packages.

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/types-react-dom@19.0.0-rc.1

@PatrikKozak PatrikKozak merged commit 40f5c72 into main Dec 3, 2024
11 checks passed
@PatrikKozak PatrikKozak deleted the chore/form-builder-3.0 branch December 3, 2024 14:47
Copy link
Contributor

github-actions bot commented Dec 3, 2024

🚀 This is included in version v3.3.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant