diff --git a/package-lock.json b/package-lock.json index 0c88f3f44..d6661d82a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -18,7 +18,7 @@ "negotiator": "^0.6.3", "next": "^14.2.15", "next-intl": "^3.24.0", - "next-sanity": "^7.1.4", + "next-sanity": "^9.8.27", "next-sanity-image": "^6.1.1", "react": "^18.3.1", "react-dom": "^18.3.1", @@ -3346,26 +3346,24 @@ } }, "node_modules/@portabletext/react": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/@portabletext/react/-/react-3.1.0.tgz", - "integrity": "sha512-ZGHlvS+NvId9RSqnflN8xF2KVZgAgD399dK1GaycurnGNZGZYTd5nZmc8by1yL76Ar8n/dbVtouUDJIkO4Tupw==", - "license": "MIT", + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/@portabletext/react/-/react-3.2.0.tgz", + "integrity": "sha512-BA216Z8yhb/eP24bfb09uiT0SVnQHTVZMPXf4MRBEZ+G8cMzZM/ab3tcp8owyp91+3kTKR0qSIpzYSKdm1Pakw==", "dependencies": { - "@portabletext/toolkit": "^2.0.15", + "@portabletext/toolkit": "^2.0.16", "@portabletext/types": "^2.0.13" }, "engines": { "node": "^14.13.1 || >=16.0.0" }, "peerDependencies": { - "react": "^17 || ^18 || >=19.0.0-rc" + "react": "^17 || ^18 || >=19.0.0-0" } }, "node_modules/@portabletext/toolkit": { - "version": "2.0.15", - "resolved": "https://registry.npmjs.org/@portabletext/toolkit/-/toolkit-2.0.15.tgz", - "integrity": "sha512-KRNEUAd6eOxE9y591qC0sE24ZG2q27OHXe0dsPclj4IoEzf8aEuDcHR64wfFtB0aHq9Wdx3pIinmhZZcl35/vg==", - "license": "MIT", + "version": "2.0.16", + "resolved": "https://registry.npmjs.org/@portabletext/toolkit/-/toolkit-2.0.16.tgz", + "integrity": "sha512-aBvnD8MscoAlEIuZBn0Aksd+oCuoMGFOT3CtHIgRBaac0Vu4YnnMUF45xo/B/T5vmwWcnDXoJEJdn+SKDg1m+A==", "dependencies": { "@portabletext/types": "^2.0.13" }, @@ -3377,7 +3375,6 @@ "version": "2.0.13", "resolved": "https://registry.npmjs.org/@portabletext/types/-/types-2.0.13.tgz", "integrity": "sha512-5xk5MSyQU9CrDho3Rsguj38jhijhD36Mk8S6mZo3huv6PM+t4M/5kJN2KFIxgvt4ONpvOEs1pVIZAV0cL0Vi+Q==", - "license": "MIT", "engines": { "node": "^14.13.1 || >=16.0.0 || >=18.0.0" } @@ -3590,9 +3587,9 @@ } }, "node_modules/@sanity/client": { - "version": "6.23.0", - "resolved": "https://registry.npmjs.org/@sanity/client/-/client-6.23.0.tgz", - "integrity": "sha512-83dwqW0HZxKSFaII2lAhuPzNbZVWv+HIUiWQhef4gytisqPo1WXt3s5B63nu3U9Y2TO1gHf96gIWGSBrmWV0sw==", + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/@sanity/client/-/client-6.24.1.tgz", + "integrity": "sha512-k5aW5C8RdqVGnvuX0KZ+AAIlhYueb6sx3edhKkIMmr2UfD8vSTSW3oAXVt+/WlBstlMIqvkc5RCLLWZQcF3gaA==", "dependencies": { "@sanity/eventsource": "^5.0.2", "get-it": "^8.6.5", @@ -4115,14 +4112,6 @@ "node": ">=18" } }, - "node_modules/@sanity/mutate/node_modules/mendoza": { - "version": "3.0.7", - "resolved": "https://registry.npmjs.org/mendoza/-/mendoza-3.0.7.tgz", - "integrity": "sha512-KtLgsCl5dFjRPUVSVV9KxpUr2BfZgLv8uqxg/hCsI7JIWsesHABSbl0MQwxNHAg24KtzSQ6vrPsgeNnoq4UImg==", - "engines": { - "node": ">=14.18" - } - }, "node_modules/@sanity/mutate/node_modules/nanoid": { "version": "5.0.9", "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-5.0.9.tgz", @@ -4152,6 +4141,48 @@ "lodash": "^4.17.21" } }, + "node_modules/@sanity/next-loader": { + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/@sanity/next-loader/-/next-loader-1.2.5.tgz", + "integrity": "sha512-9Ldq+iRfRINSGgL0SvqAEpG1EQKQ/4MqJGiixLSL/tsRr0uv278jsU8aNkDK3EJfa2bfF3m+l+nPnV+vza8hGA==", + "dependencies": { + "@sanity/client": "^6.24.1", + "@sanity/comlink": "2.0.1", + "use-effect-event": "^1.0.2" + }, + "engines": { + "node": ">=18.18" + }, + "peerDependencies": { + "next": "^14.1 || ^15.0.0-0", + "react": "^18.3 || ^19.0.0-0" + } + }, + "node_modules/@sanity/next-loader/node_modules/@sanity/comlink": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/@sanity/comlink/-/comlink-2.0.1.tgz", + "integrity": "sha512-Sdl0qCHwtKxEZ7Xa2xjKYslosmPteWB3p81u84X8PdTocVqp036S6r3vgQJPHlcEiEaJgMjpEJkjUaR8Jx5BcA==", + "dependencies": { + "rxjs": "^7.8.1", + "uuid": "^10.0.0", + "xstate": "^5.19.0" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/@sanity/next-loader/node_modules/uuid": { + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-10.0.0.tgz", + "integrity": "sha512-8XkAphELsDnEGrDxUOHB3RGvXz6TeuYSGEZBOjtTtPm2lwhGBjLgOzLHB63IUWfBpNucQjND6d3AOudO+H3RWQ==", + "funding": [ + "https://github.com/sponsors/broofa", + "https://github.com/sponsors/ctavan" + ], + "bin": { + "uuid": "dist/bin/uuid" + } + }, "node_modules/@sanity/presentation": { "version": "1.19.1", "resolved": "https://registry.npmjs.org/@sanity/presentation/-/presentation-1.19.1.tgz", @@ -4222,24 +4253,19 @@ "integrity": "sha512-Yhpw4T9C6hPpgPeA28us07OJeqZ5EzQTkbfwuhsUg0c237RomFoETJgmp2sa3F/41gfLE6G5cqcYwznmeEeOlQ==" }, "node_modules/@sanity/preview-kit": { - "version": "5.0.20", - "resolved": "https://registry.npmjs.org/@sanity/preview-kit/-/preview-kit-5.0.20.tgz", - "integrity": "sha512-UYNDCyLPMZ5QfPi3oBryPV6rJXvgocZ8ilH8rJsuR3hgRrVrSdV2bnYSrMRVdIQtd32PeFPnJqxtYNu6aXc4HA==", - "license": "MIT", + "version": "5.1.23", + "resolved": "https://registry.npmjs.org/@sanity/preview-kit/-/preview-kit-5.1.23.tgz", + "integrity": "sha512-3qgf6kEB0a2iOrRFnkoIZxpYWwTkRKWM6lMn7+PiIixUMaF5cJqn7knrk2m4iULb8S+MqdSdBn7Mfx1YZ7Y4SA==", "dependencies": { - "@sanity/preview-kit-compat": "1.4.4", - "@vercel/stega": "0.1.0", - "lru-cache": "10.2.0", - "mendoza": "3.0.4", - "react-fast-compare": "3.2.2", - "use-sync-external-store": "1.2.0" + "@sanity/preview-kit-compat": "1.5.25", + "mendoza": "3.0.8" }, "engines": { "node": ">=18" }, "peerDependencies": { - "@sanity/client": "^6.12.4", - "react": "^18.0.0" + "@sanity/client": "^6.24.1", + "react": "^18.0.0 || >=19.0.0-rc" }, "peerDependenciesMeta": { "react": { @@ -4248,25 +4274,43 @@ } }, "node_modules/@sanity/preview-kit-compat": { - "version": "1.4.4", - "resolved": "https://registry.npmjs.org/@sanity/preview-kit-compat/-/preview-kit-compat-1.4.4.tgz", - "integrity": "sha512-CYO/qFIc2fqV8cpAIYay43SfPIs/SFzT8ke+XgXYlzwXmShdDnKXNttfLDUWvxk6+nJiPRgzRN9kokC8ineP2g==", - "license": "MIT", + "version": "1.5.25", + "resolved": "https://registry.npmjs.org/@sanity/preview-kit-compat/-/preview-kit-compat-1.5.25.tgz", + "integrity": "sha512-ghOAnT1TPidgbr36oVOaHgfEUq7vQhYgWdhW+IOSplQAzqGyzaWiE0CvWOfdSAm3RjMBwPdc+JDQLtSQq+X2jg==", + "dependencies": { + "@sanity/comlink": "2.0.1" + }, "engines": { "node": ">=18" }, "peerDependencies": { - "@sanity/client": "^6.12.3", - "react": "^18.2.0" + "@sanity/client": "^6.24.1", + "react": "^18.3 || >=19.0.0-rc" } }, - "node_modules/@sanity/preview-kit/node_modules/lru-cache": { - "version": "10.2.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.2.0.tgz", - "integrity": "sha512-2bIM8x+VAf6JT4bKAljS1qUWgMsqZRPGJS6FSahIMPVvctcNhyVp7AJu7quxOW9jwkryBReKZY5tY5JYv2n/7Q==", - "license": "ISC", + "node_modules/@sanity/preview-kit-compat/node_modules/@sanity/comlink": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/@sanity/comlink/-/comlink-2.0.1.tgz", + "integrity": "sha512-Sdl0qCHwtKxEZ7Xa2xjKYslosmPteWB3p81u84X8PdTocVqp036S6r3vgQJPHlcEiEaJgMjpEJkjUaR8Jx5BcA==", + "dependencies": { + "rxjs": "^7.8.1", + "uuid": "^10.0.0", + "xstate": "^5.19.0" + }, "engines": { - "node": "14 || >=16.14" + "node": ">=18" + } + }, + "node_modules/@sanity/preview-kit-compat/node_modules/uuid": { + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-10.0.0.tgz", + "integrity": "sha512-8XkAphELsDnEGrDxUOHB3RGvXz6TeuYSGEZBOjtTtPm2lwhGBjLgOzLHB63IUWfBpNucQjND6d3AOudO+H3RWQ==", + "funding": [ + "https://github.com/sponsors/broofa", + "https://github.com/sponsors/ctavan" + ], + "bin": { + "uuid": "dist/bin/uuid" } }, "node_modules/@sanity/preview-url-secret": { @@ -4451,49 +4495,6 @@ "react": "^18.3 || >=19.0.0-rc" } }, - "node_modules/@sanity/visual-editing": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/@sanity/visual-editing/-/visual-editing-1.2.2.tgz", - "integrity": "sha512-iR1stYfPPhBJLjwKY3MBgr0DcRADgnRaTJvZ3nUJ2puGVniPoSxJ9Zj4PkspferU8997RKKtupN9m9spFYskXg==", - "license": "MIT", - "dependencies": { - "@vercel/stega": "0.1.0", - "react": "^18.2.0", - "react-dom": "^18.2.0", - "react-is": "18.2.0", - "scroll-into-view-if-needed": "^3.1.0" - }, - "engines": { - "node": ">=18" - }, - "peerDependencies": { - "@remix-run/react": ">= 2", - "next": ">= 13" - }, - "peerDependenciesMeta": { - "@remix-run/react": { - "optional": true - }, - "next": { - "optional": true - } - } - }, - "node_modules/@sanity/visual-editing/node_modules/react-is": { - "version": "18.2.0", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-18.2.0.tgz", - "integrity": "sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w==", - "license": "MIT" - }, - "node_modules/@sanity/webhook": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@sanity/webhook/-/webhook-4.0.0.tgz", - "integrity": "sha512-IRjtj17tHSmxHWZvgRnLZbWj8J8G4jqOWOYC25eV4EcfVn1yZCs0x+km6+PSiJgOphSX6Nm1+X6UJOT+GnWIFw==", - "license": "MIT", - "engines": { - "node": ">=18.0.0" - } - }, "node_modules/@sentry-internal/browser-utils": { "version": "8.26.0", "resolved": "https://registry.npmjs.org/@sentry-internal/browser-utils/-/browser-utils-8.26.0.tgz", @@ -5301,10 +5302,9 @@ "license": "ISC" }, "node_modules/@vercel/stega": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/@vercel/stega/-/stega-0.1.0.tgz", - "integrity": "sha512-5b0PkOJsFBX5alChuIO3qpkt5vIZBevzLPhUQ1UP8UzVjL3F1VllnZxp/thfD8R5ol7D7WHkgZHIjdUBX4tDpQ==", - "license": "MPL-2.0" + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/@vercel/stega/-/stega-0.1.2.tgz", + "integrity": "sha512-P7mafQXjkrsoyTRppnt0N21udKS9wUmLXHRyP9saLXLHw32j/FgUJ3FscSWgvSqRs4cj7wKZtwqJEvWJ2jbGmA==" }, "node_modules/@vitejs/plugin-react": { "version": "4.3.4", @@ -11033,10 +11033,9 @@ } }, "node_modules/mendoza": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/mendoza/-/mendoza-3.0.4.tgz", - "integrity": "sha512-kGlLhn1HF57oUK9DzJpqiqxHS9KJ0JcFRtNKBM8l970nepx3/GKs1uAIlBfq5mjmndk7IGa4vQ2ofcqMKMPTiA==", - "license": "MIT", + "version": "3.0.8", + "resolved": "https://registry.npmjs.org/mendoza/-/mendoza-3.0.8.tgz", + "integrity": "sha512-iwxgEpSOx9BDLJMD0JAzNicqo9xdrvzt6w/aVwBKMndlA6z/DH41+o60H2uHB0vCR1Xr37UOgu9xFWJHvYsuKw==", "engines": { "node": ">=14.18" } @@ -11445,28 +11444,32 @@ } }, "node_modules/next-sanity": { - "version": "7.1.4", - "resolved": "https://registry.npmjs.org/next-sanity/-/next-sanity-7.1.4.tgz", - "integrity": "sha512-bq/VkejvPgV95mi5fxR01rALG1QURe0nO2g3HyUuiZRyTd0teFgYvCVf1b5PBndKhD15Cd3UK/WwcLKRxxEr3A==", + "version": "9.8.27", + "resolved": "https://registry.npmjs.org/next-sanity/-/next-sanity-9.8.27.tgz", + "integrity": "sha512-jo/7725A4GVb2EcOu6Gpcn+FwC/Ohr3O1AaPB2q3KHrZCYts1yVuHgcPB/P26tF8I7BKXtdQXQ7Af/kJgLeW/Q==", "dependencies": { - "@sanity/client": "^6.12.4", - "@sanity/preview-kit": "5.0.20", - "@sanity/visual-editing": "1.2.2", - "@sanity/webhook": "4.0.0", - "groq": "^3.19" + "@portabletext/react": "^3.2.0", + "@sanity/client": "^6.24.1", + "@sanity/next-loader": "1.2.5", + "@sanity/preview-kit": "5.1.23", + "@sanity/preview-url-secret": "2.0.5", + "@sanity/visual-editing": "2.10.6", + "groq": "^3.66.1", + "history": "^5.3.0" }, "engines": { - "node": ">=18.17" + "node": ">=18.18" }, "peerDependencies": { - "@sanity/client": "^6.12.4", - "@sanity/icons": "^2.8", - "@sanity/types": "^3.25", - "@sanity/ui": "^1.8 || ^2.0.0-beta || ^2.0", - "next": "^14.1", - "react": "^18.2", - "sanity": "^3.25", - "styled-components": "^5.2 || ^6.0" + "@sanity/client": "^6.24.1", + "@sanity/icons": "^3.4.0", + "@sanity/types": "^3.62.0", + "@sanity/ui": "^2.8.10", + "next": "^14.2 || ^15.0.0-0", + "react": "^18.3 || ^19.0.0-0", + "react-dom": "^18.3 || ^19.0.0-0", + "sanity": "^3.62.0", + "styled-components": "^6.1" } }, "node_modules/next-sanity-image": { @@ -11483,6 +11486,136 @@ "react": "^18.0.0" } }, + "node_modules/next-sanity/node_modules/@sanity/comlink": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/@sanity/comlink/-/comlink-2.0.1.tgz", + "integrity": "sha512-Sdl0qCHwtKxEZ7Xa2xjKYslosmPteWB3p81u84X8PdTocVqp036S6r3vgQJPHlcEiEaJgMjpEJkjUaR8Jx5BcA==", + "dependencies": { + "rxjs": "^7.8.1", + "uuid": "^10.0.0", + "xstate": "^5.19.0" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/next-sanity/node_modules/@sanity/mutate": { + "version": "0.11.0-canary.3", + "resolved": "https://registry.npmjs.org/@sanity/mutate/-/mutate-0.11.0-canary.3.tgz", + "integrity": "sha512-zZQo3rsjsTZBlRi+D3S90MebvzWNtdRzb6A0s07gEO2PtCtc5LEUSyPCLvIZiv6e2YMjBmMmuref4IB8VixKnw==", + "dependencies": { + "@sanity/client": "^6.22.4", + "@sanity/diff-match-patch": "^3.1.1", + "hotscript": "^1.0.13", + "lodash": "^4.17.21", + "mendoza": "^3.0.7", + "rxjs": "^7.8.1" + }, + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "xstate": "^5.19.0" + }, + "peerDependenciesMeta": { + "xstate": { + "optional": true + } + } + }, + "node_modules/next-sanity/node_modules/@sanity/preview-url-secret": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@sanity/preview-url-secret/-/preview-url-secret-2.0.5.tgz", + "integrity": "sha512-YWExuJ/Z0CW37vYdiouE9A/NAN3QEewZL6qu6IohXqVY6wDDT0b9ubetTR4Op1kzmK6WbPGj79aiHrPubrM70A==", + "dependencies": { + "@sanity/uuid": "3.0.2" + }, + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "@sanity/client": "^6.23.0" + } + }, + "node_modules/next-sanity/node_modules/@sanity/visual-editing": { + "version": "2.10.6", + "resolved": "https://registry.npmjs.org/@sanity/visual-editing/-/visual-editing-2.10.6.tgz", + "integrity": "sha512-+edG4S6o4s7VOJJMSLDHea1X7tds566bfgG5aHEdLqkV9RFd8Bkri5IoWtffKXfPQa9GfoozqsYQzVNPhaEPGw==", + "dependencies": { + "@sanity/comlink": "2.0.1", + "@sanity/mutate": "0.11.0-canary.3", + "@sanity/preview-url-secret": "2.0.5", + "@vercel/stega": "0.1.2", + "get-random-values-esm": "^1.0.2", + "react-compiler-runtime": "19.0.0-beta-37ed2a7-20241206", + "rxjs": "^7.8.1", + "scroll-into-view-if-needed": "^3.1.0", + "use-effect-event": "^1.0.2", + "valibot": "0.31.1", + "xstate": "^5.19.0" + }, + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "@remix-run/react": ">= 2", + "@sanity/client": "^6.24.1", + "@sveltejs/kit": ">= 2", + "next": ">= 13 || >=14.3.0-canary.0 <14.3.0 || >=15.0.0-rc", + "react": "^18.3 || >=19.0.0-rc", + "react-dom": "^18.3 || >=19.0.0-rc", + "react-router": ">= 7", + "svelte": ">= 4" + }, + "peerDependenciesMeta": { + "@remix-run/react": { + "optional": true + }, + "@sanity/client": { + "optional": true + }, + "@sveltejs/kit": { + "optional": true + }, + "next": { + "optional": true + }, + "react-router": { + "optional": true + }, + "svelte": { + "optional": true + } + } + }, + "node_modules/next-sanity/node_modules/groq": { + "version": "3.67.1", + "resolved": "https://registry.npmjs.org/groq/-/groq-3.67.1.tgz", + "integrity": "sha512-3plMQ9IRhz5EQ8cI3HEcEPHk7Y7eceU0Zw3N5m+8Lg/VufCd+RNV10Pqi9ph7Ti1m2ew35tJ969Jx1AW4bk/Pg==", + "engines": { + "node": ">=18" + } + }, + "node_modules/next-sanity/node_modules/react-compiler-runtime": { + "version": "19.0.0-beta-37ed2a7-20241206", + "resolved": "https://registry.npmjs.org/react-compiler-runtime/-/react-compiler-runtime-19.0.0-beta-37ed2a7-20241206.tgz", + "integrity": "sha512-9e6rCpVylr9EnVocgYAjft7+2v01BDpajeHKRoO+oc9pKcAMTpstHtHvE/TSVbyf4FvzCGjfKcfHM9XGTXI6Tw==", + "peerDependencies": { + "react": "^17.0.0 || ^18.0.0 || ^19.0.0" + } + }, + "node_modules/next-sanity/node_modules/uuid": { + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-10.0.0.tgz", + "integrity": "sha512-8XkAphELsDnEGrDxUOHB3RGvXz6TeuYSGEZBOjtTtPm2lwhGBjLgOzLHB63IUWfBpNucQjND6d3AOudO+H3RWQ==", + "funding": [ + "https://github.com/sponsors/broofa", + "https://github.com/sponsors/ctavan" + ], + "bin": { + "uuid": "dist/bin/uuid" + } + }, "node_modules/next/node_modules/postcss": { "version": "8.4.31", "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.31.tgz", @@ -16036,6 +16169,11 @@ "uuidv7": "cli.js" } }, + "node_modules/valibot": { + "version": "0.31.1", + "resolved": "https://registry.npmjs.org/valibot/-/valibot-0.31.1.tgz", + "integrity": "sha512-2YYIhPrnVSz/gfT2/iXVTrSj92HwchCt9Cga/6hX4B26iCz9zkIsGTS0HjDYTZfTi1Un0X6aRvhBi1cfqs/i0Q==" + }, "node_modules/validate-npm-package-license": { "version": "3.0.4", "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz", diff --git a/package.json b/package.json index 17ca689dc..f8f995264 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ "negotiator": "^0.6.3", "next": "^14.2.15", "next-intl": "^3.24.0", - "next-sanity": "^7.1.4", + "next-sanity": "^9.8.27", "next-sanity-image": "^6.1.1", "react": "^18.3.1", "react-dom": "^18.3.1",