From f9d00e686d9aaf616c9b41dd71ae9d161d44141c Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Wed, 18 Dec 2024 19:57:44 +0000 Subject: [PATCH] fix: studio/package.json & studio/package-lock.json to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-NANOID-8492085 --- studio/package-lock.json | 527 +++++++++++++++++++++++++++++++++------ studio/package.json | 2 +- 2 files changed, 454 insertions(+), 75 deletions(-) diff --git a/studio/package-lock.json b/studio/package-lock.json index 7476367..0013774 100644 --- a/studio/package-lock.json +++ b/studio/package-lock.json @@ -11,7 +11,7 @@ "dependencies": { "@sanity/assist": "^3.0.4", "@sanity/code-input": "^4.1.4", - "@sanity/document-internationalization": "^3.0.0", + "@sanity/document-internationalization": "^3.2.1", "@sanity/eslint-config-studio": "^4.0.0", "@sanity/language-filter": "^4.0.2", "@sanity/vision": "^3.41.1", @@ -3205,12 +3205,13 @@ } }, "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==", + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/@sanity/client/-/client-6.24.1.tgz", + "integrity": "sha512-k5aW5C8RdqVGnvuX0KZ+AAIlhYueb6sx3edhKkIMmr2UfD8vSTSW3oAXVt+/WlBstlMIqvkc5RCLLWZQcF3gaA==", + "license": "MIT", "dependencies": { "@sanity/eventsource": "^5.0.2", - "get-it": "^8.6.4", + "get-it": "^8.6.5", "rxjs": "^7.0.0" }, "engines": { @@ -3401,52 +3402,115 @@ } }, "node_modules/@sanity/document-internationalization": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/@sanity/document-internationalization/-/document-internationalization-3.0.0.tgz", - "integrity": "sha512-HQQiix1MCNtXOLpi1ILjpT8EGk55Yv7515DVWcJAHLSjfpYAo9wvGfkZhRhP5lzWxLj2DsyeBX2zkF2J3QDs2A==", + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/@sanity/document-internationalization/-/document-internationalization-3.2.1.tgz", + "integrity": "sha512-7tUJ7Zzdu+kfD0ZaOz+ZiA+IDRQzlkTIgjOz90tthGopoK+e0bocW3u9FLJBgt6tr3TfFb96pD2HCnEfMPh2Yw==", + "license": "MIT", "dependencies": { - "@sanity/icons": "^2.11.7", - "@sanity/incompatible-plugin": "^1.0.4", - "@sanity/ui": "^2.1.0", + "@sanity/icons": "^3.5.3", + "@sanity/incompatible-plugin": "^1.0.5", + "@sanity/ui": "^2.10.11", "@sanity/uuid": "^3.0.2", - "sanity-plugin-internationalized-array": "^2.0.0", - "sanity-plugin-utils": "^1.6.4" + "sanity-plugin-internationalized-array": "^3.0.3", + "sanity-plugin-utils": "^1.6.7" }, "engines": { "node": ">=14" }, "peerDependencies": { - "@sanity/mutator": "^3.37.0", - "@sanity/ui": "^2.1", - "react": "^18", - "react-dom": "^18", - "sanity": "^3.37.0", + "react": "^18 || ^19", + "sanity": "^3.40.0", "styled-components": "^6.1" } }, - "node_modules/@sanity/document-internationalization/node_modules/sanity-plugin-internationalized-array": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/sanity-plugin-internationalized-array/-/sanity-plugin-internationalized-array-2.1.0.tgz", - "integrity": "sha512-YpG8O3wdNbewsPNhSHZ13MYTPDqsf0Iz8eC6fB5hhDwttxcM6ftD40R1qXT73Ccl68X4DrbHi3bQzXC60E7D7g==", + "node_modules/@sanity/document-internationalization/node_modules/@sanity/icons": { + "version": "3.5.3", + "resolved": "https://registry.npmjs.org/@sanity/icons/-/icons-3.5.3.tgz", + "integrity": "sha512-vI633N44QeSuUoYDZqI7vx6IAfgZshUPSnJHJUBODQdxW8064yEqtcROHP/FThp400RmXUGncWZNBoGbwbhl5w==", "license": "MIT", "dependencies": { - "@sanity/icons": "^2.11.7", - "@sanity/incompatible-plugin": "^1.0.4", - "@sanity/language-filter": "^4.0.2", - "@sanity/ui": "^2.1.0", - "fast-deep-equal": "^3.1.3", - "lodash": "^4.17.21", - "suspend-react": "0.1.3" + "react-compiler-runtime": "19.0.0-beta-201e55d-20241215" }, "engines": { - "node": ">=14" + "node": ">=14.0.0" }, "peerDependencies": { - "@sanity/ui": "^2.1.0", - "react": "^18", - "react-dom": "^18", - "sanity": "^3.36.4", - "styled-components": "^6.1" + "react": "^18.3 || ^19.0.0-0" + } + }, + "node_modules/@sanity/document-internationalization/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": "^16.9 || ^17 || ^18 || ^19", + "react-dom": "^16.9 || ^17 || ^18 || ^19" + } + }, + "node_modules/@sanity/document-internationalization/node_modules/@sanity/ui": { + "version": "2.10.11", + "resolved": "https://registry.npmjs.org/@sanity/ui/-/ui-2.10.11.tgz", + "integrity": "sha512-yq4JzfitBpspgAgoVBIXerQN2W1yBhGCyHYHuNboXXk7KCx2CpRPqeYbHBmmQQodcymOYKF2Wj/LH8baEg5PKA==", + "license": "MIT", + "dependencies": { + "@floating-ui/react-dom": "^2.1.2", + "@sanity/color": "^3.0.6", + "@sanity/icons": "^3.5.3", + "csstype": "^3.1.3", + "framer-motion": "^11.15.0", + "react-compiler-runtime": "19.0.0-beta-201e55d-20241215", + "react-refractor": "^2.2.0", + "use-effect-event": "^1.0.2" + }, + "engines": { + "node": ">=14.0.0" + }, + "peerDependencies": { + "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" + } + }, + "node_modules/@sanity/document-internationalization/node_modules/@sanity/ui/node_modules/@floating-ui/react-dom": { + "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==", + "license": "MIT", + "dependencies": { + "@floating-ui/dom": "^1.0.0" + }, + "peerDependencies": { + "react": ">=16.8.0", + "react-dom": ">=16.8.0" + } + }, + "node_modules/@sanity/document-internationalization/node_modules/@sanity/ui/node_modules/framer-motion": { + "version": "11.15.0", + "resolved": "https://registry.npmjs.org/framer-motion/-/framer-motion-11.15.0.tgz", + "integrity": "sha512-MLk8IvZntxOMg7lDBLw2qgTHHv664bYoYmnFTmE0Gm/FW67aOJk0WM3ctMcG+Xhcv+vh5uyyXwxvxhSeJzSe+w==", + "license": "MIT", + "dependencies": { + "motion-dom": "^11.14.3", + "motion-utils": "^11.14.3", + "tslib": "^2.4.0" + }, + "peerDependencies": { + "@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/eslint-config-studio": { @@ -3671,27 +3735,141 @@ } }, "node_modules/@sanity/language-filter": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/@sanity/language-filter/-/language-filter-4.0.2.tgz", - "integrity": "sha512-guL7vZv/QwDdbzVbCA8YqY8G0tH6KW2obyp5UCbFvFy9NqlmfuaHtle/VIO+UwqbCXck2Xpz0WihFeQHHjhCcw==", + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/@sanity/language-filter/-/language-filter-4.0.3.tgz", + "integrity": "sha512-fh2HMkAt1VBwZtQQ9XKMoR3OPkT6uJXuCxrd0M5rhIF6Mrldoi/kqF8JLBxwuh0PteI+Ftr6pRNLTUXQIIh1dg==", + "license": "MIT", "dependencies": { - "@sanity/icons": "^2.11.7", - "@sanity/incompatible-plugin": "^1.0.4", - "@sanity/ui": "^2.1.0", - "lodash": "^4.17.21" + "@sanity/icons": "^3.5.3", + "@sanity/incompatible-plugin": "^1.0.5", + "@sanity/ui": "^2.10.11", + "@sanity/util": "^3.67.1" }, "engines": { "node": ">=14" }, "peerDependencies": { - "@sanity/ui": "^2.1.0", - "@sanity/util": "^3.36.4", - "react": "^18", - "react-dom": "^18", + "react": "^18 || ^19", "sanity": "^3.36.4", "styled-components": "^6.1" } }, + "node_modules/@sanity/language-filter/node_modules/@sanity/icons": { + "version": "3.5.3", + "resolved": "https://registry.npmjs.org/@sanity/icons/-/icons-3.5.3.tgz", + "integrity": "sha512-vI633N44QeSuUoYDZqI7vx6IAfgZshUPSnJHJUBODQdxW8064yEqtcROHP/FThp400RmXUGncWZNBoGbwbhl5w==", + "license": "MIT", + "dependencies": { + "react-compiler-runtime": "19.0.0-beta-201e55d-20241215" + }, + "engines": { + "node": ">=14.0.0" + }, + "peerDependencies": { + "react": "^18.3 || ^19.0.0-0" + } + }, + "node_modules/@sanity/language-filter/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": "^16.9 || ^17 || ^18 || ^19", + "react-dom": "^16.9 || ^17 || ^18 || ^19" + } + }, + "node_modules/@sanity/language-filter/node_modules/@sanity/types": { + "version": "3.68.0", + "resolved": "https://registry.npmjs.org/@sanity/types/-/types-3.68.0.tgz", + "integrity": "sha512-OusUI2A9TLERj2XQXbNgiAGpEK1pdUziVKZpQKlRuts75rXFPbNZ06K/vVHR64dqsm050SSvMSEA+h5RNdNyzw==", + "license": "MIT", + "dependencies": { + "@sanity/client": "^6.24.1", + "@types/react": "^18.3.5" + } + }, + "node_modules/@sanity/language-filter/node_modules/@sanity/ui": { + "version": "2.10.11", + "resolved": "https://registry.npmjs.org/@sanity/ui/-/ui-2.10.11.tgz", + "integrity": "sha512-yq4JzfitBpspgAgoVBIXerQN2W1yBhGCyHYHuNboXXk7KCx2CpRPqeYbHBmmQQodcymOYKF2Wj/LH8baEg5PKA==", + "license": "MIT", + "dependencies": { + "@floating-ui/react-dom": "^2.1.2", + "@sanity/color": "^3.0.6", + "@sanity/icons": "^3.5.3", + "csstype": "^3.1.3", + "framer-motion": "^11.15.0", + "react-compiler-runtime": "19.0.0-beta-201e55d-20241215", + "react-refractor": "^2.2.0", + "use-effect-event": "^1.0.2" + }, + "engines": { + "node": ">=14.0.0" + }, + "peerDependencies": { + "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" + } + }, + "node_modules/@sanity/language-filter/node_modules/@sanity/ui/node_modules/@floating-ui/react-dom": { + "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==", + "license": "MIT", + "dependencies": { + "@floating-ui/dom": "^1.0.0" + }, + "peerDependencies": { + "react": ">=16.8.0", + "react-dom": ">=16.8.0" + } + }, + "node_modules/@sanity/language-filter/node_modules/@sanity/ui/node_modules/framer-motion": { + "version": "11.15.0", + "resolved": "https://registry.npmjs.org/framer-motion/-/framer-motion-11.15.0.tgz", + "integrity": "sha512-MLk8IvZntxOMg7lDBLw2qgTHHv664bYoYmnFTmE0Gm/FW67aOJk0WM3ctMcG+Xhcv+vh5uyyXwxvxhSeJzSe+w==", + "license": "MIT", + "dependencies": { + "motion-dom": "^11.14.3", + "motion-utils": "^11.14.3", + "tslib": "^2.4.0" + }, + "peerDependencies": { + "@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/language-filter/node_modules/@sanity/util": { + "version": "3.68.0", + "resolved": "https://registry.npmjs.org/@sanity/util/-/util-3.68.0.tgz", + "integrity": "sha512-UvtAyZpInjTOAG6DsCQAEAqtsDaVXFAHWyYV/YG0Z5/PTYgk04Ivop3+PoGxu1YtbhQ4nmn8nuvRjY1nz1q9jw==", + "license": "MIT", + "dependencies": { + "@sanity/client": "^6.24.1", + "@sanity/types": "3.68.0", + "get-random-values-esm": "1.0.2", + "moment": "^2.30.1", + "rxjs": "^7.8.1" + }, + "engines": { + "node": ">=18" + } + }, "node_modules/@sanity/logos": { "version": "2.1.13", "resolved": "https://registry.npmjs.org/@sanity/logos/-/logos-2.1.13.tgz", @@ -4351,9 +4529,10 @@ "integrity": "sha512-5zvhXYtRNRluoE/jAp4GVsSduVUzNWKkOZrCDBWYtE7biZywwdC2AcEzg+cSMLFRfVgeAFqpfNabiPjxFddV1Q==" }, "node_modules/@types/react": { - "version": "18.3.3", - "resolved": "https://registry.npmjs.org/@types/react/-/react-18.3.3.tgz", - "integrity": "sha512-hti/R0pS0q1/xx+TsI73XIqk26eBsISZ2R0wUijXIngRK9R/e7Xw/cXVxQK7R5JjW+SV4zGcn5hXjudkN/pLIw==", + "version": "18.3.17", + "resolved": "https://registry.npmjs.org/@types/react/-/react-18.3.17.tgz", + "integrity": "sha512-opAQ5no6LqJNo9TqnxBKsgnkIYHozW9KSTlFVoSUJYh1Fl/sswkEoqIugRSm7tbh6pABtYjGAjW+GOS23j8qbw==", + "license": "MIT", "dependencies": { "@types/prop-types": "*", "csstype": "^3.0.2" @@ -9647,6 +9826,18 @@ "node": "*" } }, + "node_modules/motion-dom": { + "version": "11.14.3", + "resolved": "https://registry.npmjs.org/motion-dom/-/motion-dom-11.14.3.tgz", + "integrity": "sha512-lW+D2wBy5vxLJi6aCP0xyxTxlTfiu+b+zcpVbGVFUxotwThqhdpPRSmX8xztAgtZMPMeU0WGVn/k1w4I+TbPqA==", + "license": "MIT" + }, + "node_modules/motion-utils": { + "version": "11.14.3", + "resolved": "https://registry.npmjs.org/motion-utils/-/motion-utils-11.14.3.tgz", + "integrity": "sha512-Xg+8xnqIJTpr0L/cidfTTBFkvRw26ZtGGuIhA94J9PQ2p4mEa06Xx7QVYZH0BP+EpMSaDlu+q0I0mmvwADPsaQ==", + "license": "MIT" + }, "node_modules/ms": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", @@ -10723,6 +10914,15 @@ "react": "^15.3.0 || ^16.0.0 || ^17.0.0 || ^18.0.0" } }, + "node_modules/react-compiler-runtime": { + "version": "19.0.0-beta-201e55d-20241215", + "resolved": "https://registry.npmjs.org/react-compiler-runtime/-/react-compiler-runtime-19.0.0-beta-201e55d-20241215.tgz", + "integrity": "sha512-jBEo/UqVgiz6veJjhQMoNaGQLKUQwzMQpiYrA4XsGVOC2sElDF0oMjic5107LitP988yHrqDDZwZirS4OAEqyA==", + "license": "MIT", + "peerDependencies": { + "react": "^17.0.0 || ^18.0.0 || ^19.0.0" + } + }, "node_modules/react-copy-to-clipboard": { "version": "5.1.0", "resolved": "https://registry.npmjs.org/react-copy-to-clipboard/-/react-copy-to-clipboard-5.1.0.tgz", @@ -11692,15 +11892,15 @@ } }, "node_modules/sanity-plugin-internationalized-array": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/sanity-plugin-internationalized-array/-/sanity-plugin-internationalized-array-3.0.0.tgz", - "integrity": "sha512-RprfYuTHX1/rUxcIenwvWL4iKyjeketzlj6YkLzi/mQd7MMnsi4To70XJYRZwWnh6fDNVI1N86Dd60aFO9W+IQ==", + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/sanity-plugin-internationalized-array/-/sanity-plugin-internationalized-array-3.0.3.tgz", + "integrity": "sha512-Z170wn4m3JEd4ErQEl+q0zgFm9X3i0NFYKGm3m9dWNMItnXTSAiYRYuQqpTyvZImFcngng7xjieKK30fVnekVw==", "license": "MIT", "dependencies": { - "@sanity/icons": "^3.3.1", - "@sanity/incompatible-plugin": "^1.0.4", - "@sanity/language-filter": "^4.0.2", - "@sanity/ui": "^2.8.8", + "@sanity/icons": "^3.5.3", + "@sanity/incompatible-plugin": "^1.0.5", + "@sanity/language-filter": "^4.0.3", + "@sanity/ui": "^2.10.11", "fast-deep-equal": "^3.1.3", "lodash": "^4.17.21", "suspend-react": "0.1.3" @@ -11709,23 +11909,99 @@ "node": ">=14" }, "peerDependencies": { - "@sanity/ui": "^2.8.8", - "react": "^18.3", - "react-dom": "^18.3", + "react": "^18.3 || ^19", "sanity": "^3.52.4", "styled-components": "^6.1" } }, "node_modules/sanity-plugin-internationalized-array/node_modules/@sanity/icons": { - "version": "3.3.1", - "resolved": "https://registry.npmjs.org/@sanity/icons/-/icons-3.3.1.tgz", - "integrity": "sha512-5SYwRmqKpEVABUyLbSBC5Ffr21P2EvtWZtkqMCh3fiMpNMM3c56RFjdQBoPn2w1EuzJXSFit/ZTHMWAXMMlAwA==", + "version": "3.5.3", + "resolved": "https://registry.npmjs.org/@sanity/icons/-/icons-3.5.3.tgz", + "integrity": "sha512-vI633N44QeSuUoYDZqI7vx6IAfgZshUPSnJHJUBODQdxW8064yEqtcROHP/FThp400RmXUGncWZNBoGbwbhl5w==", "license": "MIT", + "dependencies": { + "react-compiler-runtime": "19.0.0-beta-201e55d-20241215" + }, "engines": { "node": ">=14.0.0" }, "peerDependencies": { - "react": "^18.3 || >=19.0.0-rc" + "react": "^18.3 || ^19.0.0-0" + } + }, + "node_modules/sanity-plugin-internationalized-array/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": "^16.9 || ^17 || ^18 || ^19", + "react-dom": "^16.9 || ^17 || ^18 || ^19" + } + }, + "node_modules/sanity-plugin-internationalized-array/node_modules/@sanity/ui": { + "version": "2.10.11", + "resolved": "https://registry.npmjs.org/@sanity/ui/-/ui-2.10.11.tgz", + "integrity": "sha512-yq4JzfitBpspgAgoVBIXerQN2W1yBhGCyHYHuNboXXk7KCx2CpRPqeYbHBmmQQodcymOYKF2Wj/LH8baEg5PKA==", + "license": "MIT", + "dependencies": { + "@floating-ui/react-dom": "^2.1.2", + "@sanity/color": "^3.0.6", + "@sanity/icons": "^3.5.3", + "csstype": "^3.1.3", + "framer-motion": "^11.15.0", + "react-compiler-runtime": "19.0.0-beta-201e55d-20241215", + "react-refractor": "^2.2.0", + "use-effect-event": "^1.0.2" + }, + "engines": { + "node": ">=14.0.0" + }, + "peerDependencies": { + "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" + } + }, + "node_modules/sanity-plugin-internationalized-array/node_modules/@sanity/ui/node_modules/@floating-ui/react-dom": { + "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==", + "license": "MIT", + "dependencies": { + "@floating-ui/dom": "^1.0.0" + }, + "peerDependencies": { + "react": ">=16.8.0", + "react-dom": ">=16.8.0" + } + }, + "node_modules/sanity-plugin-internationalized-array/node_modules/@sanity/ui/node_modules/framer-motion": { + "version": "11.15.0", + "resolved": "https://registry.npmjs.org/framer-motion/-/framer-motion-11.15.0.tgz", + "integrity": "sha512-MLk8IvZntxOMg7lDBLw2qgTHHv664bYoYmnFTmE0Gm/FW67aOJk0WM3ctMcG+Xhcv+vh5uyyXwxvxhSeJzSe+w==", + "license": "MIT", + "dependencies": { + "motion-dom": "^11.14.3", + "motion-utils": "^11.14.3", + "tslib": "^2.4.0" + }, + "peerDependencies": { + "@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-schema-visualizer": { @@ -11802,25 +12078,114 @@ } }, "node_modules/sanity-plugin-utils": { - "version": "1.6.5", - "resolved": "https://registry.npmjs.org/sanity-plugin-utils/-/sanity-plugin-utils-1.6.5.tgz", - "integrity": "sha512-QJOBaNSIR7nG8xaSRD/CsqPMz8ZMZIkJ2pCIzB14uD9J4iiCaRh6V4R6We6L4gNJ/Pr57AuzQS/SGqlyTue5Qw==", + "version": "1.6.7", + "resolved": "https://registry.npmjs.org/sanity-plugin-utils/-/sanity-plugin-utils-1.6.7.tgz", + "integrity": "sha512-+ji29cv9Czk3w4KfQI/VDoljFPAV1A0czyTmoAvnEkD2l53+fxY+4S/HElLLlZDpy1XucZjOldD1tGVK5AQnig==", + "license": "MIT", "dependencies": { - "@sanity/icons": "^2.11.8", - "@sanity/incompatible-plugin": "^1.0.4", - "styled-components": "^6.1.6" + "@sanity/icons": "^3.5.3", + "@sanity/incompatible-plugin": "^1.0.5", + "@sanity/ui": "^2.10.11", + "react-fast-compare": "^3.2.2" }, "engines": { "node": ">=18" }, "peerDependencies": { - "@sanity/ui": "^1.0 || ^2.0", - "react": "^18", - "react-dom": "^18", - "react-fast-compare": "^3.2.2", + "react": "^18 || ^19", "rxjs": "^7.8.1", "sanity": "^3.43.0", - "styled-components": "^6.1.11" + "styled-components": "^6.1" + } + }, + "node_modules/sanity-plugin-utils/node_modules/@sanity/icons": { + "version": "3.5.3", + "resolved": "https://registry.npmjs.org/@sanity/icons/-/icons-3.5.3.tgz", + "integrity": "sha512-vI633N44QeSuUoYDZqI7vx6IAfgZshUPSnJHJUBODQdxW8064yEqtcROHP/FThp400RmXUGncWZNBoGbwbhl5w==", + "license": "MIT", + "dependencies": { + "react-compiler-runtime": "19.0.0-beta-201e55d-20241215" + }, + "engines": { + "node": ">=14.0.0" + }, + "peerDependencies": { + "react": "^18.3 || ^19.0.0-0" + } + }, + "node_modules/sanity-plugin-utils/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": "^16.9 || ^17 || ^18 || ^19", + "react-dom": "^16.9 || ^17 || ^18 || ^19" + } + }, + "node_modules/sanity-plugin-utils/node_modules/@sanity/ui": { + "version": "2.10.11", + "resolved": "https://registry.npmjs.org/@sanity/ui/-/ui-2.10.11.tgz", + "integrity": "sha512-yq4JzfitBpspgAgoVBIXerQN2W1yBhGCyHYHuNboXXk7KCx2CpRPqeYbHBmmQQodcymOYKF2Wj/LH8baEg5PKA==", + "license": "MIT", + "dependencies": { + "@floating-ui/react-dom": "^2.1.2", + "@sanity/color": "^3.0.6", + "@sanity/icons": "^3.5.3", + "csstype": "^3.1.3", + "framer-motion": "^11.15.0", + "react-compiler-runtime": "19.0.0-beta-201e55d-20241215", + "react-refractor": "^2.2.0", + "use-effect-event": "^1.0.2" + }, + "engines": { + "node": ">=14.0.0" + }, + "peerDependencies": { + "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" + } + }, + "node_modules/sanity-plugin-utils/node_modules/@sanity/ui/node_modules/@floating-ui/react-dom": { + "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==", + "license": "MIT", + "dependencies": { + "@floating-ui/dom": "^1.0.0" + }, + "peerDependencies": { + "react": ">=16.8.0", + "react-dom": ">=16.8.0" + } + }, + "node_modules/sanity-plugin-utils/node_modules/@sanity/ui/node_modules/framer-motion": { + "version": "11.15.0", + "resolved": "https://registry.npmjs.org/framer-motion/-/framer-motion-11.15.0.tgz", + "integrity": "sha512-MLk8IvZntxOMg7lDBLw2qgTHHv664bYoYmnFTmE0Gm/FW67aOJk0WM3ctMcG+Xhcv+vh5uyyXwxvxhSeJzSe+w==", + "license": "MIT", + "dependencies": { + "motion-dom": "^11.14.3", + "motion-utils": "^11.14.3", + "tslib": "^2.4.0" + }, + "peerDependencies": { + "@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-translations-tab": { @@ -13033,6 +13398,20 @@ "uuidv7": "^0.4.4" } }, + "node_modules/typescript": { + "version": "5.7.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.7.2.tgz", + "integrity": "sha512-i5t66RHxDvVN40HfDd1PsEThGNnlMCMT3jMUuoh9/0TaqWevNontacunWyN02LA9/fIbEWlcHZcgTKb9QoaLfg==", + "license": "Apache-2.0", + "peer": true, + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=14.17" + } + }, "node_modules/unbox-primitive": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.0.2.tgz", diff --git a/studio/package.json b/studio/package.json index 75378a7..9b27e61 100644 --- a/studio/package.json +++ b/studio/package.json @@ -17,7 +17,7 @@ "dependencies": { "@sanity/assist": "^3.0.4", "@sanity/code-input": "^4.1.4", - "@sanity/document-internationalization": "^3.0.0", + "@sanity/document-internationalization": "^3.2.1", "@sanity/eslint-config-studio": "^4.0.0", "@sanity/language-filter": "^4.0.2", "@sanity/vision": "^3.41.1",