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

[Snyk] Upgrade: , , , , , , , , autoprefixer, next, next-sanity, postcss, sanity, styled-components, tailwindcss, typescript #4

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

samuelcastro
Copy link
Owner

snyk-top-banner

Snyk has created this PR to upgrade multiple dependencies.

👯‍♂ The following dependencies are linked and will therefore be updated together.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

Name Versions Released on

@portabletext/react
from 3.0.18 to 3.1.0 | 4 versions ahead of your current version | 4 months ago
on 2024-05-28
@sanity/assist
from 3.0.3 to 3.0.6 | 3 versions ahead of your current version | a month ago
on 2024-08-13
@sanity/preview-url-secret
from 1.6.11 to 1.6.20 | 11 versions ahead of your current version | a month ago
on 2024-08-12
@sanity/vision
from 3.39.0 to 3.56.0 | 74 versions ahead of your current version | 25 days ago
on 2024-08-27
@tailwindcss/typography
from 0.5.13 to 0.5.15 | 2 versions ahead of your current version | 24 days ago
on 2024-08-28
@types/node
from 20.12.10 to 20.16.2 | 25 versions ahead of your current version | 24 days ago
on 2024-08-28
@types/react
from 18.3.1 to 18.3.5 | 4 versions ahead of your current version | 22 days ago
on 2024-08-30
@vercel/speed-insights
from 1.0.10 to 1.0.12 | 2 versions ahead of your current version | 3 months ago
on 2024-06-12
autoprefixer
from 10.4.19 to 10.4.20 | 1 version ahead of your current version | 2 months ago
on 2024-08-02
next
from 14.2.3 to 14.2.7 | 4 versions ahead of your current version | 25 days ago
on 2024-08-27
next-sanity
from 9.0.10 to 9.4.7 | 41 versions ahead of your current version | a month ago
on 2024-08-20
postcss
from 8.4.38 to 8.4.41 | 3 versions ahead of your current version | 2 months ago
on 2024-08-05
sanity
from 3.39.0 to 3.56.0 | 74 versions ahead of your current version | 25 days ago
on 2024-08-27
styled-components
from 6.1.8 to 6.1.13 | 8 versions ahead of your current version | 22 days ago
on 2024-08-30
tailwindcss
from 3.4.3 to 3.4.10 | 7 versions ahead of your current version | a month ago
on 2024-08-13
typescript
from 5.4.5 to 5.5.4 | 106 versions ahead of your current version | 2 months ago
on 2024-07-22

