From 1e9214a7ce945aff2f12bd3b8d983f037e57e1ee Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Thu, 30 Nov 2023 00:36:15 +0100
Subject: [PATCH] chore(deps): update dependency next-sanity to v7 (#386)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
 package-lock.json | 123 ++++++----------------------------------------
 package.json      |   2 +-
 2 files changed, 16 insertions(+), 109 deletions(-)

diff --git a/package-lock.json b/package-lock.json
index 89ba6692c..2d23ba498 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -17,7 +17,7 @@
         "date-fns": "2.30.0",
         "intl-segmenter-polyfill": "0.4.4",
         "next": "14.0.3",
-        "next-sanity": "6.1.3",
+        "next-sanity": "7.0.0",
         "next-sanity-image": "6.1.1",
         "react": "18.2.0",
         "react-dom": "18.2.0",
@@ -1719,25 +1719,6 @@
       "resolved": "https://registry.npmjs.org/@sanity/generate-help-url/-/generate-help-url-3.0.0.tgz",
       "integrity": "sha512-wtMYcV5GIDIhVyF/jjmdwq1GdlK07dRL40XMns73VbrFI7FteRltxv48bhYVZPcLkRXb0SHjpDS/icj9/yzbVA=="
     },
-    "node_modules/@sanity/groq-store": {
-      "version": "4.1.3",
-      "resolved": "https://registry.npmjs.org/@sanity/groq-store/-/groq-store-4.1.3.tgz",
-      "integrity": "sha512-Yh3zbCkpnrowIG8+tMoZHGxV9HFMWVlZ4zhNfF1Y2rygi14SJteV+ildrlq3/OFq9/Y/cc6iXSD/+U6dErIpNw==",
-      "dependencies": {
-        "@sanity/eventsource": "^5.0.0",
-        "@sanity/types": "^3.14.5",
-        "fast-deep-equal": "3.1.3",
-        "groq": "^3.14.5",
-        "groq-js": "1.3.0",
-        "mendoza": "3.0.3",
-        "simple-get": "4.0.1",
-        "split2": "4.2.0",
-        "throttle-debounce": "5.0.0"
-      },
-      "engines": {
-        "node": ">= 18"
-      }
-    },
     "node_modules/@sanity/icons": {
       "version": "2.7.0",
       "resolved": "https://registry.npmjs.org/@sanity/icons/-/icons-2.7.0.tgz",
@@ -2012,13 +1993,11 @@
       }
     },
     "node_modules/@sanity/preview-kit": {
-      "version": "4.0.2",
-      "resolved": "https://registry.npmjs.org/@sanity/preview-kit/-/preview-kit-4.0.2.tgz",
-      "integrity": "sha512-5UE2BhGT/HnnS/XkgdrdiJTxBNKAUw1OSdEpwvWwZeThDr5C3gVhv7X/XNjZsAo3jIeteTiQupB2C0MEfhDOPg==",
+      "version": "5.0.0",
+      "resolved": "https://registry.npmjs.org/@sanity/preview-kit/-/preview-kit-5.0.0.tgz",
+      "integrity": "sha512-dj2HZvfkInoIQLwFPoFfYHBQaUvEDC5TgW3EjX/zSbJmd2+JFRNSLinuEi7jeyMytT+zSaAP3NxvevVe+jMvNw==",
       "dependencies": {
-        "@sanity/eventsource": "5.0.1",
-        "@sanity/groq-store": "4.1.3",
-        "@sanity/preview-kit-compat": "1.0.1",
+        "@sanity/preview-kit-compat": "1.0.2",
         "@vercel/stega": "0.1.0",
         "lru-cache": "10.1.0",
         "mendoza": "3.0.3",
@@ -2039,14 +2018,14 @@
       }
     },
     "node_modules/@sanity/preview-kit-compat": {
-      "version": "1.0.1",
-      "resolved": "https://registry.npmjs.org/@sanity/preview-kit-compat/-/preview-kit-compat-1.0.1.tgz",
-      "integrity": "sha512-+GTC88roy4lvnlQYypFs6xSTQgBSw6bYfWKFQcjW37ZzOGXOZxnosYM3IYn8wev8+01RqNiuVzwVVKfPHi/EFA==",
+      "version": "1.0.2",
+      "resolved": "https://registry.npmjs.org/@sanity/preview-kit-compat/-/preview-kit-compat-1.0.2.tgz",
+      "integrity": "sha512-TnmbxyKDJiWVBx0ByI4MfyZUJoAWwBoq1Luh1dRsiVrXMubxw7/N22PjLnmNb4SyFCqJpVZ4KWufURD2QRCKoA==",
       "engines": {
         "node": ">=18"
       },
       "peerDependencies": {
-        "@sanity/client": "^6.8.6",
+        "@sanity/client": "^6.9.1",
         "react": "^18.2.0"
       }
     },
