From 953501dd895529967ee95f465457811e1731bfc1 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 3 Nov 2024 11:03:30 -0800 Subject: [PATCH] fix(deps): update dependency @portabletext/editor to ^1.4.1 (#7735) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- packages/sanity/package.json | 2 +- pnpm-lock.yaml | 67 +++++++++++++++++++++++++++++------- 2 files changed, 56 insertions(+), 13 deletions(-) diff --git a/packages/sanity/package.json b/packages/sanity/package.json index 1c3436711d6..a0957245467 100644 --- a/packages/sanity/package.json +++ b/packages/sanity/package.json @@ -153,7 +153,7 @@ "@dnd-kit/sortable": "^7.0.1", "@dnd-kit/utilities": "^3.2.0", "@juggle/resize-observer": "^3.3.1", - "@portabletext/editor": "^1.4.0", + "@portabletext/editor": "^1.4.1", "@portabletext/react": "^3.0.0", "@rexxars/react-json-inspector": "^8.0.1", "@sanity/asset-utils": "^2.0.6", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 5f7404ae0dd..ffd95d587e3 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -449,7 +449,7 @@ importers: dependencies: '@portabletext/editor': specifier: ^1.4.0 - version: 1.4.0(@sanity/block-tools@3.62.3)(@sanity/schema@packages+@sanity+schema)(@sanity/types@packages+@sanity+types)(@sanity/util@packages+@sanity+util)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(rxjs@7.8.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) + version: 1.4.1(@sanity/block-tools@3.62.3)(@sanity/schema@packages+@sanity+schema)(@sanity/types@packages+@sanity+types)(@sanity/util@packages+@sanity+util)(@types/react@18.3.12)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(rxjs@7.8.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) '@portabletext/react': specifier: ^3.0.0 version: 3.1.0(react@18.3.1) @@ -1440,8 +1440,8 @@ importers: specifier: ^3.3.1 version: 3.4.0 '@portabletext/editor': - specifier: ^1.4.0 - version: 1.4.0(@sanity/block-tools@packages+@sanity+block-tools)(@sanity/schema@packages+@sanity+schema)(@sanity/types@packages+@sanity+types)(@sanity/util@packages+@sanity+util)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(rxjs@7.8.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) + specifier: ^1.4.1 + version: 1.4.1(@sanity/block-tools@packages+@sanity+block-tools)(@sanity/schema@packages+@sanity+schema)(@sanity/types@packages+@sanity+types)(@sanity/util@packages+@sanity+util)(@types/react@18.3.12)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(rxjs@7.8.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) '@portabletext/react': specifier: ^3.0.0 version: 3.1.0(react@18.3.1) @@ -4285,8 +4285,8 @@ packages: resolution: {integrity: sha512-c83qWb22rNRuB0UaVCI0uRPNRr8Z0FWnEIvT47jiHAmOIUHbBOg5XvV7pM5x+rKn9HRpjxquDbXYSXr3fAKFcw==} engines: {node: '>=12'} - '@portabletext/editor@1.4.0': - resolution: {integrity: sha512-NVUxIq0syPKBmCNSRTD7tLSWPiF4vCOSIyrwmfYzuhkDHzlemLurkLex4CDnBoZcnj9j+JHvjdCK0eCtjL7SMw==} + '@portabletext/editor@1.4.1': + resolution: {integrity: sha512-yFu2X++HR4nSIjAbhFr+TAa+p1LGa1HoUHeSQ58JpUflTdcBfLQ+6i/YTTVmsdu1DfhzHS9UgbtxZzw5BXYrIw==} engines: {node: '>=18'} peerDependencies: '@sanity/block-tools': ^3.62.3 @@ -5534,6 +5534,15 @@ packages: '@vvo/tzdb@6.137.0': resolution: {integrity: sha512-er8kaywRTjBTlaBgYynd3Fe/OPUfL3GuRMJOyWRlZ3V7EX4A6pryXTf42FL1ZXjOkDPz+/exAUe03kmb02MLOA==} + '@xstate/react@4.1.3': + resolution: {integrity: sha512-zhE+ZfrcCR87bu71Rkh5Z5ruZBivR/7uD/dkelzJqjQdI45IZc9DqTI8lL4Cg5+VN2p5k86KxDsusqW1kW11Tg==} + peerDependencies: + react: ^16.8.0 || ^17.0.0 || ^18.0.0 + xstate: ^5.18.2 + peerDependenciesMeta: + xstate: + optional: true + '@yarnpkg/lockfile@1.1.0': resolution: {integrity: sha512-GpSwvyXOcOOlV70vbnzjj4fW5xW/FdUF6nQEt1ENy7m4ZCczi1+/buVUPAqmGfqznsORNFzUMjctTIp8a9tuCQ==} @@ -10932,12 +10941,18 @@ packages: resolution: {integrity: sha512-3dOsAHXXUkQTpOYcoAxLIorMTp4gIQr5IW3iVb7A7lFIp0VHhnynm9izx6TssdrIcVIESAlVjtnO2K8bg+Coew==} engines: {node: '>=12'} - slate-react@0.110.3: - resolution: {integrity: sha512-AS8PPjwmsFS3Lq0MOEegLVlFoxhyos68G6zz2nW4sh3WeTXV7pX0exnwtY1a/docn+J3LGQO11aZXTenPXA/kg==} + slate-dom@0.111.0: + resolution: {integrity: sha512-VjeBh2xIRvP6ToEhrO1TPahc5fPezxbeSUhsRTppBPtHfidEdyp/MTI9TjUrZnlznJiVZ7QKrORXilFq8hsbtQ==} + peerDependencies: + slate: '>=0.99.0' + + slate-react@0.111.0: + resolution: {integrity: sha512-DiiVSYn+dilx0j40FjaaHiG2KbaX4lZfTdEnYvUJMnpc+d9evcuO2nV6KCDQOtS6xr4w0sBzQMxrpGlA5alKww==} peerDependencies: react: '>=18.2.0' react-dom: '>=18.2.0' slate: '>=0.99.0' + slate-dom: '>=0.110.2' slate@0.110.2: resolution: {integrity: sha512-4xGULnyMCiEQ0Ml7JAC1A6HVE6MNpPJU7Eq4cXh1LxlrR0dFXC3XC+rNfQtUJ7chHoPkws57x7DDiWiZAt+PBA==} @@ -14799,13 +14814,14 @@ snapshots: '@pnpm/network.ca-file': 1.0.2 config-chain: 1.1.13 - '@portabletext/editor@1.4.0(@sanity/block-tools@3.62.3)(@sanity/schema@packages+@sanity+schema)(@sanity/types@packages+@sanity+types)(@sanity/util@packages+@sanity+util)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(rxjs@7.8.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1))': + '@portabletext/editor@1.4.1(@sanity/block-tools@3.62.3)(@sanity/schema@packages+@sanity+schema)(@sanity/types@packages+@sanity+types)(@sanity/util@packages+@sanity+util)(@types/react@18.3.12)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(rxjs@7.8.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1))': dependencies: '@portabletext/patches': 1.1.0 '@sanity/block-tools': 3.62.3 '@sanity/schema': link:packages/@sanity/schema '@sanity/types': link:packages/@sanity/types '@sanity/util': link:packages/@sanity/util + '@xstate/react': 4.1.3(@types/react@18.3.12)(react@18.3.1)(xstate@5.18.2) debug: 4.3.7(supports-color@9.4.0) is-hotkey-esm: 1.0.0 lodash: 4.17.21 @@ -14813,21 +14829,24 @@ snapshots: react-compiler-runtime: 19.0.0-beta-6fc168f-20241025(react@18.3.1) rxjs: 7.8.1 slate: 0.110.2 - slate-react: 0.110.3(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(slate@0.110.2) + slate-dom: 0.111.0(slate@0.110.2) + slate-react: 0.111.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(slate-dom@0.111.0(slate@0.110.2))(slate@0.110.2) styled-components: 6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1) use-effect-event: 1.0.2(react@18.3.1) xstate: 5.18.2 transitivePeerDependencies: + - '@types/react' - react-dom - supports-color - '@portabletext/editor@1.4.0(@sanity/block-tools@packages+@sanity+block-tools)(@sanity/schema@packages+@sanity+schema)(@sanity/types@packages+@sanity+types)(@sanity/util@packages+@sanity+util)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(rxjs@7.8.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1))': + '@portabletext/editor@1.4.1(@sanity/block-tools@packages+@sanity+block-tools)(@sanity/schema@packages+@sanity+schema)(@sanity/types@packages+@sanity+types)(@sanity/util@packages+@sanity+util)(@types/react@18.3.12)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(rxjs@7.8.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1))': dependencies: '@portabletext/patches': 1.1.0 '@sanity/block-tools': link:packages/@sanity/block-tools '@sanity/schema': link:packages/@sanity/schema '@sanity/types': link:packages/@sanity/types '@sanity/util': link:packages/@sanity/util + '@xstate/react': 4.1.3(@types/react@18.3.12)(react@18.3.1)(xstate@5.18.2) debug: 4.3.7(supports-color@9.4.0) is-hotkey-esm: 1.0.0 lodash: 4.17.21 @@ -14835,11 +14854,13 @@ snapshots: react-compiler-runtime: 19.0.0-beta-6fc168f-20241025(react@18.3.1) rxjs: 7.8.1 slate: 0.110.2 - slate-react: 0.110.3(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(slate@0.110.2) + slate-dom: 0.111.0(slate@0.110.2) + slate-react: 0.111.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(slate-dom@0.111.0(slate@0.110.2))(slate@0.110.2) styled-components: 6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1) use-effect-event: 1.0.2(react@18.3.1) xstate: 5.18.2 transitivePeerDependencies: + - '@types/react' - react-dom - supports-color @@ -16898,6 +16919,16 @@ snapshots: '@vvo/tzdb@6.137.0': {} + '@xstate/react@4.1.3(@types/react@18.3.12)(react@18.3.1)(xstate@5.18.2)': + dependencies: + react: 18.3.1 + use-isomorphic-layout-effect: 1.1.2(@types/react@18.3.12)(react@18.3.1) + use-sync-external-store: 1.2.2(react@18.3.1) + optionalDependencies: + xstate: 5.18.2 + transitivePeerDependencies: + - '@types/react' + '@yarnpkg/lockfile@1.1.0': {} '@yarnpkg/parsers@3.0.0-rc.46': @@ -23544,7 +23575,18 @@ snapshots: slash@4.0.0: {} - slate-react@0.110.3(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(slate@0.110.2): + slate-dom@0.111.0(slate@0.110.2): + dependencies: + '@juggle/resize-observer': 3.4.0 + direction: 1.0.4 + is-hotkey: 0.2.0 + is-plain-object: 5.0.0 + lodash: 4.17.21 + scroll-into-view-if-needed: 3.1.0 + slate: 0.110.2 + tiny-invariant: 1.3.1 + + slate-react@0.111.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(slate-dom@0.111.0(slate@0.110.2))(slate@0.110.2): dependencies: '@juggle/resize-observer': 3.4.0 direction: 1.0.4 @@ -23555,6 +23597,7 @@ snapshots: react-dom: 18.3.1(react@18.3.1) scroll-into-view-if-needed: 3.1.0 slate: 0.110.2 + slate-dom: 0.111.0(slate@0.110.2) tiny-invariant: 1.3.1 slate@0.110.2: