diff --git a/apps/next-app-router/package.json b/apps/next-app-router/package.json index 482129ab..9d6cf767 100644 --- a/apps/next-app-router/package.json +++ b/apps/next-app-router/package.json @@ -18,7 +18,7 @@ "groq": "3.62.2", "groqd": "0.15.12", "next": "15.0.1", - "next-sanity": "9.8.6", + "next-sanity": "9.8.7", "react": "19.0.0-rc-fb9a90fa48-20240614", "react-dom": "19.0.0-rc-fb9a90fa48-20240614", "server-only": "^0.0.1", diff --git a/apps/next-pages-router/package.json b/apps/next-pages-router/package.json index c856c9a4..93340905 100644 --- a/apps/next-pages-router/package.json +++ b/apps/next-pages-router/package.json @@ -14,7 +14,7 @@ "dependencies": { "@sanity/client": "6.22.2", "@sanity/preview-kit": "workspace:*", - "@sanity/visual-editing": "2.4.1", + "@sanity/visual-editing": "2.4.2", "bulma": "0.9.4", "groq": "3.62.2", "groqd": "0.15.12", diff --git a/apps/remix/package.json b/apps/remix/package.json index 3a9c8e20..85ebfd93 100644 --- a/apps/remix/package.json +++ b/apps/remix/package.json @@ -14,7 +14,7 @@ "@remix-run/react": "2.13.1", "@sanity/client": "6.22.2", "@sanity/preview-kit": "workspace:*", - "@sanity/visual-editing": "2.4.1", + "@sanity/visual-editing": "2.4.2", "@vercel/remix": "2.13.1", "groq": "3.62.2", "groqd": "0.15.12", diff --git a/apps/studio/package.json b/apps/studio/package.json index b84a7334..29d9c392 100644 --- a/apps/studio/package.json +++ b/apps/studio/package.json @@ -10,7 +10,7 @@ "@faker-js/faker": "8.4.1", "@sanity/client": "6.22.2", "@sanity/icons": "3.4.0", - "@sanity/presentation": "1.17.6", + "@sanity/presentation": "1.17.7", "@sanity/preview-kit": "workspace:*", "@sanity/ui": "2.8.10", "@sanity/vision": "3.62.2", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 7adf621f..15b0c6cb 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -39,8 +39,8 @@ importers: specifier: 15.0.1 version: 15.0.1(react-dom@19.0.0-rc-fb9a90fa48-20240614(react@19.0.0-rc-fb9a90fa48-20240614))(react@19.0.0-rc-fb9a90fa48-20240614) next-sanity: - specifier: 9.8.6 - version: 9.8.6(662xfcamnj4flei32n5kbgeg5q) + specifier: 9.8.7 + version: 9.8.7(662xfcamnj4flei32n5kbgeg5q) react: specifier: 19.0.0-rc-fb9a90fa48-20240614 version: 19.0.0-rc-fb9a90fa48-20240614 @@ -82,8 +82,8 @@ importers: specifier: workspace:* version: link:../../packages/preview-kit '@sanity/visual-editing': - specifier: 2.4.1 - version: 2.4.1(@remix-run/react@2.13.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(typescript@5.6.3))(@sanity/client@6.22.2)(next@15.0.1(@babel/core@7.25.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + specifier: 2.4.2 + version: 2.4.2(@remix-run/react@2.13.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(typescript@5.6.3))(@sanity/client@6.22.2)(next@15.0.1(@babel/core@7.25.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1) bulma: specifier: 0.9.4 version: 0.9.4 @@ -140,8 +140,8 @@ importers: specifier: workspace:* version: link:../../packages/preview-kit '@sanity/visual-editing': - specifier: 2.4.1 - version: 2.4.1(@remix-run/react@2.13.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(typescript@5.6.3))(@sanity/client@6.22.2)(next@15.0.1(@babel/core@7.25.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + specifier: 2.4.2 + version: 2.4.2(@remix-run/react@2.13.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(typescript@5.6.3))(@sanity/client@6.22.2)(next@15.0.1(@babel/core@7.25.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@vercel/remix': specifier: 2.13.1 version: 2.13.1(@remix-run/dev@2.13.1(@remix-run/react@2.13.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(typescript@5.6.3))(@remix-run/serve@2.13.1(typescript@5.6.3))(@types/node@18.19.29)(terser@5.30.3)(typescript@5.6.3)(vite@5.2.8(@types/node@18.19.29)(terser@5.30.3)))(@remix-run/node@2.13.1(typescript@5.6.3))(@remix-run/server-runtime@2.13.1(typescript@5.6.3))(react-dom@18.3.1(react@18.3.1))(react@18.3.1) @@ -201,8 +201,8 @@ importers: specifier: 3.4.0 version: 3.4.0(react@18.3.1) '@sanity/presentation': - specifier: 1.17.6 - version: 1.17.6(@sanity/client@6.22.2)(@sanity/color@3.0.6)(react-dom@18.3.1(react@18.3.1))(react-is@18.3.1)(react@18.3.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) + specifier: 1.17.7 + version: 1.17.7(@sanity/client@6.22.2)(@sanity/color@3.0.6)(react-dom@18.3.1(react@18.3.1))(react-is@18.3.1)(react@18.3.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) '@sanity/preview-kit': specifier: workspace:* version: link:../../packages/preview-kit @@ -2634,6 +2634,10 @@ packages: resolution: {integrity: sha512-OwbT5C1j8wEVEvU78cYrC7l2l+cUH4UWHE4LF+FjniiQqeO+Udt6qK8akDRzsULmt3V2ebPOg+CYgRZh8Fkhdg==} engines: {node: '>=18'} + '@sanity/comlink@1.1.0': + resolution: {integrity: sha512-gPls+ARS+ZfEy7E1dgtEipr73TasSP+yAGZLcuxoV2VTg5sJ5LCq/SA53feiDRBd4O5/htYhObNnSM5IaVNhrA==} + engines: {node: '>=18'} + '@sanity/comlink@1.1.1': resolution: {integrity: sha512-hmjL8X9/muInbO4Fko6rn9WOZhZWMPKz5n3FHttb/KurKaHbkhcon/jIkZ8DowxW75wkUDp8m/nkBZznJ58HIA==} engines: {node: '>=18'} @@ -2731,8 +2735,8 @@ packages: '@sanity/mutator@3.62.2': resolution: {integrity: sha512-K3sSmIWt06qe3EjexJLus2AxXaJD+RXEoTGEHQM+4u72+AD20kZvuMybFKFpHMUI0B+HLeppTUb/Z21Sniv4xQ==} - '@sanity/next-loader@1.0.7': - resolution: {integrity: sha512-FoBBzz6MtdtXjNDi/BAZDG7kV5pXEFx0Q3uHdzir+2JvpcoPKI+QR9Q9Q5ajGHscPgl7M+IF1mhyeguLydLWOg==} + '@sanity/next-loader@1.1.0': + resolution: {integrity: sha512-3Mx0shumgM+oS0o4xmEk7JEv72rskefkhDHQtwhpvsklWVDPy95fNKMo5PC/ndSGQ5SctlZGpPPvnDOm511P0A==} engines: {node: '>=18.18'} peerDependencies: '@sanity/client': ^6.22.2 @@ -2752,8 +2756,8 @@ packages: peerDependencies: '@sanity/client': ^6.22.2 - '@sanity/presentation@1.17.6': - resolution: {integrity: sha512-cEp9S5qG+gzC9YMn762iKeh1CqeIPyEXpJMVUNmc22Pl4hv4zXeAa+Rs68aPdn1Zk6Ughy++EAuIQcXDLrY2SQ==} + '@sanity/presentation@1.17.7': + resolution: {integrity: sha512-6+pKjiKt0dvL6EvFjQMHIrJropjmT7oZhTFN0vjRqNMMVbTAGNRosvPEAl5PZ9Fc9t0JgARsH9DizbudwSLrlA==} engines: {node: '>=16.14'} peerDependencies: '@sanity/client': ^6.22.2 @@ -2763,13 +2767,6 @@ packages: peerDependencies: prettier: ^3.2.5 - '@sanity/preview-kit-compat@1.5.12': - resolution: {integrity: sha512-v5huNQh0PQVuj++0cW9ZWcF9uzUof8TAuqKSBzPq6wXqBJMCAlxqDsHDH6XtBhwAJTwliLywux1L4bG36t3rbw==} - engines: {node: '>=18'} - peerDependencies: - '@sanity/client': ^6.22.2 - react: ^18.3 || >=19.0.0-rc - '@sanity/preview-kit-compat@1.5.14': resolution: {integrity: sha512-6Fzi/Srp5fgW9C1/ifbATIm0o8kOX2irPoftcrvNy5UP1J6kXdePFwpXoo+wCjyOFMPTzPzykWuoaymnXp2dKA==} engines: {node: '>=18'} @@ -2777,8 +2774,8 @@ packages: '@sanity/client': ^6.22.2 react: ^18.3 || >=19.0.0-rc - '@sanity/preview-kit@5.1.9': - resolution: {integrity: sha512-1nlbYg/+4QcvZ8H8Z4GQmbx8BzoNi7csW3eKMp9ab7CtN/WnOd5xHknWTRegDwpHQJGKc4lssFRHONVnq86AVg==} + '@sanity/preview-kit@5.1.10': + resolution: {integrity: sha512-tFl9K5LnCo9RWBR7nz2vac6wacOg4jckMUcm32gDa486hN65I0jTWT6sWvwhtAYL/ny82sHsLKjHfx7ct4qxHw==} engines: {node: '>=18'} peerDependencies: '@sanity/client': ^6.22.2 @@ -2844,8 +2841,8 @@ packages: react: ^18 styled-components: ^6.1 - '@sanity/visual-editing@2.3.2': - resolution: {integrity: sha512-oj5xyhGT2kjNOsGEQJ2G9CoptEwAFKvRMdoBKsTJGpsRCp71eReLC84JYzD6uIwzxZAodiF0G5HpozltbF/j+Q==} + '@sanity/visual-editing@2.4.0': + resolution: {integrity: sha512-UtM5n6NrwEJpj2UaUFoD+aDVp78rspg2MaRM/P1DkPTACGLbJTMedR+aN5U6gv+7JSXhNSU8P/wEkh8sC2b3Vg==} engines: {node: '>=18'} peerDependencies: '@remix-run/react': '>= 2' @@ -2867,8 +2864,8 @@ packages: svelte: optional: true - '@sanity/visual-editing@2.4.1': - resolution: {integrity: sha512-qJp6yoiMKANwcAQ7HYpuElhPHn1OofLzSRuD6BPYbpdQsnuPtQMm4W/hByQzqdy/1T5X91Hmll4+/pkxmsEtnA==} + '@sanity/visual-editing@2.4.2': + resolution: {integrity: sha512-HyvDmc33U27jMm/b7AUxShtdbJaXtE2FzSh3DAC4bbWq59iGoSbHTHRWq7xIZpWVH76xgkLh+RgVsyr8lI/+8g==} engines: {node: '>=18'} peerDependencies: '@remix-run/react': '>= 2' @@ -6326,8 +6323,8 @@ packages: nerf-dart@1.0.0: resolution: {integrity: sha512-EZSPZB70jiVsivaBLYDCyntd5eH8NTSMOn3rB+HxwdmKThGELLdYv8qVIMWvZEFy9w8ZZpW9h9OB32l1rGtj7g==} - next-sanity@9.8.6: - resolution: {integrity: sha512-82yUjXXUm4eJDO3w3bB/oETZVSrvT/6TyapNrVubw3jC0Ur8HE6xYBobDMzHOl215drgfTqZgdH8dRA/7LdXJA==} + next-sanity@9.8.7: + resolution: {integrity: sha512-1uiBd6Fr8gpJ2/zT+PspalyxbX5XVfgm3VDNRIOW3reVK/30QtwUWhk8NsRPa4NIfdVPyIaMfNJNTo9cFebcAg==} engines: {node: '>=18.18'} peerDependencies: '@sanity/client': ^6.22.2 @@ -11026,6 +11023,12 @@ snapshots: uuid: 10.0.0 xstate: 5.18.2 + '@sanity/comlink@1.1.0': + dependencies: + rxjs: 7.8.1 + uuid: 10.0.0 + xstate: 5.18.2 + '@sanity/comlink@1.1.1': dependencies: rxjs: 7.8.1 @@ -11231,10 +11234,10 @@ snapshots: transitivePeerDependencies: - supports-color - '@sanity/next-loader@1.0.7(@sanity/client@6.22.2)(next@15.0.1(react-dom@19.0.0-rc-fb9a90fa48-20240614(react@19.0.0-rc-fb9a90fa48-20240614))(react@19.0.0-rc-fb9a90fa48-20240614))(react@19.0.0-rc-fb9a90fa48-20240614)': + '@sanity/next-loader@1.1.0(@sanity/client@6.22.2)(next@15.0.1(react-dom@19.0.0-rc-fb9a90fa48-20240614(react@19.0.0-rc-fb9a90fa48-20240614))(react@19.0.0-rc-fb9a90fa48-20240614))(react@19.0.0-rc-fb9a90fa48-20240614)': dependencies: '@sanity/client': 6.22.2(debug@4.3.6) - '@sanity/comlink': 1.0.0 + '@sanity/comlink': 1.1.1 next: 15.0.1(react-dom@19.0.0-rc-fb9a90fa48-20240614(react@19.0.0-rc-fb9a90fa48-20240614))(react@19.0.0-rc-fb9a90fa48-20240614) react: 19.0.0-rc-fb9a90fa48-20240614 use-effect-event: 1.0.2(react@19.0.0-rc-fb9a90fa48-20240614) @@ -11344,7 +11347,7 @@ snapshots: - react-is - styled-components - '@sanity/presentation@1.17.6(@sanity/client@6.22.2)(@sanity/color@3.0.6)(react-dom@18.3.1(react@18.3.1))(react-is@18.3.1)(react@18.3.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1))': + '@sanity/presentation@1.17.7(@sanity/client@6.22.2)(@sanity/color@3.0.6)(react-dom@18.3.1(react@18.3.1))(react-is@18.3.1)(react@18.3.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1))': dependencies: '@sanity/client': 6.22.2(debug@4.3.6) '@sanity/comlink': 1.1.1 @@ -11376,22 +11379,22 @@ snapshots: prettier: 3.3.3 prettier-plugin-packagejson: 2.5.3(prettier@3.3.3) - '@sanity/preview-kit-compat@1.5.12(@sanity/client@6.22.2)(react@19.0.0-rc-fb9a90fa48-20240614)': + '@sanity/preview-kit-compat@1.5.14(@sanity/client@6.22.2)(react@18.3.1)': dependencies: '@sanity/client': 6.22.2(debug@4.3.6) - '@sanity/comlink': 1.0.0 - react: 19.0.0-rc-fb9a90fa48-20240614 + '@sanity/comlink': 1.1.1 + react: 18.3.1 - '@sanity/preview-kit-compat@1.5.14(@sanity/client@6.22.2)(react@18.3.1)': + '@sanity/preview-kit-compat@1.5.14(@sanity/client@6.22.2)(react@19.0.0-rc-fb9a90fa48-20240614)': dependencies: '@sanity/client': 6.22.2(debug@4.3.6) '@sanity/comlink': 1.1.1 - react: 18.3.1 + react: 19.0.0-rc-fb9a90fa48-20240614 - '@sanity/preview-kit@5.1.9(@sanity/client@6.22.2)(react@19.0.0-rc-fb9a90fa48-20240614)': + '@sanity/preview-kit@5.1.10(@sanity/client@6.22.2)(react@19.0.0-rc-fb9a90fa48-20240614)': dependencies: '@sanity/client': 6.22.2(debug@4.3.6) - '@sanity/preview-kit-compat': 1.5.12(@sanity/client@6.22.2)(react@19.0.0-rc-fb9a90fa48-20240614) + '@sanity/preview-kit-compat': 1.5.14(@sanity/client@6.22.2)(react@19.0.0-rc-fb9a90fa48-20240614) mendoza: 3.0.7 optionalDependencies: react: 19.0.0-rc-fb9a90fa48-20240614 @@ -11539,9 +11542,9 @@ snapshots: - react-dom - react-is - '@sanity/visual-editing@2.3.2(@remix-run/react@2.13.1(react-dom@19.0.0-rc-fb9a90fa48-20240614(react@19.0.0-rc-fb9a90fa48-20240614))(react@19.0.0-rc-fb9a90fa48-20240614)(typescript@5.6.3))(@sanity/client@6.22.2)(next@15.0.1(react-dom@19.0.0-rc-fb9a90fa48-20240614(react@19.0.0-rc-fb9a90fa48-20240614))(react@19.0.0-rc-fb9a90fa48-20240614))(react-dom@19.0.0-rc-fb9a90fa48-20240614(react@19.0.0-rc-fb9a90fa48-20240614))(react@19.0.0-rc-fb9a90fa48-20240614)': + '@sanity/visual-editing@2.4.0(@remix-run/react@2.13.1(react-dom@19.0.0-rc-fb9a90fa48-20240614(react@19.0.0-rc-fb9a90fa48-20240614))(react@19.0.0-rc-fb9a90fa48-20240614)(typescript@5.6.3))(@sanity/client@6.22.2)(next@15.0.1(react-dom@19.0.0-rc-fb9a90fa48-20240614(react@19.0.0-rc-fb9a90fa48-20240614))(react@19.0.0-rc-fb9a90fa48-20240614))(react-dom@19.0.0-rc-fb9a90fa48-20240614(react@19.0.0-rc-fb9a90fa48-20240614))(react@19.0.0-rc-fb9a90fa48-20240614)': dependencies: - '@sanity/comlink': 1.0.0 + '@sanity/comlink': 1.1.0 '@sanity/mutate': 0.10.1-canary.5(xstate@5.18.2) '@sanity/preview-url-secret': 2.0.0(@sanity/client@6.22.2) '@vercel/stega': 0.1.2 @@ -11559,12 +11562,13 @@ snapshots: transitivePeerDependencies: - debug - '@sanity/visual-editing@2.4.1(@remix-run/react@2.13.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(typescript@5.6.3))(@sanity/client@6.22.2)(next@15.0.1(@babel/core@7.25.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@sanity/visual-editing@2.4.2(@remix-run/react@2.13.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(typescript@5.6.3))(@sanity/client@6.22.2)(next@15.0.1(@babel/core@7.25.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: '@sanity/comlink': 1.1.1 '@sanity/mutate': 0.10.1-canary.5(xstate@5.18.2) '@sanity/preview-url-secret': 2.0.0(@sanity/client@6.22.2) '@vercel/stega': 0.1.2 + get-random-values-esm: 1.0.2 react: 18.3.1 react-dom: 18.3.1(react@18.3.1) rxjs: 7.8.1 @@ -15880,17 +15884,17 @@ snapshots: nerf-dart@1.0.0: {} - next-sanity@9.8.6(662xfcamnj4flei32n5kbgeg5q): + next-sanity@9.8.7(662xfcamnj4flei32n5kbgeg5q): dependencies: '@portabletext/react': 3.1.0(react@19.0.0-rc-fb9a90fa48-20240614) '@sanity/client': 6.22.2(debug@4.3.6) '@sanity/icons': 3.4.0(react@19.0.0-rc-fb9a90fa48-20240614) - '@sanity/next-loader': 1.0.7(@sanity/client@6.22.2)(next@15.0.1(react-dom@19.0.0-rc-fb9a90fa48-20240614(react@19.0.0-rc-fb9a90fa48-20240614))(react@19.0.0-rc-fb9a90fa48-20240614))(react@19.0.0-rc-fb9a90fa48-20240614) - '@sanity/preview-kit': 5.1.9(@sanity/client@6.22.2)(react@19.0.0-rc-fb9a90fa48-20240614) + '@sanity/next-loader': 1.1.0(@sanity/client@6.22.2)(next@15.0.1(react-dom@19.0.0-rc-fb9a90fa48-20240614(react@19.0.0-rc-fb9a90fa48-20240614))(react@19.0.0-rc-fb9a90fa48-20240614))(react@19.0.0-rc-fb9a90fa48-20240614) + '@sanity/preview-kit': 5.1.10(@sanity/client@6.22.2)(react@19.0.0-rc-fb9a90fa48-20240614) '@sanity/preview-url-secret': 2.0.0(@sanity/client@6.22.2) '@sanity/types': 3.62.2(debug@4.3.6) '@sanity/ui': 2.8.10(react-dom@19.0.0-rc-fb9a90fa48-20240614(react@19.0.0-rc-fb9a90fa48-20240614))(react-is@18.3.1)(react@19.0.0-rc-fb9a90fa48-20240614)(styled-components@6.1.13(react-dom@19.0.0-rc-fb9a90fa48-20240614(react@19.0.0-rc-fb9a90fa48-20240614))(react@19.0.0-rc-fb9a90fa48-20240614)) - '@sanity/visual-editing': 2.3.2(@remix-run/react@2.13.1(react-dom@19.0.0-rc-fb9a90fa48-20240614(react@19.0.0-rc-fb9a90fa48-20240614))(react@19.0.0-rc-fb9a90fa48-20240614)(typescript@5.6.3))(@sanity/client@6.22.2)(next@15.0.1(react-dom@19.0.0-rc-fb9a90fa48-20240614(react@19.0.0-rc-fb9a90fa48-20240614))(react@19.0.0-rc-fb9a90fa48-20240614))(react-dom@19.0.0-rc-fb9a90fa48-20240614(react@19.0.0-rc-fb9a90fa48-20240614))(react@19.0.0-rc-fb9a90fa48-20240614) + '@sanity/visual-editing': 2.4.0(@remix-run/react@2.13.1(react-dom@19.0.0-rc-fb9a90fa48-20240614(react@19.0.0-rc-fb9a90fa48-20240614))(react@19.0.0-rc-fb9a90fa48-20240614)(typescript@5.6.3))(@sanity/client@6.22.2)(next@15.0.1(react-dom@19.0.0-rc-fb9a90fa48-20240614(react@19.0.0-rc-fb9a90fa48-20240614))(react@19.0.0-rc-fb9a90fa48-20240614))(react-dom@19.0.0-rc-fb9a90fa48-20240614(react@19.0.0-rc-fb9a90fa48-20240614))(react@19.0.0-rc-fb9a90fa48-20240614) groq: 3.62.2 history: 5.3.0 next: 15.0.1(react-dom@19.0.0-rc-fb9a90fa48-20240614(react@19.0.0-rc-fb9a90fa48-20240614))(react@19.0.0-rc-fb9a90fa48-20240614)