@@ -4879,7 +4858,8 @@
     "node_modules/fast-deep-equal": {
       "version": "3.1.3",
       "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz",
-      "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q=="
+      "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==",
+      "dev": true
     },
     "node_modules/fast-glob": {
       "version": "3.3.1",
@@ -7042,12 +7022,12 @@
       }
     },
     "node_modules/next-sanity": {
-      "version": "6.1.3",
-      "resolved": "https://registry.npmjs.org/next-sanity/-/next-sanity-6.1.3.tgz",
-      "integrity": "sha512-U5GWPHZ1OhmaxjvXIiy+QWB05iILC1tf/caKR25mUFxoNp4nCxCpDRRLqo3fxi95CHbZLFa8HCPdDKoh2VTilA==",
+      "version": "7.0.0",
+      "resolved": "https://registry.npmjs.org/next-sanity/-/next-sanity-7.0.0.tgz",
+      "integrity": "sha512-k5b9HWhNjnr/rCT/DbLiuc01SreCT5gcRnyGWEvQ0xv5lfhdQT++lY5PgeTrqNsNA+R7A7Yn4pNcCKw27bnFuQ==",
       "dependencies": {
         "@sanity/client": "^6.9.1",
-        "@sanity/preview-kit": "4.0.2",
+        "@sanity/preview-kit": "5.0.0",
         "@sanity/webhook": "4.0.0",
         "groq": "^3.19"
       },
@@ -8977,63 +8957,6 @@
       "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz",
       "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ=="
     },
-    "node_modules/simple-concat": {
-      "version": "1.0.1",
-      "resolved": "https://registry.npmjs.org/simple-concat/-/simple-concat-1.0.1.tgz",
-      "integrity": "sha512-cSFtAPtRhljv69IK0hTVZQ+OfE9nePi/rtJmw5UjHeVyVroEqJXP1sFztKUy1qU+xvz3u/sfYJLa947b7nAN2Q==",
-      "funding": [
-        {
-          "type": "github",
-          "url": "https://github.com/sponsors/feross"
-        },
-        {
-          "type": "patreon",
-          "url": "https://www.patreon.com/feross"
-        },
-        {
-          "type": "consulting",
-          "url": "https://feross.org/support"
-        }
-      ]
-    },
-    "node_modules/simple-get": {
-      "version": "4.0.1",
-      "resolved": "https://registry.npmjs.org/simple-get/-/simple-get-4.0.1.tgz",
-      "integrity": "sha512-brv7p5WgH0jmQJr1ZDDfKDOSeWWg+OVypG99A/5vYGPqJ6pxiaHLy8nxtFjBA7oMa01ebA9gfh1uMCFqOuXxvA==",
-      "funding": [
-        {
-          "type": "github",
-          "url": "https://github.com/sponsors/feross"
-        },
-        {
-          "type": "patreon",
-          "url": "https://www.patreon.com/feross"
-        },
-        {
-          "type": "consulting",
-          "url": "https://feross.org/support"
-        }
-      ],
-      "dependencies": {
-        "decompress-response": "^6.0.0",
-        "once": "^1.3.1",
-        "simple-concat": "^1.0.0"
-      }
-    },
-    "node_modules/simple-get/node_modules/decompress-response": {
-      "version": "6.0.0",
-      "resolved": "https://registry.npmjs.org/decompress-response/-/decompress-response-6.0.0.tgz",
-      "integrity": "sha512-aW35yZM6Bb/4oJlZncMH2LCoZtJXTRxES17vE3hoRiowU2kWHaJKFkSBDnDR+cm9J+9QhXmREyIfv0pji9ejCQ==",
-      "dependencies": {
-        "mimic-response": "^3.1.0"
-      },
-      "engines": {
-        "node": ">=10"
-      },
-      "funding": {
-        "url": "https://github.com/sponsors/sindresorhus"
-      }
-    },
     "node_modules/simple-wcswidth": {
       "version": "1.0.1",
       "resolved": "https://registry.npmjs.org/simple-wcswidth/-/simple-wcswidth-1.0.1.tgz",
@@ -9205,14 +9128,6 @@
       "resolved": "https://registry.npmjs.org/speedometer/-/speedometer-1.0.0.tgz",
       "integrity": "sha512-lgxErLl/7A5+vgIIXsh9MbeukOaCb2axgQ+bKCdIE+ibNT4XNYGNCR1qFEGq6F+YDASXK3Fh/c5FgtZchFolxw=="
     },
-    "node_modules/split2": {
-      "version": "4.2.0",
-      "resolved": "https://registry.npmjs.org/split2/-/split2-4.2.0.tgz",
-      "integrity": "sha512-UcjcJOWknrNkF6PLX83qcHM6KHgVKNkV62Y8a5uYDVv9ydGQVwAHMKqHdJje1VTWpljG0WYpCDhrCdAOYH4TWg==",
-      "engines": {
-        "node": ">= 10.x"
-      }
-    },
     "node_modules/stream-each": {
       "version": "1.2.3",
       "resolved": "https://registry.npmjs.org/stream-each/-/stream-each-1.2.3.tgz",
@@ -9660,14 +9575,6 @@
         "node": ">=0.8"
       }
     },
-    "node_modules/throttle-debounce": {
-      "version": "5.0.0",
-      "resolved": "https://registry.npmjs.org/throttle-debounce/-/throttle-debounce-5.0.0.tgz",
-      "integrity": "sha512-2iQTSgkkc1Zyk0MeVrt/3BvuOXYPl/R8Z0U2xxo9rjwNciaHDG3R+Lm6dh4EeUci49DanvBnuqI6jshoQQRGEg==",
-      "engines": {
-        "node": ">=12.22"
-      }
-    },
     "node_modules/through2": {
       "version": "2.0.5",
       "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.5.tgz",
diff --git a/package.json b/package.json
index 5db179b86..15eae1e9a 100644
--- a/package.json
+++ b/package.json
@@ -26,7 +26,7 @@
     "date-fns": "2.30.0",
     "intl-segmenter-polyfill": "0.4.4",
     "next": "14.0.3",
-    "next-sanity": "6.1.3",
+    "next-sanity": "7.0.0",
     "next-sanity-image": "6.1.1",
     "react": "18.2.0",
     "react-dom": "18.2.0",