diff --git a/package-lock.json b/package-lock.json index e53d9ab5..3b8b95e0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6,11 +6,11 @@ "": { "name": "nextjs-blog-cms-sanity-v3", "dependencies": { - "@sanity/client": "6.27.1", + "@sanity/client": "6.27.2", "@sanity/icons": "3.5.7", "@sanity/image-url": "1.1.0", "@sanity/vision": "3.71.2", - "@sanity/visual-editing": "2.12.9", + "@sanity/visual-editing": "2.12.10", "@sanity/webhook": "4.0.4", "@vercel/og": "0.6.5", "classnames": "2.5.1", @@ -18,13 +18,13 @@ "groq": "3.71.2", "intl-segmenter-polyfill": "0.4.4", "next": "14.2.23", - "next-sanity": "9.8.43", + "next-sanity": "9.8.44", "next-sanity-image": "6.1.1", "react": "18.3.1", "react-dom": "18.3.1", "sanity": "3.71.2", "sanity-plugin-asset-source-unsplash": "3.0.2", - "sanity-plugin-iframe-pane": "3.1.6", + "sanity-plugin-iframe-pane": "3.2.0", "styled-components": "6.1.14", "swr": "2.3.0" }, @@ -2108,6 +2108,7 @@ "resolved": "https://registry.npmjs.org/@emotion/is-prop-valid/-/is-prop-valid-0.8.8.tgz", "integrity": "sha512-u5WtneEAr5IDG2Wv65yhunPSMLIpuKsbuOktRojfrEiEvRyC85LgPMZI63cr7NUqT8ZIGdSVg8ZKGxIug4lXcA==", "optional": true, + "peer": true, "dependencies": { "@emotion/memoize": "0.7.4" } @@ -2116,7 +2117,8 @@ "version": "0.7.4", "resolved": "https://registry.npmjs.org/@emotion/memoize/-/memoize-0.7.4.tgz", "integrity": "sha512-Ja/Vfqe3HpuzRsG1oBtWTHk2PGZ7GR+2Vz5iYGelAw8dx32K0y7PjVuxK6z1nMpZOqAFsRUPCkK1YjJ56qJlgw==", - "optional": true + "optional": true, + "peer": true }, "node_modules/@emotion/unitless": { "version": "0.8.1", @@ -4195,13 +4197,13 @@ } }, "node_modules/@sanity/client": { - "version": "6.27.1", - "resolved": "https://registry.npmjs.org/@sanity/client/-/client-6.27.1.tgz", - "integrity": "sha512-cXRvXa6Sp/O2Bto0pCKhSfKxiF1ItO+PXwIKfKtMuUa35rgPWRzax9ddXNG0vR9k1Qggh4hn9yPZ8mstu4J2BA==", + "version": "6.27.2", + "resolved": "https://registry.npmjs.org/@sanity/client/-/client-6.27.2.tgz", + "integrity": "sha512-x5KaN5atPnEFa3GGSH3YKSAYh1MAECvEs9o+NSLd5W19imxvSxPquQBv0Q60Zdsg6iaTJPAAa79Ak5Xyg2FHvA==", "license": "MIT", "dependencies": { "@sanity/eventsource": "^5.0.2", - "get-it": "^8.6.6", + "get-it": "^8.6.7", "rxjs": "^7.0.0" }, "engines": { @@ -5393,25 +5395,25 @@ } }, "node_modules/@sanity/presentation-comlink": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/@sanity/presentation-comlink/-/presentation-comlink-1.0.3.tgz", - "integrity": "sha512-3iQ3VgJl3vEzdILKtpEY9nt7cViekIf50Mfg7Z5Z3jzjJyVpmnfL2vdUtt8iWzixXDwON2XBNvSpEulksS9SHg==", + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/@sanity/presentation-comlink/-/presentation-comlink-1.0.4.tgz", + "integrity": "sha512-TqXTjVPM8vRFXpATZ5eRPv9vGp3XsStGcW1SB3csXekNTEJSdP/VgWqtaMTsrtE4tYYcYPe1kB2DsbnE5k0Sxg==", "license": "MIT", "dependencies": { "@sanity/comlink": "^3.0.1", - "@sanity/visual-editing-types": "^1.0.3" + "@sanity/visual-editing-types": "^1.0.4" }, "engines": { "node": ">=18" }, "peerDependencies": { - "@sanity/client": "^6.27.0" + "@sanity/client": "^6.27.2" } }, "node_modules/@sanity/preview-kit": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/@sanity/preview-kit/-/preview-kit-5.2.0.tgz", - "integrity": "sha512-b0rclHjW5g6yOeYwFOoUNZlHpOkRRCFDIYoCbMu0QVwCv4oPu9PvCNrrPiqB8RMIHrZl03jQ2QeHlCGQdBH2iA==", + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/@sanity/preview-kit/-/preview-kit-5.2.1.tgz", + "integrity": "sha512-cLocwvz2PJwpiRftGRYh5V13pwiMBSDEPwzeLjFcvlYQaH5LJ3q83BywGRb0oB8aPeYAwPqUWympKDGUrIA3kg==", "license": "MIT", "dependencies": { "@sanity/comlink": "^3.0.1", @@ -5669,16 +5671,16 @@ } }, "node_modules/@sanity/visual-editing": { - "version": "2.12.9", - "resolved": "https://registry.npmjs.org/@sanity/visual-editing/-/visual-editing-2.12.9.tgz", - "integrity": "sha512-x6vl4kwxDWqS6B0owrUMsqQ4TKE9/eGQvtLwpg4eL1o5DEqBVpBvj0j0ClhZu9KMw2gWk7+T8MD93aZueeXfEg==", + "version": "2.12.10", + "resolved": "https://registry.npmjs.org/@sanity/visual-editing/-/visual-editing-2.12.10.tgz", + "integrity": "sha512-mrq0xjVXcWifiaJA7b3lLl1VqmxAHtSQ05Xmp4ffneGnwllx3k6j5y9Yn2LWfIwNN+7W4ofWj6TIATkExLFklg==", "license": "MIT", "dependencies": { "@sanity/comlink": "^3.0.1", "@sanity/mutate": "0.11.0-canary.4", - "@sanity/presentation-comlink": "^1.0.3", - "@sanity/preview-url-secret": "^2.1.3", - "@sanity/visual-editing-csm": "^2.0.1", + "@sanity/presentation-comlink": "^1.0.4", + "@sanity/preview-url-secret": "^2.1.4", + "@sanity/visual-editing-csm": "^2.0.2", "@vercel/stega": "0.1.2", "get-random-values-esm": "^1.0.2", "rxjs": "^7.8.1", @@ -5692,7 +5694,7 @@ }, "peerDependencies": { "@remix-run/react": ">= 2", - "@sanity/client": "^6.27.1", + "@sanity/client": "^6.27.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", @@ -5722,31 +5724,31 @@ } }, "node_modules/@sanity/visual-editing-csm": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/@sanity/visual-editing-csm/-/visual-editing-csm-2.0.1.tgz", - "integrity": "sha512-06dhFMAypNOsogFeoenZKN7zpffiVEEcsQ19zFWxRH44T5QnE0JEhiNKyU6qXrv0dRoR6GOfMf9f7fKuR86B9Q==", + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/@sanity/visual-editing-csm/-/visual-editing-csm-2.0.2.tgz", + "integrity": "sha512-Trk9cosL/mwx9wMPIMcPulf66Yodil0Z+KVM9h4NfI9lj5LbIzp5jejOnZqLr1HASQik0JG7k8azJJR8fdSiqg==", "license": "MIT", "dependencies": { - "@sanity/visual-editing-types": "^1.0.3", + "@sanity/visual-editing-types": "^1.0.4", "valibot": "0.31.1" }, "engines": { "node": ">=18" }, "peerDependencies": { - "@sanity/client": "^6.27.0" + "@sanity/client": "^6.27.2" } }, "node_modules/@sanity/visual-editing-types": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/@sanity/visual-editing-types/-/visual-editing-types-1.0.3.tgz", - "integrity": "sha512-jtCwzSZdXRYurk9LpC2tvSSuBBOe/mKW4fkeiOqk/I5FU7X3lEHCMXw4xlfZX6ZXzEOjFUQKEb6MKsrjRU595w==", + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/@sanity/visual-editing-types/-/visual-editing-types-1.0.4.tgz", + "integrity": "sha512-zg4fObu+okPBD4/xAYF1IQjvtDTmRzS2eRFYvqG+TGHGygNIZjIx0obZAMioXvUoTZqy3eZzyzyadbsYM/w0RA==", "license": "MIT", "engines": { "node": ">=18" }, "peerDependencies": { - "@sanity/client": "^6.27.0", + "@sanity/client": "^6.27.2", "@sanity/types": "*" }, "peerDependenciesMeta": { @@ -5781,6 +5783,21 @@ } } }, + "node_modules/@sanity/visual-editing/node_modules/@sanity/preview-url-secret": { + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/@sanity/preview-url-secret/-/preview-url-secret-2.1.4.tgz", + "integrity": "sha512-D66VcYbGGXIkF4VQrvWo61l921LdyHKZgg5PYH0ZHcAE/wTXrMIM93I70jOp1DpN913c0vJ1sLxbLCbrEk7n8Q==", + "license": "MIT", + "dependencies": { + "@sanity/uuid": "3.0.2" + }, + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "@sanity/client": "^6.27.2" + } + }, "node_modules/@sanity/webhook": { "version": "4.0.4", "resolved": "https://registry.npmjs.org/@sanity/webhook/-/webhook-4.0.4.tgz", @@ -10004,29 +10021,6 @@ "url": "https://github.com/sponsors/rawify" } }, - "node_modules/framer-motion": { - "version": "11.0.8", - "resolved": "https://registry.npmjs.org/framer-motion/-/framer-motion-11.0.8.tgz", - "integrity": "sha512-1KSGNuqe1qZkS/SWQlDnqK2VCVzRVEoval379j0FiUBJAZoqgwyvqFkfvJbgW2IPFo4wX16K+M0k5jO23lCIjA==", - "dependencies": { - "tslib": "^2.4.0" - }, - "optionalDependencies": { - "@emotion/is-prop-valid": "^0.8.2" - }, - "peerDependencies": { - "react": "^18.0.0", - "react-dom": "^18.0.0" - }, - "peerDependenciesMeta": { - "react": { - "optional": true - }, - "react-dom": { - "optional": true - } - } - }, "node_modules/from2": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/from2/-/from2-2.3.0.tgz", @@ -10190,9 +10184,9 @@ } }, "node_modules/get-it": { - "version": "8.6.6", - "resolved": "https://registry.npmjs.org/get-it/-/get-it-8.6.6.tgz", - "integrity": "sha512-2YKp5J+/x7VE9n8n6QGF6+gE4o1WOVSWrJd/C79JFqPlzHzWx/JQS6L49STWwqmkonkrXHhohQ/PkaI2o7l01g==", + "version": "8.6.7", + "resolved": "https://registry.npmjs.org/get-it/-/get-it-8.6.7.tgz", + "integrity": "sha512-AMEotvykAlcEPTPmYeZPqr9w3K53Ni8z1tplo1mwNS8T4i/gr5T7mSfvaLhhIQhF+0thIH901kLdDA5d5bvDGA==", "license": "MIT", "dependencies": { "@types/follow-redirects": "^1.14.4", @@ -12513,15 +12507,15 @@ } }, "node_modules/next-sanity": { - "version": "9.8.43", - "resolved": "https://registry.npmjs.org/next-sanity/-/next-sanity-9.8.43.tgz", - "integrity": "sha512-yvhm2fF/DTODlt/UzXUYrnYrm+syWmj1YK0xuYfdrzBMXtekI8bwzBzisy9IrKAMXooiU7i2ZT9BEaUkPlzEvQ==", + "version": "9.8.44", + "resolved": "https://registry.npmjs.org/next-sanity/-/next-sanity-9.8.44.tgz", + "integrity": "sha512-uoyKB6xYgSa2miXvtXvE4La8nfVrjXVXsgFJsCmBlmvDHJxn8SkJ+hCZq0FeqBhVtWDKeXWTYZQU8gvSEydQZw==", "license": "MIT", "dependencies": { "@portabletext/react": "^3.2.0", "@sanity/client": "^6.27.1", "@sanity/next-loader": "1.2.19", - "@sanity/preview-kit": "5.2.0", + "@sanity/preview-kit": "5.2.1", "@sanity/preview-url-secret": "2.1.3", "@sanity/visual-editing": "2.12.9", "groq": "^3.71.2", @@ -12554,6 +12548,85 @@ "react": "^18.0.0" } }, + "node_modules/next-sanity/node_modules/@sanity/mutate": { + "version": "0.11.0-canary.4", + "resolved": "https://registry.npmjs.org/@sanity/mutate/-/mutate-0.11.0-canary.4.tgz", + "integrity": "sha512-82jU3PvxQepY+jVJU1WaXQOf2Q9Q/fOCE2ksJZ4cnH3/WFOsg7RceYoOWb1XKthchTCD9zSBS9DRmb7FQ0Jlsg==", + "license": "MIT", + "dependencies": { + "@sanity/client": "^6.22.4", + "@sanity/diff-match-patch": "^3.1.1", + "hotscript": "^1.0.13", + "lodash": "^4.17.21", + "lodash-es": "^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/visual-editing": { + "version": "2.12.9", + "resolved": "https://registry.npmjs.org/@sanity/visual-editing/-/visual-editing-2.12.9.tgz", + "integrity": "sha512-x6vl4kwxDWqS6B0owrUMsqQ4TKE9/eGQvtLwpg4eL1o5DEqBVpBvj0j0ClhZu9KMw2gWk7+T8MD93aZueeXfEg==", + "license": "MIT", + "dependencies": { + "@sanity/comlink": "^3.0.1", + "@sanity/mutate": "0.11.0-canary.4", + "@sanity/presentation-comlink": "^1.0.3", + "@sanity/preview-url-secret": "^2.1.3", + "@sanity/visual-editing-csm": "^2.0.1", + "@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.19.2" + }, + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "@remix-run/react": ">= 2", + "@sanity/client": "^6.27.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/node_modules/postcss": { "version": "8.4.31", "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.31.tgz", @@ -14863,53 +14936,79 @@ } }, "node_modules/sanity-plugin-iframe-pane": { - "version": "3.1.6", - "resolved": "https://registry.npmjs.org/sanity-plugin-iframe-pane/-/sanity-plugin-iframe-pane-3.1.6.tgz", - "integrity": "sha512-D+aEs+rIuVprcPSuqNNRiEr7OHZoc+zqhWU5cdaxUDe5XNtM4mJXwdofVLMibbp2g6rrAAWGSE9zY7l+R9swhA==", + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/sanity-plugin-iframe-pane/-/sanity-plugin-iframe-pane-3.2.0.tgz", + "integrity": "sha512-bTKm5mGocRMghfNpLSzS/Q24oGv33thcgQztsDsE33y+VjEtmuzVUZr+jgvp1oTZdvCYkOkcfe84IMLyeVbedA==", + "license": "MIT", "dependencies": { - "@sanity/icons": "^2.7.0", - "@sanity/incompatible-plugin": "^1.0.4", - "@sanity/preview-url-secret": "^1.6.4", - "@sanity/ui": "^2.0.10", - "framer-motion": "11.0.8", - "suspend-react": "0.1.3", - "usehooks-ts": "3.0.1" + "@sanity/icons": "^3.5.7", + "@sanity/incompatible-plugin": "^1.0.5", + "@sanity/preview-url-secret": "^2.1.3", + "@sanity/ui": "^2.11.6", + "framer-motion": "^12.0.6", + "suspend-react": "0.1.3" }, "engines": { - "node": ">=14" + "node": ">=18" }, "peerDependencies": { - "react": "^18.2.0", - "sanity": "^3.20.0", - "styled-components": "^5.2 || ^6.0.0" + "react": "^18.3 || ^19", + "sanity": "^3.71", + "styled-components": "^5.2 || ^6" } }, - "node_modules/sanity-plugin-iframe-pane/node_modules/@sanity/icons": { - "version": "2.11.8", - "resolved": "https://registry.npmjs.org/@sanity/icons/-/icons-2.11.8.tgz", - "integrity": "sha512-C4ViXtk6eyiNTQ5OmxpfmcK6Jw+LLTi9zg9XBUD15DzC4xTHaGW9SVfUa43YtPGs3WC3M0t0K59r0GDjh52HIg==", - "engines": { - "node": ">=14.0.0" - }, + "node_modules/sanity-plugin-iframe-pane/node_modules/@sanity/incompatible-plugin": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/@sanity/incompatible-plugin/-/incompatible-plugin-1.0.5.tgz", + "integrity": "sha512-9JGAacbElUPy9Chghd+sllIiM3jAcraZdD65bWYWUVKkghOsf1L/+jFLz1rcAuvrA9o2s7Y+T75BNcXuLwRcvw==", + "license": "MIT", "peerDependencies": { - "react": "^18" + "react": "^16.9 || ^17 || ^18 || ^19", + "react-dom": "^16.9 || ^17 || ^18 || ^19" } }, - "node_modules/sanity-plugin-iframe-pane/node_modules/@sanity/preview-url-secret": { - "version": "1.6.21", - "resolved": "https://registry.npmjs.org/@sanity/preview-url-secret/-/preview-url-secret-1.6.21.tgz", - "integrity": "sha512-ZAIT4I5Nrsax+RBQVhSBY4PnnHgaI+eybSd5aHhjZi97+ziMTtTLnL1Hsg+ViLtPqJWwX0GiB0l8nSfGAt7+QA==", + "node_modules/sanity-plugin-iframe-pane/node_modules/framer-motion": { + "version": "12.0.6", + "resolved": "https://registry.npmjs.org/framer-motion/-/framer-motion-12.0.6.tgz", + "integrity": "sha512-LmrXbXF6Vv5WCNmb+O/zn891VPZrH7XbsZgRLBROw6kFiP+iTK49gxTv2Ur3F0Tbw6+sy9BVtSqnWfMUpH+6nA==", "license": "MIT", "dependencies": { - "@sanity/uuid": "3.0.2" - }, - "engines": { - "node": ">=18" + "motion-dom": "^12.0.0", + "motion-utils": "^12.0.0", + "tslib": "^2.4.0" }, "peerDependencies": { - "@sanity/client": "^6.21.3" + "@emotion/is-prop-valid": "*", + "react": "^18.0.0 || ^19.0.0", + "react-dom": "^18.0.0 || ^19.0.0" + }, + "peerDependenciesMeta": { + "@emotion/is-prop-valid": { + "optional": true + }, + "react": { + "optional": true + }, + "react-dom": { + "optional": true + } + } + }, + "node_modules/sanity-plugin-iframe-pane/node_modules/motion-dom": { + "version": "12.0.0", + "resolved": "https://registry.npmjs.org/motion-dom/-/motion-dom-12.0.0.tgz", + "integrity": "sha512-CvYd15OeIR6kHgMdonCc1ihsaUG4MYh/wrkz8gZ3hBX/uamyZCXN9S9qJoYF03GqfTt7thTV/dxnHYX4+55vDg==", + "license": "MIT", + "dependencies": { + "motion-utils": "^12.0.0" } }, + "node_modules/sanity-plugin-iframe-pane/node_modules/motion-utils": { + "version": "12.0.0", + "resolved": "https://registry.npmjs.org/motion-utils/-/motion-utils-12.0.0.tgz", + "integrity": "sha512-MNFiBKbbqnmvOjkPyOKgHUp3Q6oiokLkI1bEwm5QA28cxMZrv0CbbBGDNmhF6DIXsi1pCQBSs0dX8xjeER1tmA==", + "license": "MIT" + }, "node_modules/sanity/node_modules/arrify": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/arrify/-/arrify-2.0.1.tgz", @@ -16701,20 +16800,6 @@ "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" } }, - "node_modules/usehooks-ts": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/usehooks-ts/-/usehooks-ts-3.0.1.tgz", - "integrity": "sha512-bgJ8S9w/SnQyACd3RvWp3CGncROxEENGqQLCsdaoyTb0zTENIna7MIV3OW6ywCfPaYYD2OPokw7oLPmSLLWP4w==", - "dependencies": { - "lodash.debounce": "^4.0.8" - }, - "engines": { - "node": ">=16.15.0" - }, - "peerDependencies": { - "react": "^16.8.0 || ^17 || ^18" - } - }, "node_modules/user-home": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/user-home/-/user-home-2.0.0.tgz", diff --git a/package.json b/package.json index 114f0156..27467e85 100644 --- a/package.json +++ b/package.json @@ -15,11 +15,11 @@ "singleQuote": true }, "dependencies": { - "@sanity/client": "6.27.1", + "@sanity/client": "6.27.2", "@sanity/icons": "3.5.7", "@sanity/image-url": "1.1.0", "@sanity/vision": "3.71.2", - "@sanity/visual-editing": "2.12.9", + "@sanity/visual-editing": "2.12.10", "@sanity/webhook": "4.0.4", "@vercel/og": "0.6.5", "classnames": "2.5.1", @@ -27,13 +27,13 @@ "groq": "3.71.2", "intl-segmenter-polyfill": "0.4.4", "next": "14.2.23", - "next-sanity": "9.8.43", + "next-sanity": "9.8.44", "next-sanity-image": "6.1.1", "react": "18.3.1", "react-dom": "18.3.1", "sanity": "3.71.2", "sanity-plugin-asset-source-unsplash": "3.0.2", - "sanity-plugin-iframe-pane": "3.1.6", + "sanity-plugin-iframe-pane": "3.2.0", "styled-components": "6.1.14", "swr": "2.3.0" },