diff --git a/package-lock.json b/package-lock.json index 37f1fb773..2f20ac6a1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -16,7 +16,7 @@ "negotiator": "^0.6.3", "next": "^14.2.15", "next-intl": "^3.24.0", - "next-sanity": "^7.1.4", + "next-sanity": "^9.8.8", "next-sanity-image": "^6.1.1", "react": "^18.3.1", "react-dom": "^18.3.1", @@ -1901,10 +1901,9 @@ } }, "node_modules/@babel/register": { - "version": "7.24.6", - "resolved": "https://registry.npmjs.org/@babel/register/-/register-7.24.6.tgz", - "integrity": "sha512-WSuFCc2wCqMeXkz/i3yfAAsxwWflEgbVkZzivgAmXl/MxrXeoYFZOOPllbC8R8WTF7u61wSRQtDVZ1879cdu6w==", - "license": "MIT", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/register/-/register-7.25.9.tgz", + "integrity": "sha512-8D43jXtGsYmEeDvm4MWHYUpWf8iiXgWYx3fW7E7Wb7Oe6FWqJPl5K6TuFW0dOwNZzEE5rjlaSJYH9JjrUKJszA==", "dependencies": { "clone-deep": "^4.0.1", "find-cache-dir": "^2.0.0", @@ -1923,7 +1922,6 @@ "version": "2.1.0", "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-2.1.0.tgz", "integrity": "sha512-Tq6PixE0w/VMFfCgbONnkiQIVol/JJL7nRMi20fqzA4NRs9AfeqMGeRdPi3wIhYkxjeBaWh2rxwapn5Tu3IqOQ==", - "license": "MIT", "dependencies": { "commondir": "^1.0.1", "make-dir": "^2.0.0", @@ -1937,7 +1935,6 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz", "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==", - "license": "MIT", "dependencies": { "locate-path": "^3.0.0" }, @@ -1949,7 +1946,6 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz", "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==", - "license": "MIT", "dependencies": { "p-locate": "^3.0.0", "path-exists": "^3.0.0" @@ -1962,7 +1958,6 @@ "version": "2.1.0", "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-2.1.0.tgz", "integrity": "sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA==", - "license": "MIT", "dependencies": { "pify": "^4.0.1", "semver": "^5.6.0" @@ -1975,7 +1970,6 @@ "version": "2.3.0", "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", - "license": "MIT", "dependencies": { "p-try": "^2.0.0" }, @@ -1990,7 +1984,6 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz", "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==", - "license": "MIT", "dependencies": { "p-limit": "^2.0.0" }, @@ -2002,7 +1995,6 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", "integrity": "sha512-bpC7GYwiDYQ4wYLe+FA8lhRjhQCMcQGuSgGGqDkg/QerRWw9CmGRT0iSOVRSZJ29NMLZgIzqaljJ63oaL4NIJQ==", - "license": "MIT", "engines": { "node": ">=4" } @@ -2011,7 +2003,6 @@ "version": "4.0.1", "resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz", "integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==", - "license": "MIT", "engines": { "node": ">=6" } @@ -2020,7 +2011,6 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-3.0.0.tgz", "integrity": "sha512-/E57AYkoeQ25qkxMj5PBOVgF8Kiu/h7cYS30Z5+R7WaiCCBfLq58ZI/dSeaEKb9WVJV5n/03QwrN3IeWIFllvw==", - "license": "MIT", "dependencies": { "find-up": "^3.0.0" }, @@ -2032,7 +2022,6 @@ "version": "5.7.2", "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz", "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==", - "license": "ISC", "bin": { "semver": "bin/semver" } @@ -2041,7 +2030,6 @@ "version": "0.6.1", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "license": "BSD-3-Clause", "engines": { "node": ">=0.10.0" } @@ -2050,7 +2038,6 @@ "version": "0.5.21", "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz", "integrity": "sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==", - "license": "MIT", "dependencies": { "buffer-from": "^1.0.0", "source-map": "^0.6.0" @@ -2924,10 +2911,9 @@ } }, "node_modules/@floating-ui/react-dom": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/@floating-ui/react-dom/-/react-dom-2.1.1.tgz", - "integrity": "sha512-4h84MJt3CHrtG18mGsXuLCHMrug49d7DFkU0RMIyshRveBeyV2hmV/pDaF2Uxtu8kgq5r46llp5E5FQiR0K2Yg==", - "license": "MIT", + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/@floating-ui/react-dom/-/react-dom-2.1.2.tgz", + "integrity": "sha512-06okr5cgPzMNBy+Ycse2A6udMi4bqwW/zgBF/rwjcNqWkyr82Mcg8b0vjX8OJpZFy/FKjJmw6wV7t44kK6kW7A==", "dependencies": { "@floating-ui/dom": "^1.0.0" }, @@ -4655,36 +4641,40 @@ } }, "node_modules/@portabletext/editor": { - "version": "1.0.19", - "resolved": "https://registry.npmjs.org/@portabletext/editor/-/editor-1.0.19.tgz", - "integrity": "sha512-ZNOvErcy2OYchsHVpVtJdhGb12YI6m0vOSubKu8t1X6wllkJPNyduW6xxLbmJiv/Z/+Ua1gVEvczdkfsU2qvvQ==", - "license": "MIT", + "version": "1.5.4", + "resolved": "https://registry.npmjs.org/@portabletext/editor/-/editor-1.5.4.tgz", + "integrity": "sha512-9RChHb7pAZI/iZuVrn8PW2eqRlVyJ4Wgioj/lODl6QWsrQsfJGxkDQsAd7iaHmRPnjjVaode9J3RG5y17CdW3w==", "dependencies": { "@portabletext/patches": "1.1.0", + "@xstate/react": "^4.1.3", "debug": "^4.3.4", "is-hotkey-esm": "^1.0.0", "lodash": "^4.17.21", - "slate": "0.103.0", - "slate-react": "0.108.0" + "lodash.startcase": "^4.4.0", + "react-compiler-runtime": "19.0.0-beta-9ee70a1-20241017", + "slate": "0.110.2", + "slate-dom": "^0.111.0", + "slate-react": "0.111.0", + "use-effect-event": "^1.0.2", + "xstate": "^5.18.2" }, "engines": { "node": ">=18" }, "peerDependencies": { - "@sanity/block-tools": "^3.47.1", - "@sanity/schema": "^3.47.1", - "@sanity/types": "^3.47.1", - "@sanity/util": "^3.47.1", + "@sanity/block-tools": "^3.62.3", + "@sanity/schema": "^3.62.3", + "@sanity/types": "^3.62.3", + "@sanity/util": "^3.62.3", "react": "^16.9 || ^17 || ^18", - "rxjs": "^7", - "styled-components": "^6.1" + "rxjs": "^7.8.1", + "styled-components": "^6.1.13" } }, "node_modules/@portabletext/patches": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/@portabletext/patches/-/patches-1.1.0.tgz", "integrity": "sha512-2qn4WaRc23m5qRwclT3sAyuHwTyjxCb4Lg0BQyhp7CABd83HtnPPYoP6hycREs6HRdWA48H3sU5gqUVPoxJxdg==", - "license": "MIT", "dependencies": { "@sanity/diff-match-patch": "^3.1.1", "lodash": "^4.17.21" @@ -4824,34 +4814,33 @@ } }, "node_modules/@sanity/block-tools": { - "version": "3.57.3", - "resolved": "https://registry.npmjs.org/@sanity/block-tools/-/block-tools-3.57.3.tgz", - "integrity": "sha512-QM0wTENEcGyMNE9rfd33xXciCqmrYF4GJ9eLc0nkyOCjwLXuCvaN7HpenqsMY4JDRSvRH4LjTt9Ypqs4g5AqsA==", + "version": "3.63.0", + "resolved": "https://registry.npmjs.org/@sanity/block-tools/-/block-tools-3.63.0.tgz", + "integrity": "sha512-aKi2KYMKeHTDcgeifIrnLfQmp/h2k4XKG+rLwp7hLy5inaUU5U/DCPrp5o7fQaRrrIUSXoRnE6E0KNPU2CD+RQ==", "dependencies": { - "@sanity/types": "3.57.3", + "@sanity/types": "3.63.0", "@types/react": "^18.3.5", "get-random-values-esm": "1.0.2", "lodash": "^4.17.21" } }, "node_modules/@sanity/cli": { - "version": "3.57.3", - "resolved": "https://registry.npmjs.org/@sanity/cli/-/cli-3.57.3.tgz", - "integrity": "sha512-KXhQ/K/OZLi7Wznd9PhB5lmhBFSNyW7J8spKNhEd9qJPIet8ObQfKYjy43tHskMSrC9mlCIcKde7+k64emks/g==", + "version": "3.63.0", + "resolved": "https://registry.npmjs.org/@sanity/cli/-/cli-3.63.0.tgz", + "integrity": "sha512-Q2iuJl0xVEup49sSJsbFst0NNGG7nGYE9Cw592NZSotmzoPVppYfgYEuih04TT7WMl0IlYs7pWL2DHtDJnsX5A==", "dependencies": { "@babel/traverse": "^7.23.5", - "@sanity/client": "^6.21.3", - "@sanity/codegen": "3.57.3", + "@sanity/client": "^6.22.2", + "@sanity/codegen": "3.63.0", "@sanity/telemetry": "^0.7.7", - "@sanity/util": "3.57.3", + "@sanity/util": "3.63.0", "chalk": "^4.1.2", "debug": "^4.3.4", "decompress": "^4.2.0", "esbuild": "0.21.5", "esbuild-register": "^3.5.0", "get-it": "^8.6.5", - "groq-js": "^1.13.0", - "node-machine-id": "^1.1.12", + "groq-js": "^1.14.0", "pkg-dir": "^5.0.0", "prettier": "^3.3.0", "semver": "^7.3.5", @@ -4936,13 +4925,12 @@ } }, "node_modules/@sanity/client": { - "version": "6.21.3", - "resolved": "https://registry.npmjs.org/@sanity/client/-/client-6.21.3.tgz", - "integrity": "sha512-oE2+4kKRTZhFCc4IIsojkzKF0jIhsSYSRxkPZjScZ1k/EQ3Y2tEcQYiKwvvotzaXoaWsIL3RTpulE+R4iBYiBw==", - "license": "MIT", + "version": "6.22.3", + "resolved": "https://registry.npmjs.org/@sanity/client/-/client-6.22.3.tgz", + "integrity": "sha512-CJDUXPdw4q6VtdUmKbkH8D4iRqYIfIPNQ4U2Y1jzjez7NORnflX1vfgfMLSkNMc9xoK0xji4qhQgvcQHUNh4Lw==", "dependencies": { "@sanity/eventsource": "^5.0.2", - "get-it": "^8.6.4", + "get-it": "^8.6.5", "rxjs": "^7.0.0" }, "engines": { @@ -4950,9 +4938,9 @@ } }, "node_modules/@sanity/codegen": { - "version": "3.57.3", - "resolved": "https://registry.npmjs.org/@sanity/codegen/-/codegen-3.57.3.tgz", - "integrity": "sha512-z62d8UA0r9rFs2l1wD+I4BwsvpfKdEGoiewpEJKnFHraxHpKgDZN6nb9tNXosu04kkFvuydtRRcMLIwLitlgcw==", + "version": "3.63.0", + "resolved": "https://registry.npmjs.org/@sanity/codegen/-/codegen-3.63.0.tgz", + "integrity": "sha512-Cf+S+uIcDmcoisgOANzjT4er1NvBnk0gD1FjPKewkixCNX4kp4Pciea4zMGCXMj/BPvviuclL83thNIYnMZqlw==", "dependencies": { "@babel/core": "^7.23.9", "@babel/generator": "^7.23.6", @@ -4964,8 +4952,8 @@ "@babel/types": "^7.23.9", "debug": "^4.3.4", "globby": "^10.0.0", - "groq": "3.57.3", - "groq-js": "^1.13.0", + "groq": "3.63.0", + "groq-js": "^1.14.0", "json5": "^2.2.3", "tsconfig-paths": "^4.2.0", "zod": "^3.22.4" @@ -5021,6 +5009,31 @@ "node": ">=18.0.0" } }, + "node_modules/@sanity/comlink": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@sanity/comlink/-/comlink-1.1.1.tgz", + "integrity": "sha512-hmjL8X9/muInbO4Fko6rn9WOZhZWMPKz5n3FHttb/KurKaHbkhcon/jIkZ8DowxW75wkUDp8m/nkBZznJ58HIA==", + "dependencies": { + "rxjs": "^7.8.1", + "uuid": "^10.0.0", + "xstate": "^5.18.2" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/@sanity/comlink/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/core-loader": { "version": "1.6.23", "resolved": "https://registry.npmjs.org/@sanity/core-loader/-/core-loader-1.6.23.tgz", @@ -5033,9 +5046,9 @@ } }, "node_modules/@sanity/diff": { - "version": "3.57.3", - "resolved": "https://registry.npmjs.org/@sanity/diff/-/diff-3.57.3.tgz", - "integrity": "sha512-4RRwAR01sdYHbTqvt6zHpYlPTxonjHj4Y2i8ZtzZB/fFmKej7cBB+ZlKKlLNXnT8qtIy6SZghF2dluXywGviWA==", + "version": "3.63.0", + "resolved": "https://registry.npmjs.org/@sanity/diff/-/diff-3.63.0.tgz", + "integrity": "sha512-C2l6D1fvle6YaxuJLjGBLq3K9U8dQPu9zVjJcoMZ/QeIDu6Wv+ZNfwuilCZeY5H4yv4UbG4YE2wNo/JAWvflaw==", "dependencies": { "@sanity/diff-match-patch": "^3.1.1" }, @@ -5321,6 +5334,36 @@ "react": "^16.9 || ^17 || ^18" } }, + "node_modules/@sanity/insert-menu": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/@sanity/insert-menu/-/insert-menu-1.0.10.tgz", + "integrity": "sha512-tFfjP7IA9QjD5flSwILUNjQKh4Vrq+E1Z5e0gBtPCRFHTde0VRrfiiX/qTr0IPYREo3MOhIBZbriJScBeGuMfg==", + "dependencies": { + "@sanity/icons": "^3.4.0", + "@sanity/ui": "^2.8.10", + "lodash.startcase": "^4.4.0" + }, + "engines": { + "node": ">=18.0.0" + }, + "peerDependencies": { + "@sanity/types": "^3.62.2", + "react": "^18.3 || >=19.0.0-rc", + "react-dom": "^18.3 || >=19.0.0-rc", + "react-is": "^18.3 || >=19.0.0-rc" + } + }, + "node_modules/@sanity/insert-menu/node_modules/@sanity/icons": { + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/@sanity/icons/-/icons-3.4.0.tgz", + "integrity": "sha512-X8BMM68w3y5cuCLpPwV7jGhVNGgAL/FA3UI6JaRCsyVOahA6aBOeKdjFs5MHtKi8cmrKwq1a98h/HbrK56kszA==", + "engines": { + "node": ">=14.0.0" + }, + "peerDependencies": { + "react": "^18.3 || >=19.0.0-rc" + } + }, "node_modules/@sanity/language-filter": { "version": "4.0.2", "resolved": "https://registry.npmjs.org/@sanity/language-filter/-/language-filter-4.0.2.tgz", @@ -5358,18 +5401,18 @@ } }, "node_modules/@sanity/migrate": { - "version": "3.57.3", - "resolved": "https://registry.npmjs.org/@sanity/migrate/-/migrate-3.57.3.tgz", - "integrity": "sha512-VhkpuXZNNmRMs7pXpTrlLjTe8DO04fs6xrxR3acNCoLpfOIRg9vQ5Dl8RQLDqGtbNtU1Hq0cud98DvLLXcVumg==", - "dependencies": { - "@sanity/client": "^6.21.3", - "@sanity/mutate": "^0.10.0", - "@sanity/types": "3.57.3", - "@sanity/util": "3.57.3", + "version": "3.63.0", + "resolved": "https://registry.npmjs.org/@sanity/migrate/-/migrate-3.63.0.tgz", + "integrity": "sha512-my20wlhw89LX1fkAgwvF/+XyoqnbMX/31NFCWVmqlHfkO/oU3XwGWLsLgJBXL6FMvGUoDJUiXFV9/sjsGLiaHg==", + "dependencies": { + "@sanity/client": "^6.22.2", + "@sanity/mutate": "^0.10.1", + "@sanity/types": "3.63.0", + "@sanity/util": "3.63.0", "arrify": "^2.0.1", "debug": "^4.3.4", "fast-fifo": "^1.3.2", - "groq-js": "^1.13.0", + "groq-js": "^1.14.0", "p-map": "^7.0.1" }, "engines": { @@ -5388,13 +5431,14 @@ } }, "node_modules/@sanity/mutate": { - "version": "0.10.0", - "resolved": "https://registry.npmjs.org/@sanity/mutate/-/mutate-0.10.0.tgz", - "integrity": "sha512-kgBY8EZ/i+5KQkDlMizr/KQMwF/E2ExYWPsogFuDoGdQ3MhD+5jwP7X/WpttAZh8F8dupBzslgvv5f9DUeKx3Q==", + "version": "0.10.1", + "resolved": "https://registry.npmjs.org/@sanity/mutate/-/mutate-0.10.1.tgz", + "integrity": "sha512-yjRBoscacw4hl4c3UF/BhOCTUOjGDRP2u7biF/ALsgAOnMhUDlLA1OtDz3op7oyz4Yp30QydnlrtR3ha/Una5g==", "dependencies": { "@sanity/client": "^6.21.1", "@sanity/diff-match-patch": "^3.1.1", "hotscript": "^1.0.13", + "lodash": "^4.17.21", "mendoza": "^3.0.7", "nanoid": "^5.0.7", "rxjs": "^7.8.1" @@ -5403,18 +5447,10 @@ "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.7", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-5.0.7.tgz", - "integrity": "sha512-oLxFY2gd2IqnjcYyOXD8XGCftpGtZP2AbHbOkthDkvRywH5ayNtPVy9YlOPcHckXzbLTCHpkb7FB+yuxKV13pQ==", + "version": "5.0.8", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-5.0.8.tgz", + "integrity": "sha512-TcJPw+9RV9dibz1hHUzlLVy8N4X9TnwirAjrU08Juo6BNKggzVfP2ZJ/3ZUSq15Xl5i85i+Z89XBO90pB2PghQ==", "funding": [ { "type": "github", @@ -5429,25 +5465,44 @@ } }, "node_modules/@sanity/mutator": { - "version": "3.57.3", - "resolved": "https://registry.npmjs.org/@sanity/mutator/-/mutator-3.57.3.tgz", - "integrity": "sha512-ZKKF5/CgBdxw1XqylFpZfJXLpZmlRDyh9q8A50qQqtdUovCqK+zs3rfNWXU/w++o6iAC7Z+YC3a9pR7GEltPTg==", + "version": "3.63.0", + "resolved": "https://registry.npmjs.org/@sanity/mutator/-/mutator-3.63.0.tgz", + "integrity": "sha512-eF9JBlqWuXEXJAsC/7AvhAINgNrMHld1I1JCAaOtLoL7jAJSyWqB5ObtBjLADEkvE+z6KPJUDiaC0JKx6YjO3A==", "dependencies": { "@sanity/diff-match-patch": "^3.1.1", - "@sanity/types": "3.57.3", + "@sanity/types": "3.63.0", "@sanity/uuid": "^3.0.1", "debug": "^4.3.4", "lodash": "^4.17.21" } }, + "node_modules/@sanity/next-loader": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@sanity/next-loader/-/next-loader-1.1.0.tgz", + "integrity": "sha512-3Mx0shumgM+oS0o4xmEk7JEv72rskefkhDHQtwhpvsklWVDPy95fNKMo5PC/ndSGQ5SctlZGpPPvnDOm511P0A==", + "dependencies": { + "@sanity/comlink": "1.1.1", + "use-effect-event": "^1.0.2" + }, + "engines": { + "node": ">=18.18" + }, + "peerDependencies": { + "@sanity/client": "^6.22.2", + "next": "^14.1 || ^15.0.0-0", + "react": "^18.3 || ^19.0.0-0" + } + }, "node_modules/@sanity/presentation": { - "version": "1.16.5", - "resolved": "https://registry.npmjs.org/@sanity/presentation/-/presentation-1.16.5.tgz", - "integrity": "sha512-Srs/22A/eaUZ9skeiYnd7J5lUP8gYX6tqfxtQfYJN6M97iOO1TN5a6r2GE8leatX17gY5VLVdFsZAqtFPTf8YA==", + "version": "1.17.8", + "resolved": "https://registry.npmjs.org/@sanity/presentation/-/presentation-1.17.8.tgz", + "integrity": "sha512-vMwXSLa7W4rvXMPNq47yBsEdszuH1Jyhd0pRUTvAd+BnpsO72ThYfSsv+qwieB2IePSooXn0Fkbb8mWunv39Sg==", "dependencies": { + "@sanity/comlink": "1.1.1", "@sanity/icons": "^3.4.0", - "@sanity/preview-url-secret": "^1.6.21", - "@sanity/ui": "^2.8.9", + "@sanity/logos": "^2.1.13", + "@sanity/preview-url-secret": "2.0.0", + "@sanity/ui": "^2.8.10", "@sanity/uuid": "3.0.2", "@types/lodash.isequal": "^4.5.8", "fast-deep-equal": "3.1.3", @@ -5456,15 +5511,16 @@ "lodash.isequal": "^4.5.0", "mendoza": "3.0.7", "mnemonist": "0.39.8", - "path-to-regexp": "^6.2.2", + "path-to-regexp": "^6.3.0", "rxjs": "^7.8.1", - "suspend-react": "0.1.3" + "suspend-react": "0.1.3", + "use-effect-event": "^1.0.2" }, "engines": { "node": ">=16.14" }, "peerDependencies": { - "@sanity/client": "^6.21.3" + "@sanity/client": "^6.22.2" } }, "node_modules/@sanity/presentation/node_modules/@sanity/icons": { @@ -5478,12 +5534,18 @@ "react": "^18.3 || >=19.0.0-rc" } }, - "node_modules/@sanity/presentation/node_modules/mendoza": { - "version": "3.0.7", - "resolved": "https://registry.npmjs.org/mendoza/-/mendoza-3.0.7.tgz", - "integrity": "sha512-KtLgsCl5dFjRPUVSVV9KxpUr2BfZgLv8uqxg/hCsI7JIWsesHABSbl0MQwxNHAg24KtzSQ6vrPsgeNnoq4UImg==", + "node_modules/@sanity/presentation/node_modules/@sanity/preview-url-secret": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@sanity/preview-url-secret/-/preview-url-secret-2.0.0.tgz", + "integrity": "sha512-JfStdSb8KT0RzePtGbUIZewNNHNNbvYHwsW4WzYEmgPTfgZnPAIMFYUFSHAKKFyKQ3tqzARRQm3uURpoSTyIkA==", + "dependencies": { + "@sanity/uuid": "3.0.2" + }, "engines": { - "node": ">=14.18" + "node": ">=18" + }, + "peerDependencies": { + "@sanity/client": "^6.22.2" } }, "node_modules/@sanity/presentation/node_modules/path-to-regexp": { @@ -5492,24 +5554,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.10", + "resolved": "https://registry.npmjs.org/@sanity/preview-kit/-/preview-kit-5.1.10.tgz", + "integrity": "sha512-tFl9K5LnCo9RWBR7nz2vac6wacOg4jckMUcm32gDa486hN65I0jTWT6sWvwhtAYL/ny82sHsLKjHfx7ct4qxHw==", "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.14", + "mendoza": "3.0.7" }, "engines": { "node": ">=18" }, "peerDependencies": { - "@sanity/client": "^6.12.4", - "react": "^18.0.0" + "@sanity/client": "^6.22.2", + "react": "^18.0.0 || >=19.0.0-rc" }, "peerDependenciesMeta": { "react": { @@ -5518,25 +5575,18 @@ } }, "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.14", + "resolved": "https://registry.npmjs.org/@sanity/preview-kit-compat/-/preview-kit-compat-1.5.14.tgz", + "integrity": "sha512-6Fzi/Srp5fgW9C1/ifbATIm0o8kOX2irPoftcrvNy5UP1J6kXdePFwpXoo+wCjyOFMPTzPzykWuoaymnXp2dKA==", + "dependencies": { + "@sanity/comlink": "1.1.1" + }, "engines": { "node": ">=18" }, "peerDependencies": { - "@sanity/client": "^6.12.3", - "react": "^18.2.0" - } - }, - "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", - "engines": { - "node": "14 || >=16.14" + "@sanity/client": "^6.22.2", + "react": "^18.3 || >=19.0.0-rc" } }, "node_modules/@sanity/preview-url-secret": { @@ -5569,14 +5619,14 @@ } }, "node_modules/@sanity/schema": { - "version": "3.57.3", - "resolved": "https://registry.npmjs.org/@sanity/schema/-/schema-3.57.3.tgz", - "integrity": "sha512-htgRntAe/guhpp+7BVEF6f1ypT02/VD9dL//fAziH7m9L/9hylLEc36KAxjC0mmM8h6s372dU72+k+ko0vajVA==", + "version": "3.63.0", + "resolved": "https://registry.npmjs.org/@sanity/schema/-/schema-3.63.0.tgz", + "integrity": "sha512-Hvnk3NQWuEoms3xBUXQkiL5GSRWtCetZO7t0pKyoPMyKNkAhEfR8KuwISxEM1sLwlwR24ogYVPh4xJymBn7aaw==", "dependencies": { "@sanity/generate-help-url": "^3.0.0", - "@sanity/types": "3.57.3", + "@sanity/types": "3.63.0", "arrify": "^1.0.1", - "groq-js": "^1.13.0", + "groq-js": "^1.14.0", "humanize-list": "^1.0.1", "leven": "^3.1.0", "lodash": "^4.17.21", @@ -5587,7 +5637,6 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/arrify/-/arrify-1.0.1.tgz", "integrity": "sha512-3CYzex9M9FGQjCGMGyi6/31c8GJbgb0qGyrx5HWxPd0aCwh4cB2YjMb2Xf9UuoogrMrlO9cTqnB5rI5GHZTcUA==", - "license": "MIT", "engines": { "node": ">=0.10.0" } @@ -5609,24 +5658,25 @@ } }, "node_modules/@sanity/types": { - "version": "3.57.3", - "resolved": "https://registry.npmjs.org/@sanity/types/-/types-3.57.3.tgz", - "integrity": "sha512-v/dN/783lhq79jmp8UAnXyxkc11/+1e3Q7IfYfcjweBcrwGXRI+9qcYgDzJ2DaiBbWAUe2c1L4GO7H4123ylGQ==", + "version": "3.63.0", + "resolved": "https://registry.npmjs.org/@sanity/types/-/types-3.63.0.tgz", + "integrity": "sha512-d7Qbd07mzbvI6bEfb4j7LnDH5dAf5nwEyYPj+e8tHjlPYzyoutKQ5wmTU8rNqTmg4PiuvNYyDo6zWcEVrUW8Vw==", "dependencies": { - "@sanity/client": "^6.21.3", + "@sanity/client": "^6.22.2", "@types/react": "^18.3.5" } }, "node_modules/@sanity/ui": { - "version": "2.8.9", - "resolved": "https://registry.npmjs.org/@sanity/ui/-/ui-2.8.9.tgz", - "integrity": "sha512-ii5pa3HSA5DonhY+IRb5FHpS5rIM3gyMGTfX+HjaPqRy1itSNs1EqetI9oMVsheCYWEQTdZFzIpIX2mEsGVKKw==", + "version": "2.8.19", + "resolved": "https://registry.npmjs.org/@sanity/ui/-/ui-2.8.19.tgz", + "integrity": "sha512-3o5yQJXzTtXSRCptinYqPP8ME2+vatN7q42bSB96T45viX1tVHETGR3s2KCQCLFskdCHSwC3gsPLl8RbTZQmDw==", "dependencies": { - "@floating-ui/react-dom": "^2.1.1", + "@floating-ui/react-dom": "^2.1.2", "@sanity/color": "^3.0.6", "@sanity/icons": "^3.4.0", "csstype": "^3.1.3", "framer-motion": "11.0.8", + "react-compiler-runtime": "19.0.0-beta-9ee70a1-20241017", "react-refractor": "^2.2.0", "use-effect-event": "^1.0.2" }, @@ -5634,9 +5684,9 @@ "node": ">=14.0.0" }, "peerDependencies": { - "react": "^18", - "react-dom": "^18", - "react-is": "^18", + "react": "^18 || >=19.0.0-0", + "react-dom": "^18 || >=19.0.0-0", + "react-is": "^18 || >=19.0.0-0", "styled-components": "^5.2 || ^6" } }, @@ -5653,14 +5703,14 @@ } }, "node_modules/@sanity/util": { - "version": "3.57.3", - "resolved": "https://registry.npmjs.org/@sanity/util/-/util-3.57.3.tgz", - "integrity": "sha512-L9OFXgoMJnN0Ipq+znbTe0wP2TBLB/mI88R1vHBJGDF0nnoD8xEu05HzExeQtS32YCo5KIqXTBmqZ1gTXH4BoA==", + "version": "3.63.0", + "resolved": "https://registry.npmjs.org/@sanity/util/-/util-3.63.0.tgz", + "integrity": "sha512-AZLrGMMhNUFRKohEjTWkWFgUVHcokBC+NXxGsJl2NKU9iabwb1OFrnaOskjskLpF8SQ4cs34YoH3ydB+k4zZ2g==", "dependencies": { - "@sanity/client": "^6.21.3", - "@sanity/types": "3.57.3", + "@sanity/client": "^6.22.2", + "@sanity/types": "3.63.0", "get-random-values-esm": "1.0.2", - "moment": "^2.29.4", + "moment": "^2.30.1", "rxjs": "^7.8.1" }, "engines": { @@ -5721,49 +5771,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", @@ -8362,10 +8369,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.1", @@ -8633,6 +8639,24 @@ "@xtuc/long": "4.2.2" } }, + "node_modules/@xstate/react": { + "version": "4.1.3", + "resolved": "https://registry.npmjs.org/@xstate/react/-/react-4.1.3.tgz", + "integrity": "sha512-zhE+ZfrcCR87bu71Rkh5Z5ruZBivR/7uD/dkelzJqjQdI45IZc9DqTI8lL4Cg5+VN2p5k86KxDsusqW1kW11Tg==", + "dependencies": { + "use-isomorphic-layout-effect": "^1.1.2", + "use-sync-external-store": "^1.2.0" + }, + "peerDependencies": { + "react": "^16.8.0 || ^17.0.0 || ^18.0.0", + "xstate": "^5.18.2" + }, + "peerDependenciesMeta": { + "xstate": { + "optional": true + } + } + }, "node_modules/@xtuc/ieee754": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/@xtuc/ieee754/-/ieee754-1.2.0.tgz", @@ -9227,7 +9251,6 @@ "version": "2.0.1", "resolved": "https://registry.npmjs.org/arrify/-/arrify-2.0.1.tgz", "integrity": "sha512-3duEwti880xqi4eAMN8AyR4a0ByT90zoYdLlevfrvU43vb0YZwZVfxOgxWrLXXXpyugL0hNZc9G6BiB5B3nUug==", - "license": "MIT", "engines": { "node": ">=8" } @@ -10691,7 +10714,6 @@ "version": "4.0.1", "resolved": "https://registry.npmjs.org/clone-deep/-/clone-deep-4.0.1.tgz", "integrity": "sha512-neHB9xuzh/wk0dIHweyAXv2aPGZIVk3pLMe+/RNzINf17fe0OG96QroktYAUm7SM1PBnzTabaLboqqxDyMU+SQ==", - "license": "MIT", "dependencies": { "is-plain-object": "^2.0.4", "kind-of": "^6.0.2", @@ -10705,7 +10727,6 @@ "version": "2.0.4", "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz", "integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==", - "license": "MIT", "dependencies": { "isobject": "^3.0.1" }, @@ -10888,8 +10909,7 @@ "node_modules/compute-scroll-into-view": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/compute-scroll-into-view/-/compute-scroll-into-view-3.1.0.tgz", - "integrity": "sha512-rj8l8pD4bJ1nx+dAkMhV1xB5RuZEyVysfxJqB1pRchh1KVvwOv9b7CGB8ZfjTImVv2oF+sYMUkMZq6Na5Ftmbg==", - "license": "MIT" + "integrity": "sha512-rj8l8pD4bJ1nx+dAkMhV1xB5RuZEyVysfxJqB1pRchh1KVvwOv9b7CGB8ZfjTImVv2oF+sYMUkMZq6Na5Ftmbg==" }, "node_modules/concat-map": { "version": "0.0.1", @@ -12228,7 +12248,6 @@ "version": "1.0.4", "resolved": "https://registry.npmjs.org/direction/-/direction-1.0.4.tgz", "integrity": "sha512-GYqKi1aH7PJXxdhTeZBFrg8vUBeKXi+cNprXsC1kpJcbcVnV9wBsrOu1cQEdG0WeQwlfHiy3XvnKfIrJ2R0NzQ==", - "license": "MIT", "bin": { "direction": "cli.js" }, @@ -15173,18 +15192,17 @@ "license": "MIT" }, "node_modules/groq": { - "version": "3.57.3", - "resolved": "https://registry.npmjs.org/groq/-/groq-3.57.3.tgz", - "integrity": "sha512-MTbNCDyY2T+QwZjLedQBm8FlVMgjmLuCFUsKlbNhNb3tMlCKTwPbBKJIJetixQcD21TMixXZ9Duv1yVLnk03mw==", + "version": "3.63.0", + "resolved": "https://registry.npmjs.org/groq/-/groq-3.63.0.tgz", + "integrity": "sha512-9YzXsNTXqRFput/5HoRS7HJKl5J6of21qpc89ZnzDC/LcQPI1UzpRSuJ6AHYPzj1Re9nGRYtr88uwJsBjS4aLw==", "engines": { "node": ">=18" } }, "node_modules/groq-js": { - "version": "1.13.0", - "resolved": "https://registry.npmjs.org/groq-js/-/groq-js-1.13.0.tgz", - "integrity": "sha512-TfNyvCVDOEVZFFbeO6TbwwrslHTXpDNN4WwCYAcuSuORx4dLQU5Zn+cIsEFUQvLycU4lc0BqU1FIgldbhi4acQ==", - "license": "MIT", + "version": "1.14.0", + "resolved": "https://registry.npmjs.org/groq-js/-/groq-js-1.14.0.tgz", + "integrity": "sha512-nrrEswAovzFcG2nXWHCwbXq0ciavKSq8ZvuqT93zxIHWGX3FYCN+MkvHyYRTVuM4SuQAjU7FXkcN3DBt4BHTxA==", "dependencies": { "debug": "^4.3.4" }, @@ -15741,8 +15759,7 @@ "node_modules/humanize-list": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/humanize-list/-/humanize-list-1.0.1.tgz", - "integrity": "sha512-4+p3fCRF21oUqxhK0yZ6yaSP/H5/wZumc7q1fH99RkW7Q13aAxDeP78BKjoR+6y+kaHqKF/JWuQhsNuuI2NKtA==", - "license": "MIT" + "integrity": "sha512-4+p3fCRF21oUqxhK0yZ6yaSP/H5/wZumc7q1fH99RkW7Q13aAxDeP78BKjoR+6y+kaHqKF/JWuQhsNuuI2NKtA==" }, "node_modules/i18next": { "version": "23.14.0", @@ -15841,7 +15858,6 @@ "version": "10.1.1", "resolved": "https://registry.npmjs.org/immer/-/immer-10.1.1.tgz", "integrity": "sha512-s2MPrmjovJcoMaHtx6K11Ra7oD05NT97w1IC5zpMkT6Atjr7H8LjaDd81iIxUYpMKSRRNMJE703M1Fhr/TctHw==", - "license": "MIT", "funding": { "type": "opencollective", "url": "https://opencollective.com/immer" @@ -16654,7 +16670,6 @@ "version": "3.0.1", "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", "integrity": "sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg==", - "license": "MIT", "engines": { "node": ">=0.10.0" } @@ -19519,10 +19534,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.7", + "resolved": "https://registry.npmjs.org/mendoza/-/mendoza-3.0.7.tgz", + "integrity": "sha512-KtLgsCl5dFjRPUVSVV9KxpUr2BfZgLv8uqxg/hCsI7JIWsesHABSbl0MQwxNHAg24KtzSQ6vrPsgeNnoq4UImg==", "engines": { "node": ">=14.18" } @@ -20010,29 +20024,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==", - "license": "MIT", + "version": "9.8.8", + "resolved": "https://registry.npmjs.org/next-sanity/-/next-sanity-9.8.8.tgz", + "integrity": "sha512-37exA0W6VDHp66m72B934Sd7rwcVvch9VI/x4mgpHzbHUrReDknrGdWzTaKBe5iTQUHvZr8TE+GhyONO8MK5lQ==", "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.1.0", + "@sanity/client": "^6.22.2", + "@sanity/next-loader": "1.1.0", + "@sanity/preview-kit": "5.1.10", + "@sanity/preview-url-secret": "2.0.0", + "@sanity/visual-editing": "2.4.2", + "groq": "^3.62.2", + "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.22.2", + "@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": { @@ -20049,6 +20066,107 @@ "react": "^18.0.0" } }, + "node_modules/next-sanity/node_modules/@sanity/mutate": { + "version": "0.10.1-canary.5", + "resolved": "https://registry.npmjs.org/@sanity/mutate/-/mutate-0.10.1-canary.5.tgz", + "integrity": "sha512-ce5xQJhqvbFnYejUEUlpR8VNq9RqMYYnasVdtZPBoD2gJpHpwSMXhpvWHcZM3gtNDcQEkHT/ttPDluMghbF8aw==", + "dependencies": { + "@sanity/client": "^6.22.1", + "@sanity/diff-match-patch": "^3.1.1", + "hotscript": "^1.0.13", + "mendoza": "^3.0.7", + "nanoid": "^5.0.7", + "rxjs": "^7.8.1" + }, + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "xstate": "^5.18.2" + }, + "peerDependenciesMeta": { + "xstate": { + "optional": true + } + } + }, + "node_modules/next-sanity/node_modules/@sanity/preview-url-secret": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@sanity/preview-url-secret/-/preview-url-secret-2.0.0.tgz", + "integrity": "sha512-JfStdSb8KT0RzePtGbUIZewNNHNNbvYHwsW4WzYEmgPTfgZnPAIMFYUFSHAKKFyKQ3tqzARRQm3uURpoSTyIkA==", + "dependencies": { + "@sanity/uuid": "3.0.2" + }, + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "@sanity/client": "^6.22.2" + } + }, + "node_modules/next-sanity/node_modules/@sanity/visual-editing": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/@sanity/visual-editing/-/visual-editing-2.4.2.tgz", + "integrity": "sha512-HyvDmc33U27jMm/b7AUxShtdbJaXtE2FzSh3DAC4bbWq59iGoSbHTHRWq7xIZpWVH76xgkLh+RgVsyr8lI/+8g==", + "dependencies": { + "@sanity/comlink": "1.1.1", + "@sanity/mutate": "0.10.1-canary.5", + "@sanity/preview-url-secret": "2.0.0", + "@vercel/stega": "0.1.2", + "get-random-values-esm": "^1.0.2", + "rxjs": "^7.8.1", + "scroll-into-view-if-needed": "^3.1.0", + "use-effect-event": "^1.0.2", + "valibot": "0.31.1", + "xstate": "^5.18.2" + }, + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "@remix-run/react": ">= 2", + "@sanity/client": "^6.22.2", + "@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", + "svelte": ">= 4" + }, + "peerDependenciesMeta": { + "@remix-run/react": { + "optional": true + }, + "@sanity/client": { + "optional": true + }, + "@sveltejs/kit": { + "optional": true + }, + "next": { + "optional": true + }, + "svelte": { + "optional": true + } + } + }, + "node_modules/next-sanity/node_modules/nanoid": { + "version": "5.0.8", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-5.0.8.tgz", + "integrity": "sha512-TcJPw+9RV9dibz1hHUzlLVy8N4X9TnwirAjrU08Juo6BNKggzVfP2ZJ/3ZUSq15Xl5i85i+Z89XBO90pB2PghQ==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "bin": { + "nanoid": "bin/nanoid.js" + }, + "engines": { + "node": "^18 || >=20" + } + }, "node_modules/next/node_modules/postcss": { "version": "8.4.31", "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.31.tgz", @@ -20199,11 +20317,6 @@ "dev": true, "license": "MIT" }, - "node_modules/node-machine-id": { - "version": "1.1.12", - "resolved": "https://registry.npmjs.org/node-machine-id/-/node-machine-id-1.1.12.tgz", - "integrity": "sha512-QNABxbrPa3qEIfrE6GOJ7BYIuignnJw7iQ2YPbc3Nla1HzRJjXzZOiikfF8m7eAMfichLt3M4VgLOetqgDmgGQ==" - }, "node_modules/node-polyfill-webpack-plugin": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/node-polyfill-webpack-plugin/-/node-polyfill-webpack-plugin-2.0.1.tgz", @@ -20916,7 +21029,6 @@ "version": "1.0.3", "resolved": "https://registry.npmjs.org/observable-callback/-/observable-callback-1.0.3.tgz", "integrity": "sha512-VlS275UyPnwdMtzxDgr/lCiOUyq9uXNll3vdwzDcJ6PB/LuO7gLmxAQopcCA3JoFwwujBwyA7/tP5TXZwWSXew==", - "license": "MIT", "engines": { "node": ">=16" }, @@ -22492,6 +22604,14 @@ "react-dom": ">=16.8.0" } }, + "node_modules/react-compiler-runtime": { + "version": "19.0.0-beta-9ee70a1-20241017", + "resolved": "https://registry.npmjs.org/react-compiler-runtime/-/react-compiler-runtime-19.0.0-beta-9ee70a1-20241017.tgz", + "integrity": "sha512-hVrlYbVacwEdZi08RUxSwIzZR2/+WxUsWRa7mjViRhqcqUYK+7u8UEVZoJrF5/gsCHMU9PhJRvolygSCaaE0nA==", + "peerDependencies": { + "react": "^18.2.0 || ^19.0.0" + } + }, "node_modules/react-confetti": { "version": "6.1.0", "resolved": "https://registry.npmjs.org/react-confetti/-/react-confetti-6.1.0.tgz", @@ -22822,16 +22942,16 @@ } }, "node_modules/react-rx": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/react-rx/-/react-rx-4.0.0.tgz", - "integrity": "sha512-nJbL5VvUUKaNlEzPcAcGdTe9HqJLKfFi7SM3FFAqnPYdJ1mJbZHfmGH82DCkAEzGmOtW9ItdtDbjXSLMswE+dg==", - "license": "MIT", + "version": "4.1.3", + "resolved": "https://registry.npmjs.org/react-rx/-/react-rx-4.1.3.tgz", + "integrity": "sha512-v0PTUnxpKJgA4j2DYLoENm4c9N/ivNI8yGZlix7BWa2/EL0JhR7HXkJxK0LiePobnq1Uhq9kItGKS91Q1PWuHw==", "dependencies": { "observable-callback": "^1.0.3", + "react-compiler-runtime": "19.0.0-beta-9ee70a1-20241017", "use-effect-event": "^1.0.2" }, "peerDependencies": { - "react": "^18.3 || >=19.0.0-rc", + "react": "^18.3 || >=19.0.0-0", "rxjs": "^7" } }, @@ -23881,41 +24001,41 @@ "license": "MIT" }, "node_modules/sanity": { - "version": "3.57.3", - "resolved": "https://registry.npmjs.org/sanity/-/sanity-3.57.3.tgz", - "integrity": "sha512-xArMbyJtMtA6TADoxbb5gf7vCRr34USH6p0bjRqKVO4H5gNInKKrB1b1yHdTwme1spivfAVAt/jlmQofiy5UxQ==", + "version": "3.63.0", + "resolved": "https://registry.npmjs.org/sanity/-/sanity-3.63.0.tgz", + "integrity": "sha512-JKIJPbtL88YoQgVzKtoVei18zlJFnbw7MBDQYMCvp+WteLrHyISGmKAr6QQFdsaCZvIdJbOFMuhZw+GACt3xhA==", "dependencies": { "@dnd-kit/core": "^6.0.5", "@dnd-kit/modifiers": "^6.0.0", "@dnd-kit/sortable": "^7.0.1", "@dnd-kit/utilities": "^3.2.0", "@juggle/resize-observer": "^3.3.1", - "@portabletext/editor": "^1.0.19", + "@portabletext/editor": "^1.5.4", "@portabletext/react": "^3.0.0", "@rexxars/react-json-inspector": "^8.0.1", - "@sanity/asset-utils": "^1.2.5", + "@sanity/asset-utils": "^2.0.6", "@sanity/bifur-client": "^0.4.1", - "@sanity/block-tools": "3.57.3", - "@sanity/cli": "3.57.3", - "@sanity/client": "^6.21.3", + "@sanity/block-tools": "3.63.0", + "@sanity/cli": "3.63.0", + "@sanity/client": "^6.22.2", "@sanity/color": "^3.0.0", - "@sanity/diff": "3.57.3", + "@sanity/diff": "3.63.0", "@sanity/diff-match-patch": "^3.1.1", "@sanity/eventsource": "^5.0.0", "@sanity/export": "^3.41.0", "@sanity/icons": "^3.4.0", "@sanity/image-url": "^1.0.2", "@sanity/import": "^3.37.3", - "@sanity/insert-menu": "1.0.9", + "@sanity/insert-menu": "1.0.10", "@sanity/logos": "^2.1.4", - "@sanity/migrate": "3.57.3", - "@sanity/mutator": "3.57.3", - "@sanity/presentation": "1.16.5", - "@sanity/schema": "3.57.3", + "@sanity/migrate": "3.63.0", + "@sanity/mutator": "3.63.0", + "@sanity/presentation": "1.17.8", + "@sanity/schema": "3.63.0", "@sanity/telemetry": "^0.7.7", - "@sanity/types": "3.57.3", - "@sanity/ui": "^2.8.9", - "@sanity/util": "3.57.3", + "@sanity/types": "3.63.0", + "@sanity/ui": "^2.8.19", + "@sanity/util": "3.63.0", "@sanity/uuid": "^3.0.1", "@sentry/react": "^8.7.0", "@tanstack/react-table": "^8.16.0", @@ -23948,7 +24068,7 @@ "framer-motion": "11.0.8", "get-it": "^8.6.5", "get-random-values-esm": "1.0.2", - "groq-js": "^1.13.0", + "groq-js": "^1.14.0", "history": "^5.3.0", "i18next": "^23.2.7", "import-fresh": "^3.3.0", @@ -23981,7 +24101,7 @@ "react-i18next": "14.0.2", "react-is": "^18.2.0", "react-refractor": "^2.1.6", - "react-rx": "^4.0.0", + "react-rx": "^4.1.3", "read-pkg-up": "^7.0.1", "refractor": "^3.6.0", "resolve-from": "^5.0.0", @@ -23989,7 +24109,7 @@ "rimraf": "^3.0.2", "rxjs": "^7.8.0", "rxjs-exhaustmap-with-trailing": "^2.1.1", - "sanity-diff-patch": "^3.0.2", + "sanity-diff-patch": "^4.0.0", "scroll-into-view-if-needed": "^3.0.3", "semver": "^7.3.5", "shallow-equals": "^1.0.0", @@ -24015,15 +24135,14 @@ } }, "node_modules/sanity-diff-patch": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/sanity-diff-patch/-/sanity-diff-patch-3.0.2.tgz", - "integrity": "sha512-Vsx6IPuMepvfaX2/jOFuUrJaloHvSmXavS9SL3iJhhIPAu20VfumCtdH5kpKlXKL1pBgCAZhWHXfLC4Fyg7qFg==", - "license": "MIT", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/sanity-diff-patch/-/sanity-diff-patch-4.0.0.tgz", + "integrity": "sha512-1OOTx/Uw0J3rwNkI4J/4XJfTGb2Rze/gl5jJGRw+M2hRGkp1QEu2wFHiC9adj83ABYthOczBCBpTHHeZluctdw==", "dependencies": { - "@sanity/diff-match-patch": "^3.0.0" + "@sanity/diff-match-patch": "^3.1.1" }, "engines": { - "node": ">=14.18" + "node": ">=18.2" } }, "node_modules/sanity-plugin-internationalized-array": { @@ -24194,11 +24313,18 @@ "styled-components": "^6.1.11" } }, + "node_modules/sanity/node_modules/@sanity/asset-utils": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/@sanity/asset-utils/-/asset-utils-2.1.0.tgz", + "integrity": "sha512-++d7UEnu72eKpBBozXAFwBgsGs/AEB4uc3a3BDin9l/aomdTtI2vJQJhcriQQvUeqJnTTF3Cxa5zl/V1vau/PA==", + "engines": { + "node": ">=18" + } + }, "node_modules/sanity/node_modules/@sanity/icons": { "version": "3.4.0", "resolved": "https://registry.npmjs.org/@sanity/icons/-/icons-3.4.0.tgz", "integrity": "sha512-X8BMM68w3y5cuCLpPwV7jGhVNGgAL/FA3UI6JaRCsyVOahA6aBOeKdjFs5MHtKi8cmrKwq1a98h/HbrK56kszA==", - "license": "MIT", "engines": { "node": ">=14.0.0" }, @@ -24206,25 +24332,6 @@ "react": "^18.3 || >=19.0.0-rc" } }, - "node_modules/sanity/node_modules/@sanity/insert-menu": { - "version": "1.0.9", - "resolved": "https://registry.npmjs.org/@sanity/insert-menu/-/insert-menu-1.0.9.tgz", - "integrity": "sha512-NP/CaBPS5qwUJ/nSmgDSmDME5a6PVq9DhaEOKC2ux8Jhuab5tRXx8y2Nbrcw3muZdwmSY4HpkLNVoTdtmpgBcg==", - "dependencies": { - "@sanity/icons": "^3.4.0", - "@sanity/ui": "^2.8.9", - "lodash.startcase": "^4.4.0" - }, - "engines": { - "node": ">=18.0.0" - }, - "peerDependencies": { - "@sanity/types": "^3.57.2", - "react": "^18.3 || >=19.0.0-rc", - "react-dom": "^18.3 || >=19.0.0-rc", - "react-is": "^18.3 || >=19.0.0-rc" - } - }, "node_modules/sanity/node_modules/ansi-styles": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", @@ -24506,7 +24613,6 @@ "version": "3.1.0", "resolved": "https://registry.npmjs.org/scroll-into-view-if-needed/-/scroll-into-view-if-needed-3.1.0.tgz", "integrity": "sha512-49oNpRjWRvnU8NyGVmUaYG4jtTkNonFZI86MmGRDqBphEK2EXT9gdEUoQPZhuBM8yWHxCWbobltqYO5M4XrUvQ==", - "license": "MIT", "dependencies": { "compute-scroll-into-view": "^3.0.2" } @@ -24693,7 +24799,6 @@ "version": "3.0.1", "resolved": "https://registry.npmjs.org/shallow-clone/-/shallow-clone-3.0.1.tgz", "integrity": "sha512-/6KqX+GVUdqPuPPd2LxDDxzX6CAbjJehAAOKlNpqqUpAqPM6HeL8f+o3a+JsyGjn2lv0WY8UsTgUJjU9Ok55NA==", - "license": "MIT", "dependencies": { "kind-of": "^6.0.2" }, @@ -24875,21 +24980,41 @@ } }, "node_modules/slate": { - "version": "0.103.0", - "resolved": "https://registry.npmjs.org/slate/-/slate-0.103.0.tgz", - "integrity": "sha512-eCUOVqUpADYMZ59O37QQvUdnFG+8rin0OGQAXNHvHbQeVJ67Bu0spQbcy621vtf8GQUXTEQBlk6OP9atwwob4w==", - "license": "MIT", + "version": "0.110.2", + "resolved": "https://registry.npmjs.org/slate/-/slate-0.110.2.tgz", + "integrity": "sha512-4xGULnyMCiEQ0Ml7JAC1A6HVE6MNpPJU7Eq4cXh1LxlrR0dFXC3XC+rNfQtUJ7chHoPkws57x7DDiWiZAt+PBA==", "dependencies": { "immer": "^10.0.3", "is-plain-object": "^5.0.0", "tiny-warning": "^1.0.3" } }, + "node_modules/slate-dom": { + "version": "0.111.0", + "resolved": "https://registry.npmjs.org/slate-dom/-/slate-dom-0.111.0.tgz", + "integrity": "sha512-VjeBh2xIRvP6ToEhrO1TPahc5fPezxbeSUhsRTppBPtHfidEdyp/MTI9TjUrZnlznJiVZ7QKrORXilFq8hsbtQ==", + "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", + "tiny-invariant": "1.3.1" + }, + "peerDependencies": { + "slate": ">=0.99.0" + } + }, + "node_modules/slate-dom/node_modules/tiny-invariant": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/tiny-invariant/-/tiny-invariant-1.3.1.tgz", + "integrity": "sha512-AD5ih2NlSssTCwsMznbvwMZpJ1cbhkGd2uueNxzv2jDlEeZdU04JQfRnggJQ8DrcVBGjAsCKwFBbDlVNtEMlzw==" + }, "node_modules/slate-react": { - "version": "0.108.0", - "resolved": "https://registry.npmjs.org/slate-react/-/slate-react-0.108.0.tgz", - "integrity": "sha512-vzQuQ1t/gR+1pJh9ABbU4rgckPK0A1AZV5iVKO3isBpJ9z5xPCXf6hqnCNIogMvLU0pZIjjyQJVSL2OtxrQ/xA==", - "license": "MIT", + "version": "0.111.0", + "resolved": "https://registry.npmjs.org/slate-react/-/slate-react-0.111.0.tgz", + "integrity": "sha512-DiiVSYn+dilx0j40FjaaHiG2KbaX4lZfTdEnYvUJMnpc+d9evcuO2nV6KCDQOtS6xr4w0sBzQMxrpGlA5alKww==", "dependencies": { "@juggle/resize-observer": "^3.4.0", "direction": "^1.0.4", @@ -24902,14 +25027,14 @@ "peerDependencies": { "react": ">=18.2.0", "react-dom": ">=18.2.0", - "slate": ">=0.99.0" + "slate": ">=0.99.0", + "slate-dom": ">=0.110.2" } }, "node_modules/slate-react/node_modules/tiny-invariant": { "version": "1.3.1", "resolved": "https://registry.npmjs.org/tiny-invariant/-/tiny-invariant-1.3.1.tgz", - "integrity": "sha512-AD5ih2NlSssTCwsMznbvwMZpJ1cbhkGd2uueNxzv2jDlEeZdU04JQfRnggJQ8DrcVBGjAsCKwFBbDlVNtEMlzw==", - "license": "MIT" + "integrity": "sha512-AD5ih2NlSssTCwsMznbvwMZpJ1cbhkGd2uueNxzv2jDlEeZdU04JQfRnggJQ8DrcVBGjAsCKwFBbDlVNtEMlzw==" }, "node_modules/source-map": { "version": "0.7.4", @@ -25533,10 +25658,9 @@ "license": "MIT" }, "node_modules/styled-components": { - "version": "6.1.12", - "resolved": "https://registry.npmjs.org/styled-components/-/styled-components-6.1.12.tgz", - "integrity": "sha512-n/O4PzRPhbYI0k1vKKayfti3C/IGcPf+DqcrOB7O/ab9x4u/zjqraneT5N45+sIe87cxrCApXM8Bna7NYxwoTA==", - "license": "MIT", + "version": "6.1.13", + "resolved": "https://registry.npmjs.org/styled-components/-/styled-components-6.1.13.tgz", + "integrity": "sha512-M0+N2xSnAtwcVAQeFEsGWFFxXDftHUD7XrKla06QbpUMmbmtFBMMTcKWvFXtWxuD5qQkB8iU5gk6QASlx2ZRMw==", "dependencies": { "@emotion/is-prop-valid": "1.2.2", "@emotion/unitless": "0.8.1", @@ -26082,8 +26206,7 @@ "node_modules/tiny-warning": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/tiny-warning/-/tiny-warning-1.0.3.tgz", - "integrity": "sha512-lBN9zLN/oAf68o3zNXYrdCt1kP8WsiGW8Oo2ka41b2IM5JL/S1CTyX1rW0mb/zSuJun0ZUrDxx4sqvYS2FWzPA==", - "license": "MIT" + "integrity": "sha512-lBN9zLN/oAf68o3zNXYrdCt1kP8WsiGW8Oo2ka41b2IM5JL/S1CTyX1rW0mb/zSuJun0ZUrDxx4sqvYS2FWzPA==" }, "node_modules/tinyrainbow": { "version": "1.2.0", @@ -27018,6 +27141,11 @@ "node": ">=10.12.0" } }, + "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", @@ -28131,6 +28259,15 @@ "node": "*" } }, + "node_modules/xstate": { + "version": "5.18.2", + "resolved": "https://registry.npmjs.org/xstate/-/xstate-5.18.2.tgz", + "integrity": "sha512-hab5VOe29D0agy8/7dH1lGw+7kilRQyXwpaChoMu4fe6rDP+nsHYhDYKfS2O4iXE7myA98TW6qMEudj/8NXEkA==", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/xstate" + } + }, "node_modules/xtend": { "version": "4.0.2", "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz", diff --git a/package.json b/package.json index ef184eafd..bb6cbf450 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.8", "next-sanity-image": "^6.1.1", "react": "^18.3.1", "react-dom": "^18.3.1",