diff --git a/package.json b/package.json index 923d36100003..045a82e28541 100644 --- a/package.json +++ b/package.json @@ -106,7 +106,7 @@ "@playwright/test": "1.44.1", "@repo/package.config": "workspace:*", "@repo/tsconfig": "workspace:*", - "@sanity/client": "^6.21.3", + "@sanity/client": "^6.22.0", "@sanity/eslint-config-i18n": "1.0.0", "@sanity/eslint-config-studio": "^4.0.0", "@sanity/mutate": "^0.10.0", diff --git a/packages/@sanity/cli/package.json b/packages/@sanity/cli/package.json index 25575ccdb607..a5ad353dee3b 100644 --- a/packages/@sanity/cli/package.json +++ b/packages/@sanity/cli/package.json @@ -57,7 +57,7 @@ }, "dependencies": { "@babel/traverse": "^7.23.5", - "@sanity/client": "^6.21.3", + "@sanity/client": "^6.22.0", "@sanity/codegen": "3.57.4", "@sanity/telemetry": "^0.7.7", "@sanity/util": "3.57.4", diff --git a/packages/@sanity/migrate/package.json b/packages/@sanity/migrate/package.json index 33c4f74d3238..65b4a38430e8 100644 --- a/packages/@sanity/migrate/package.json +++ b/packages/@sanity/migrate/package.json @@ -50,7 +50,7 @@ "watch": "pkg-utils watch" }, "dependencies": { - "@sanity/client": "^6.21.3", + "@sanity/client": "^6.22.0", "@sanity/mutate": "^0.10.0", "@sanity/types": "3.57.4", "@sanity/util": "3.57.4", diff --git a/packages/@sanity/types/package.json b/packages/@sanity/types/package.json index 2450cd679162..32f689a35984 100644 --- a/packages/@sanity/types/package.json +++ b/packages/@sanity/types/package.json @@ -49,7 +49,7 @@ "watch": "pkg-utils watch" }, "dependencies": { - "@sanity/client": "^6.21.3", + "@sanity/client": "^6.22.0", "@types/react": "^18.3.5" }, "devDependencies": { diff --git a/packages/@sanity/util/package.json b/packages/@sanity/util/package.json index 5a3c26726545..e0de8f6166d3 100644 --- a/packages/@sanity/util/package.json +++ b/packages/@sanity/util/package.json @@ -121,7 +121,7 @@ "watch": "pkg-utils watch" }, "dependencies": { - "@sanity/client": "^6.21.3", + "@sanity/client": "^6.22.0", "@sanity/types": "3.57.4", "get-random-values-esm": "1.0.2", "moment": "^2.29.4", diff --git a/packages/@sanity/vision/package.json b/packages/@sanity/vision/package.json index 43dd29c3a396..eda80b0b92a2 100644 --- a/packages/@sanity/vision/package.json +++ b/packages/@sanity/vision/package.json @@ -75,7 +75,7 @@ "@repo/package.config": "workspace:*", "@sanity/block-tools": "workspace:*", "@sanity/cli": "workspace:*", - "@sanity/client": "^6.21.3", + "@sanity/client": "^6.22.0", "@sanity/codegen": "workspace:*", "@sanity/diff": "workspace:*", "@sanity/migrate": "workspace:*", diff --git a/packages/sanity/package.json b/packages/sanity/package.json index e8145a8812a8..94214a2f5415 100644 --- a/packages/sanity/package.json +++ b/packages/sanity/package.json @@ -160,7 +160,7 @@ "@sanity/bifur-client": "^0.4.1", "@sanity/block-tools": "3.57.4", "@sanity/cli": "3.57.4", - "@sanity/client": "^6.21.3", + "@sanity/client": "^6.22.0", "@sanity/color": "^3.0.0", "@sanity/diff": "3.57.4", "@sanity/diff-match-patch": "^3.1.1", diff --git a/perf/efps/package.json b/perf/efps/package.json index 6d5039cbde34..6dec3b8cfca8 100644 --- a/perf/efps/package.json +++ b/perf/efps/package.json @@ -15,7 +15,7 @@ "test": "npm start" }, "devDependencies": { - "@sanity/client": "^6.21.2", + "@sanity/client": "^6.22.0", "@swc-node/register": "^1.10.9", "@types/react": "^18.3.3", "@types/react-dom": "^18.3.0", diff --git a/perf/tests/package.json b/perf/tests/package.json index eb645f63dd84..5e9a6feb256b 100644 --- a/perf/tests/package.json +++ b/perf/tests/package.json @@ -16,7 +16,7 @@ }, "dependencies": { "@playwright/test": "1.44.1", - "@sanity/client": "^6.21.3", + "@sanity/client": "^6.22.0", "@sanity/uuid": "^3.0.1", "dotenv": "^16.0.3", "execa": "^2.0.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index b00e0010b339..d4be8c45d804 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -46,8 +46,8 @@ importers: specifier: workspace:* version: link:packages/@repo/tsconfig '@sanity/client': - specifier: ^6.21.3 - version: 6.21.3(debug@4.3.7) + specifier: ^6.22.0 + version: 6.22.0(debug@4.3.7) '@sanity/eslint-config-i18n': specifier: 1.0.0 version: 1.0.0(eslint@8.57.0)(typescript@5.6.2) @@ -449,7 +449,7 @@ importers: version: link:../../packages/@sanity/block-tools '@sanity/client': specifier: ^6.21.3 - version: 6.21.3(debug@4.3.7) + version: 6.22.0(debug@4.3.7) '@sanity/color': specifier: ^3.0.0 version: 3.0.6 @@ -485,10 +485,10 @@ importers: version: link:../../packages/@sanity/migrate '@sanity/preview-url-secret': specifier: ^1.6.1 - version: 1.6.21(@sanity/client@6.21.3(debug@4.3.7)) + version: 1.6.21(@sanity/client@6.22.0(debug@4.3.7)) '@sanity/react-loader': specifier: ^1.8.3 - version: 1.10.7(@sanity/client@6.21.3)(react@18.3.1) + version: 1.10.7(@sanity/client@6.22.0)(react@18.3.1) '@sanity/tsdoc': specifier: 1.0.105 version: 1.0.105(@types/babel__core@7.20.5)(@types/node@22.5.4)(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc-a7d1240c-20240731)(react@18.3.1)(sanity@packages+sanity)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(terser@5.32.0) @@ -512,7 +512,7 @@ importers: version: link:../../packages/@sanity/vision '@sanity/visual-editing': specifier: 2.1.10 - version: 2.1.10(@sanity/client@6.21.3)(next@15.0.0-rc.0(@babel/core@7.25.2)(@playwright/test@1.47.0)(babel-plugin-macros@3.1.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + version: 2.1.10(@sanity/client@6.22.0)(next@15.0.0-rc.0(@babel/core@7.25.2)(@playwright/test@1.47.0)(babel-plugin-macros@3.1.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@turf/helpers': specifier: ^6.0.1 version: 6.5.0 @@ -739,8 +739,8 @@ importers: specifier: ^7.23.5 version: 7.25.3 '@sanity/client': - specifier: ^6.21.3 - version: 6.21.3(debug@4.3.7) + specifier: ^6.22.0 + version: 6.22.0(debug@4.3.7) '@sanity/codegen': specifier: 3.57.4 version: link:../codegen @@ -1042,8 +1042,8 @@ importers: packages/@sanity/migrate: dependencies: '@sanity/client': - specifier: ^6.21.3 - version: 6.21.3(debug@4.3.7) + specifier: ^6.22.0 + version: 6.22.0(debug@4.3.7) '@sanity/mutate': specifier: ^0.10.0 version: 0.10.0(debug@4.3.7) @@ -1171,8 +1171,8 @@ importers: packages/@sanity/types: dependencies: '@sanity/client': - specifier: ^6.21.3 - version: 6.21.3(debug@4.3.7) + specifier: ^6.22.0 + version: 6.22.0(debug@4.3.7) '@types/react': specifier: ^18.3.5 version: 18.3.5 @@ -1193,8 +1193,8 @@ importers: packages/@sanity/util: dependencies: '@sanity/client': - specifier: ^6.21.3 - version: 6.21.3(debug@4.3.7) + specifier: ^6.22.0 + version: 6.22.0(debug@4.3.7) '@sanity/types': specifier: 3.57.4 version: link:../types @@ -1294,8 +1294,8 @@ importers: specifier: workspace:* version: link:../cli '@sanity/client': - specifier: ^6.21.3 - version: 6.21.3(debug@4.3.7) + specifier: ^6.22.0 + version: 6.22.0(debug@4.3.7) '@sanity/codegen': specifier: workspace:* version: link:../codegen @@ -1384,8 +1384,8 @@ importers: specifier: 3.57.4 version: link:../@sanity/cli '@sanity/client': - specifier: ^6.21.3 - version: 6.21.3(debug@4.3.7) + specifier: ^6.22.0 + version: 6.22.0(debug@4.3.7) '@sanity/color': specifier: ^3.0.0 version: 3.0.6 @@ -1424,7 +1424,7 @@ importers: version: link:../@sanity/mutator '@sanity/presentation': specifier: 1.16.5 - version: 1.16.5(@sanity/client@6.21.3(debug@4.3.7))(react-dom@18.3.1(react@18.3.1))(react-is@18.3.1)(react@18.3.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) + version: 1.16.5(@sanity/client@6.22.0(debug@4.3.7))(react-dom@18.3.1(react@18.3.1))(react-is@18.3.1)(react@18.3.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) '@sanity/schema': specifier: 3.57.4 version: link:../@sanity/schema @@ -1853,8 +1853,8 @@ importers: perf/efps: devDependencies: '@sanity/client': - specifier: ^6.21.2 - version: 6.21.3(debug@4.3.7) + specifier: ^6.22.0 + version: 6.22.0(debug@4.3.7) '@swc-node/register': specifier: ^1.10.9 version: 1.10.9(@swc/core@1.7.14(@swc/helpers@0.5.11))(@swc/types@0.1.12)(typescript@5.6.2) @@ -1931,8 +1931,8 @@ importers: specifier: 1.44.1 version: 1.44.1 '@sanity/client': - specifier: ^6.21.3 - version: 6.21.3(debug@4.3.7) + specifier: ^6.22.0 + version: 6.22.0(debug@4.3.7) '@sanity/uuid': specifier: ^3.0.1 version: 3.0.2 @@ -4430,8 +4430,8 @@ packages: '@sanity/browserslist-config@1.0.3': resolution: {integrity: sha512-UkJuiTyROgPcxbvpHYyXwr+T88Np4eLzu3h05gMgeZ2hv3EM7g/4VMyng5HuA1JdPQPEdq8bmmfQDR+u4KC+TA==} - '@sanity/client@6.21.3': - resolution: {integrity: sha512-oE2+4kKRTZhFCc4IIsojkzKF0jIhsSYSRxkPZjScZ1k/EQ3Y2tEcQYiKwvvotzaXoaWsIL3RTpulE+R4iBYiBw==} + '@sanity/client@6.22.0': + resolution: {integrity: sha512-GlPwg8iG74WkzRb5Im2dpFg0xq5vgvsDfQA5NQCUWmmnELdo3iMa5hicLyuW+TBK+x1SmVe7InuAjIGKq5XcYg==} engines: {node: '>=14.18'} '@sanity/color@3.0.6': @@ -14621,7 +14621,7 @@ snapshots: '@sanity/browserslist-config@1.0.3': {} - '@sanity/client@6.21.3(debug@4.3.7)': + '@sanity/client@6.22.0(debug@4.3.7)': dependencies: '@sanity/eventsource': 5.0.2 get-it: 8.6.5(debug@4.3.7) @@ -14631,9 +14631,9 @@ snapshots: '@sanity/color@3.0.6': {} - '@sanity/core-loader@1.6.23(@sanity/client@6.21.3)': + '@sanity/core-loader@1.6.23(@sanity/client@6.22.0)': dependencies: - '@sanity/client': 6.21.3(debug@4.3.7) + '@sanity/client': 6.22.0(debug@4.3.7) '@sanity/diff-match-patch@3.1.1': {} @@ -14695,7 +14695,7 @@ snapshots: '@sanity/export@3.41.0': dependencies: - '@sanity/client': 6.21.3(debug@4.3.7) + '@sanity/client': 6.22.0(debug@4.3.7) '@sanity/util': 3.37.2(debug@4.3.7) archiver: 7.0.1 debug: 4.3.7(supports-color@9.4.0) @@ -14827,7 +14827,7 @@ snapshots: '@sanity/mutate@0.10.0(debug@4.3.7)': dependencies: - '@sanity/client': 6.21.3(debug@4.3.7) + '@sanity/client': 6.22.0(debug@4.3.7) '@sanity/diff-match-patch': 3.1.1 hotscript: 1.0.13 mendoza: 3.0.7 @@ -14947,11 +14947,11 @@ snapshots: - debug - supports-color - '@sanity/presentation@1.16.5(@sanity/client@6.21.3(debug@4.3.7))(react-dom@18.3.1(react@18.3.1))(react-is@18.3.1)(react@18.3.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1))': + '@sanity/presentation@1.16.5(@sanity/client@6.22.0(debug@4.3.7))(react-dom@18.3.1(react@18.3.1))(react-is@18.3.1)(react@18.3.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1))': dependencies: - '@sanity/client': 6.21.3(debug@4.3.7) + '@sanity/client': 6.22.0(debug@4.3.7) '@sanity/icons': 3.4.0(react@18.3.1) - '@sanity/preview-url-secret': 1.6.21(@sanity/client@6.21.3(debug@4.3.7)) + '@sanity/preview-url-secret': 1.6.21(@sanity/client@6.22.0(debug@4.3.7)) '@sanity/ui': 2.8.9(react-dom@18.3.1(react@18.3.1))(react-is@18.3.1)(react@18.3.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) '@sanity/uuid': 3.0.2 '@types/lodash.isequal': 4.5.8 @@ -14975,15 +14975,15 @@ snapshots: prettier: 3.3.3 prettier-plugin-packagejson: 2.5.1(prettier@3.3.3) - '@sanity/preview-url-secret@1.6.21(@sanity/client@6.21.3(debug@4.3.7))': + '@sanity/preview-url-secret@1.6.21(@sanity/client@6.22.0(debug@4.3.7))': dependencies: - '@sanity/client': 6.21.3(debug@4.3.7) + '@sanity/client': 6.22.0(debug@4.3.7) '@sanity/uuid': 3.0.2 - '@sanity/react-loader@1.10.7(@sanity/client@6.21.3)(react@18.3.1)': + '@sanity/react-loader@1.10.7(@sanity/client@6.22.0)(react@18.3.1)': dependencies: - '@sanity/client': 6.21.3(debug@4.3.7) - '@sanity/core-loader': 1.6.23(@sanity/client@6.21.3) + '@sanity/client': 6.22.0(debug@4.3.7) + '@sanity/core-loader': 1.6.23(@sanity/client@6.22.0) react: 18.3.1 '@sanity/telemetry@0.7.9(react@18.3.1)': @@ -15003,7 +15003,7 @@ snapshots: '@sanity/test@0.0.1-alpha.1': dependencies: '@playwright/test': 1.44.1 - '@sanity/client': 6.21.3(debug@4.3.7) + '@sanity/client': 6.22.0(debug@4.3.7) '@sanity/uuid': 3.0.2 cac: 6.7.14 transitivePeerDependencies: @@ -15017,7 +15017,7 @@ snapshots: '@microsoft/tsdoc-config': 0.17.0 '@portabletext/react': 3.1.0(react@18.3.1) '@portabletext/toolkit': 2.0.15 - '@sanity/client': 6.21.3(debug@4.3.7) + '@sanity/client': 6.22.0(debug@4.3.7) '@sanity/color': 3.0.6 '@sanity/icons': 3.4.0(react@18.3.1) '@sanity/pkg-utils': 6.11.2(@types/babel__core@7.20.5)(@types/node@18.19.44)(debug@4.3.7)(typescript@5.6.2) @@ -15070,7 +15070,7 @@ snapshots: '@microsoft/tsdoc-config': 0.17.0 '@portabletext/react': 3.1.0(react@19.0.0-rc-f994737d14-20240522) '@portabletext/toolkit': 2.0.15 - '@sanity/client': 6.21.3(debug@4.3.7) + '@sanity/client': 6.22.0(debug@4.3.7) '@sanity/color': 3.0.6 '@sanity/icons': 3.4.0(react@19.0.0-rc-f994737d14-20240522) '@sanity/pkg-utils': 6.11.2(@types/babel__core@7.20.5)(@types/node@18.19.44)(debug@4.3.7)(typescript@5.6.2) @@ -15123,7 +15123,7 @@ snapshots: '@microsoft/tsdoc-config': 0.17.0 '@portabletext/react': 3.1.0(react@18.3.1) '@portabletext/toolkit': 2.0.15 - '@sanity/client': 6.21.3(debug@4.3.7) + '@sanity/client': 6.22.0(debug@4.3.7) '@sanity/color': 3.0.6 '@sanity/icons': 3.4.0(react@18.3.1) '@sanity/pkg-utils': 6.11.2(@types/babel__core@7.20.5)(@types/node@22.5.4)(typescript@5.6.2) @@ -15170,7 +15170,7 @@ snapshots: '@sanity/types@3.37.2(debug@4.3.7)': dependencies: - '@sanity/client': 6.21.3(debug@4.3.7) + '@sanity/client': 6.22.0(debug@4.3.7) '@types/react': 18.3.5 transitivePeerDependencies: - debug @@ -15295,7 +15295,7 @@ snapshots: '@sanity/util@3.37.2(debug@4.3.7)': dependencies: - '@sanity/client': 6.21.3(debug@4.3.7) + '@sanity/client': 6.22.0(debug@4.3.7) '@sanity/types': 3.37.2(debug@4.3.7) get-random-values-esm: 1.0.2 moment: 2.30.1 @@ -15308,16 +15308,16 @@ snapshots: '@types/uuid': 8.3.4 uuid: 8.3.2 - '@sanity/visual-editing@2.1.10(@sanity/client@6.21.3)(next@15.0.0-rc.0(@babel/core@7.25.2)(@playwright/test@1.47.0)(babel-plugin-macros@3.1.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@sanity/visual-editing@2.1.10(@sanity/client@6.22.0)(next@15.0.0-rc.0(@babel/core@7.25.2)(@playwright/test@1.47.0)(babel-plugin-macros@3.1.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: - '@sanity/preview-url-secret': 1.6.21(@sanity/client@6.21.3(debug@4.3.7)) + '@sanity/preview-url-secret': 1.6.21(@sanity/client@6.22.0(debug@4.3.7)) '@vercel/stega': 0.1.2 react: 18.3.1 react-dom: 18.3.1(react@18.3.1) scroll-into-view-if-needed: 3.1.0 valibot: 0.31.1 optionalDependencies: - '@sanity/client': 6.21.3(debug@4.3.7) + '@sanity/client': 6.22.0(debug@4.3.7) next: 15.0.0-rc.0(@babel/core@7.25.2)(@playwright/test@1.47.0)(babel-plugin-macros@3.1.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@sentry-internal/browser-utils@8.25.0':