Release notes
Package name: @portabletext/react
  • 3.1.0 - 2024-05-28

    3.1.0 (2024-05-28)

    Features

  • 3.1.0-canary.2 - 2024-06-19
  • 3.1.0-canary.1 - 2024-06-19
  • 3.1.0-canary.0 - 2024-05-28
  • 3.0.18 - 2024-04-11

    3.0.18 (2024-04-11)

    Bug Fixes

    • deps: update dependency @ portabletext/toolkit to ^2.0.15 (#165) (677ff11)
    • deps: update dependency @ portabletext/types to ^2.0.13 (#163) (4d14c07)
from @portabletext/react GitHub release notes
Package name: @sanity/assist from @sanity/assist GitHub release notes
Package name: @sanity/preview-url-secret
  • 1.6.20 - 2024-08-12
  • 1.6.20-canary.3 - 2024-09-10
  • 1.6.20-canary.1 - 2024-09-10
  • 1.6.19 - 2024-08-02
  • 1.6.18 - 2024-07-03
  • 1.6.17 - 2024-05-30
  • 1.6.16 - 2024-05-29
  • 1.6.15 - 2024-05-28
  • 1.6.14 - 2024-05-27
  • 1.6.13 - 2024-05-15
  • 1.6.12 - 2024-05-05
  • 1.6.11 - 2024-04-22
from @sanity/preview-url-secret GitHub release notes
Package name: @sanity/vision
  • 3.56.0 - 2024-08-27

    ✨ Highlights

    Improved document sync notification

    Fixes an issue where the syncing document notification would sometimes remain on the screen indefinitely, even after the document was no longer visible. The toast is now dismissible, improving the user experience when working with synchronized documents.

    Sync Document Toast

    Copy document URL to clipboard

    A new feature has been added to the document pane, allowing users to easily copy the current document's URL to their clipboard. This makes sharing documents with colleagues and collaborators more convenient.

    Ending the "Array Tree Editing" beta

    Thank you to everyone who participated in the "Array Tree Editing" beta. Based on your feedback, we are ending this experiment as we continue to explore better ways to navigate nested structured.

    🐛 Notable bugfixes

    • Optimized rendering in Presence: We’ve optimized how presence changes are handled, reducing unnecessary re-renders in the Studio. This enhancement improves overall performance when multiple users are working on the same document.
    • Respect for --no-auto-updates flag in CLI: Fixed an issue where the CLI would not respect the --no-auto-updates flag, ensuring that this configuration setting now behaves as expected.
    • Improved feedback when extracting schema: The schema extraction process now outputs the file path, providing clearer feedback and making it easier to locate the saved schema.
    • Constrain size for date picker popover: Added a prop to constrain the size of the date picker popover in the DateTimeInput UI component, providing more control over its appearance, especially in modal contexts.

    Install or upgrade Sanity Studio

    To initiate a new Sanity Studio project or upgrade an existing one, please refer to our comprehensive guide on Installing and Upgrading Sanity Studio.

    If you are updating from a version earlier than 3.37.0, you should also check out this article to ensure your dependencies are up to date.

    📓 Full changelog

    Author Message Commit
    Carolina Gonzalez feat(cli): respect --no-auto-updates flag in CLI config (#7396) c83021e
    Pedro Bonamin chore(structure): add DocumentListBuilder.filter JSdoc details (#7402) 445384d
    Pedro Bonamin fix(structure): make sync document toast dismisable (#7209) dc40f6e
    Pedro Bonamin chore(core): end "Array Tree Editing" beta (#7411) 9894c6d
    Rune Botten fix(core): avoid unnecessary re-renders in useDocumentPresence (#7365) 379620e
    Simeon Griggs output path when extracting schema (#7414) 6fdfcac
    RitaDias refactor(sanity): Move date inputs UI Components to ui-components (#7410) 0d1dcd7
    renovate[bot] fix(deps): update dependency @ sanity/icons to ^3.4.0 (#7417) 6bd4f8c
    RitaDias fix(sanity): add prop for constraintSize (#7421) 17a7b1d
    Drew Lyton feat(sanity): add always present document action to copy url to clipboard (#7416) 7afcdb4
    renovate[bot] fix(deps): update dependency groq-js to ^1.13.0 (#7424) 14530aa
    Drew Lyton feat(sanity): Update presence menu button for inviting new collaborators (#7406) 064519a
  • 3.55.0 - 2024-08-20

    ✨ Highlights

    Request access to Studios

    Users can now request access to a project they're not yet a member of, straight from the Studio's "Not authorized" screen. Project administrators will be alerted by email and can approve or deny the request from the project settings area.
    image

    TypeGen updates

    Running sanity typegen will now by default generate a query typemap which the Sanity Client can use to automatically infer the returned types of a query.

    🐛 Notable bugfixes

    • The TypeGen CLI command should now correctly detect and generate types defined by defineQuery from the next-sanity package.
    • Fixes an issue with FormInput causing includeField to not have any effect for nested paths.
    • Fixes an issue with the cursor sometimes moving around as you typed in the Portable Text Editor.
    • Fixes an issue where references would not open if clicked inside a Field Group.
    • Fixes an issue where it wasn't possible to copy a text selection inside a text field.

    Install or upgrade Sanity Studio

    To initiate a new Sanity Studio project or upgrade an existing one, please refer to our comprehensive guide on Installing and Upgrading Sanity Studio.

    If you are updating from a version earlier than 3.37.0, you should also check out this article to ensure your dependencies are up to date.

    📓 Full changelog

    Author Message Commit
    Bjørge Næss fix(form): fix issue where FormInput was not rendering field when passed 'includeField' (#7350) e6185ef
    Jordan Lawrence chore(tests): collapsing ct test report comment (#7378) cd341d8
    renovate[bot] chore(deps): update dependency @ sanity/pkg-utils to v6.10.10 (#7381) 292b7d0
    renovate[bot] fix(deps): update dependency get-it to ^8.6.5 (#7376) b5d7418
    renovate[bot] fix(deps): update dependency @ portabletext/editor to ^1.0.15 (#7377) f273249
    Bjørge Næss refactor(preview): extract global listener, refactor preview APIs and improve typings (#7360) 5c75a38
    Bjørge Næss chore: add docgen script (#7387) e3a02c4
    Sindre Gulseth fix(typegen): find queries imported with defineQuery from next-sanity (#7391) b86e3d0
    Sindre Gulseth feat(typegen): set overload client methods to default to true (#7390) c11e51f
    Jordan Lawrence test(core): updating import on helpers to using jest and not playwright (#7384) 87316d6
    Carolina Gonzalez fix: do not show latest version if auto-updating (#7388) 1872388
    Espen Hovlandsdal chore(types): deprecate studioHost, externalStudioHost properties (#7369) 565eb49
    Bjørge Næss chore: fix wrong version format in generate documents script (#7393) 1a2ef91
    Fred Carlsen fix(core): fix copy related issues (#7394) 49083dd
    Drew Lyton feat(sanity): request access flow (#7248) 5ab35a5
  • 3.54.1-ref-focus-repro.4 - 2024-08-20
  • 3.54.0 - 2024-08-14

    ✨ Highlights

    Copy Paste Improvements

    • Adds support for copying supported object types into array fields
    • Adds support for copying and pasting individual array items

    release image

    Multiple deployment targets for Sanity Studio

    Introduces support for adding multiple [my-company].sanity.studio deployments for a project. Link your studio code to a specific hostname with the new studioHost property in the CLI config as shown below, or select or create a deployment target when prompted while running sanity deploy. You can now see all your studio deployments in the project management settings.

    // ./sanity.cli.ts

    import {defineCliConfig} from 'sanity/cli'

    export default defineCliConfig({
    api: {
    projectId: 'projectid',
    dataset: 'production'
    },
    // Tip: You can use an environment variable for studioHost if you want
    // to deploy separate studios for production, staging, testing etc.
    studioHost: 'my-company'
    })

    Read more in the Hosting and deployment article in the docs.

    🐛 Notable bugfixes

    • Fixes an issue where you were able to copy and paste documents that contained non-existing references
    • Fixes an issue where getValueAtPath() utility wouldn't work for 0 index path segments (['array', 0])

    Install or upgrade Sanity Studio

    To initiate a new Sanity Studio project or upgrade an existing one, please refer to our comprehensive guide on Installing and Upgrading Sanity Studio.

    If you are updating from a version earlier than 3.37.0, you should also check out this article to ensure your dependencies are up to date.

    📓 Full changelog

    Author Message Commit
    Sindre Gulseth chore(typegen): move prettier formatting into generateAction (#7333) 3c34f08
    Cody Olsen fix(deps): @ bjoerge/mutiny is now @ sanity/mutate (#7344) 4aeb5b6
    Bjørge Næss chore(dev): add groq package to monorepo aliases (#7340) d44b06e
    renovate[bot] chore(deps): update pnpm to v9.7.0 (#7346) 0772245
    renovate[bot] fix(deps): update dependency @ portabletext/editor to ^1.0.12 (#7352) ecde097
    renovate[bot] fix(deps): update dependency @ sanity/insert-menu to v1.0.8 (#7343) 088139d
    renovate[bot] fix(deps): update dependency get-it to ^8.6.4 (#7353) f6b6378
    renovate[bot] fix(deps): Update dev-non-major (#7345) eefb5ea
    Christian Grøngaard chore(test-studio): fix custom markers PTE example (#7358) 43b9969
    RitaDias test(dev): add media plugin to studio e2e & test (#7236) 12d1411
    renovate[bot] fix(deps): update dependency @ sanity/presentation to v1.16.4 (#7359) 441d7e5
    Ash feat(test-studio): add noop custom publish action example 7860c8e
    Ash fix(sanity): prevent empty actions being executed c2e4eb3
    Fred Carlsen feat(core): support pasting object into array + copying individual array items (#7292) ea55826
    Rune Botten fix(deps): update and pin react-i18next to 14.0.2 (#7364) 3cecfdd
    renovate[bot] fix(deps): update dependency @ sanity/client to ^6.21.2 (#7354) db6741b
    Sindre Gulseth fix(typegen): dont treat all document type refs as references (#7366) 32958d3
    Pedro Bonamin fix(core): update eslintrc config to show no-restricted-imports rules (#7367) 22e717e
    renovate[bot] fix(deps): update dependency @ portabletext/editor to ^1.0.13 (#7370) a361063
    Rico Kahler feat(cli): update CLI to use new deploy endpoint (#7244) 14ae5cb
  • 3.53.1-styled-fork.4 - 2024-08-08
  • 3.53.1-copy-arrayitem.11 - 2024-08-08
  • 3.53.0 - 2024-08-06

    Install or upgrade Sanity Studio

    To initiate a new Sanity Studio project or upgrade an existing one, please refer to our comprehensive guide on Installing and Upgrading Sanity Studio.

    If you are updating from a version earlier than 3.37.0, you should also check out this article to ensure your dependencies are up to date.

    Improved Sanity Client and TypeGen integration

    With the new defineQuery utility it is no longer necessary to pass generics into client.fetch calls for the sanity typegen command to generate type definitions for query results. 🥳
    Update @ sanity/client to v6.21.0 or later, then add "overloadClientMethods": true to your sanity-typegen.json configuration file, and finally wrap your query strings in the new defineQuery utility method from groq:

    -import groq from 'groq'
    +import {defineQuery} from 'groq'
    -import type { SettingsQueryResult } from "~/sanity.types";

    const client = createClient({ /* ... */ })

    -const settingsQuery = groq</span> <span class="pl-mi1"><span class="pl-mi1">+</span>const settingsQuery = defineQuery(
    *[_type == "settings"][0]
    -</span> <span class="pl-mi1"><span class="pl-mi1">+</span>)

    -const settings = await client.fetch<SettingsQueryResult>(settingsQuery)
    +const settings = await client.fetch(settingsQuery)

    Huge thanks to @ romeovs for championing this feature!

    🐛 Notable bugfixes

    • Fixes default messaging in the environment variable file created by sanity init --env
    • Fixes an issue that could cause wrong list counts in the Portable Text Editor
    • Fixes an issue that could cause malformed strings to appear in documents passed to migration scripts
    • Fixes several issues that could cause "missing context" errors in certain environments
    • Fixes an issue causing the Presence avatar overlays on form fields not to appear when Sanity Studio is embedded in a React 19 app

    📓 Full changelog

    Author Message Commit
    renovate[bot] fix(deps): update dependency react-rx to v4 (#7266) a9b9feb
    Simeon Griggs feat: embellish nextjs blog starter (#7258) 0fc8216
    renovate[bot] chore(deps): update linters (#7285) eebb27b
    renovate[bot] chore(deps): update dependency turbo to ^2.0.10 (#7284) ecc74b4
    Cody Olsen chore: remove agressive npmrc options (#7282) 8e99272
    renovate[bot] chore(deps): update dependency @ sanity/tsdoc to v1.0.87 (#7287) cade4c7
    Cody Olsen fix: remove react hooks linter suppressions in PT hooks (#7222) f5cac7b
    Cody Olsen fix: ensure search context provider value is memoized (#7200) edf7560
    Espen Hovlandsdal chore(test-studio): add workspace for us based dataset (#7293) 9f60cdc
    Simeon Griggs fix(cli): don't prepend message about .env.local if creating .env.local (

Snyk has created this PR to upgrade:
  - @portabletext/react from 3.0.18 to 3.1.0.
    See this package in npm: https://www.npmjs.com/package/@portabletext/react
  - @sanity/assist from 3.0.3 to 3.0.6.
    See this package in npm: https://www.npmjs.com/package/@sanity/assist
  - @sanity/preview-url-secret from 1.6.11 to 1.6.20.
    See this package in npm: https://www.npmjs.com/package/@sanity/preview-url-secret
  - @sanity/vision from 3.39.0 to 3.56.0.
    See this package in npm: https://www.npmjs.com/package/@sanity/vision
  - @tailwindcss/typography from 0.5.13 to 0.5.15.
    See this package in npm: https://www.npmjs.com/package/@tailwindcss/typography
  - @types/node from 20.12.10 to 20.16.2.
    See this package in npm: https://www.npmjs.com/package/@types/node
  - @types/react from 18.3.1 to 18.3.5.
    See this package in npm: https://www.npmjs.com/package/@types/react
  - @vercel/speed-insights from 1.0.10 to 1.0.12.
    See this package in npm: https://www.npmjs.com/package/@vercel/speed-insights
  - autoprefixer from 10.4.19 to 10.4.20.
    See this package in npm: https://www.npmjs.com/package/autoprefixer
  - next from 14.2.3 to 14.2.7.
    See this package in npm: https://www.npmjs.com/package/next
  - next-sanity from 9.0.10 to 9.4.7.
    See this package in npm: https://www.npmjs.com/package/next-sanity
  - postcss from 8.4.38 to 8.4.41.
    See this package in npm: https://www.npmjs.com/package/postcss
  - sanity from 3.39.0 to 3.56.0.
    See this package in npm: https://www.npmjs.com/package/sanity
  - styled-components from 6.1.8 to 6.1.13.
    See this package in npm: https://www.npmjs.com/package/styled-components
  - tailwindcss from 3.4.3 to 3.4.10.
    See this package in npm: https://www.npmjs.com/package/tailwindcss
  - typescript from 5.4.5 to 5.5.4.
    See this package in npm: https://www.npmjs.com/package/typescript

See this project in Snyk:
https://app.snyk.io/org/samuelcastro/project/cba34e52-526e-4445-9abd-85eb4a860942?utm_source=github&utm_medium=referral&page=upgrade-pr
Copy link

vercel bot commented Sep 21, 2024

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

Name Status Preview Comments Updated (UTC)
my-blog ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 21, 2024 10:54am

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