next-sanity 9.10.2 → 9.10.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/package.json +17 -17
package/README.md
CHANGED
|
@@ -361,6 +361,7 @@ export async function sanityFetch<const QueryString extends string>({
|
|
|
361
361
|
tags?: string[]
|
|
362
362
|
}) {
|
|
363
363
|
return client.fetch(query, params, {
|
|
364
|
+
cache: 'force-cache', // on next v14 it's force-cache by default, in v15 it has to be set explicitly
|
|
364
365
|
next: {
|
|
365
366
|
revalidate: tags.length ? false : revalidate, // for simple, time-based revalidation
|
|
366
367
|
tags, // for tag-based revalidation
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "next-sanity",
|
|
3
|
-
"version": "9.10.
|
|
3
|
+
"version": "9.10.4",
|
|
4
4
|
"description": "Sanity.io toolkit for Next.js",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"sanity",
|
|
@@ -138,12 +138,12 @@
|
|
|
138
138
|
"browserslist": "extends @sanity/browserslist-config",
|
|
139
139
|
"dependencies": {
|
|
140
140
|
"@portabletext/react": "^3.2.1",
|
|
141
|
-
"@sanity/client": "^
|
|
142
|
-
"@sanity/next-loader": "^1.5.
|
|
143
|
-
"@sanity/preview-kit": "^6.0.
|
|
144
|
-
"@sanity/preview-url-secret": "^2.1.
|
|
145
|
-
"@sanity/visual-editing": "^2.13.
|
|
146
|
-
"groq": "^3.
|
|
141
|
+
"@sanity/client": "^7.0.0",
|
|
142
|
+
"@sanity/next-loader": "^1.5.1",
|
|
143
|
+
"@sanity/preview-kit": "^6.0.9",
|
|
144
|
+
"@sanity/preview-url-secret": "^2.1.9",
|
|
145
|
+
"@sanity/visual-editing": "^2.13.19",
|
|
146
|
+
"groq": "^3.87.0",
|
|
147
147
|
"history": "^5.3.0"
|
|
148
148
|
},
|
|
149
149
|
"devDependencies": {
|
|
@@ -151,10 +151,10 @@
|
|
|
151
151
|
"@sanity/eslint-config-studio": "^5.0.2",
|
|
152
152
|
"@sanity/pkg-utils": "^7.2.2",
|
|
153
153
|
"@sanity/webhook": "4.0.4",
|
|
154
|
-
"@types/react": "^19.1.
|
|
155
|
-
"@types/react-dom": "^19.1.
|
|
156
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
157
|
-
"@vitest/coverage-v8": "^3.1.
|
|
154
|
+
"@types/react": "^19.1.2",
|
|
155
|
+
"@types/react-dom": "^19.1.3",
|
|
156
|
+
"@typescript-eslint/eslint-plugin": "^8.31.1",
|
|
157
|
+
"@vitest/coverage-v8": "^3.1.2",
|
|
158
158
|
"eslint": "^8.57.1",
|
|
159
159
|
"eslint-config-prettier": "^10.1.2",
|
|
160
160
|
"eslint-config-sanity": "^7.1.4",
|
|
@@ -163,22 +163,22 @@
|
|
|
163
163
|
"eslint-plugin-react-compiler": "beta",
|
|
164
164
|
"eslint-plugin-react-hooks": "^5.2.0",
|
|
165
165
|
"eslint-plugin-simple-import-sort": "^12.1.1",
|
|
166
|
-
"next": "15.3.
|
|
166
|
+
"next": "15.3.1",
|
|
167
167
|
"react": "19.1.0",
|
|
168
168
|
"react-dom": "19.1.0",
|
|
169
169
|
"styled-components": "^6.1.17",
|
|
170
170
|
"typescript": "5.8.3",
|
|
171
171
|
"vite-tsconfig-paths": "^5.1.4",
|
|
172
|
-
"vitest": "^3.1.
|
|
172
|
+
"vitest": "^3.1.2"
|
|
173
173
|
},
|
|
174
174
|
"peerDependencies": {
|
|
175
|
-
"@sanity/client": "^
|
|
175
|
+
"@sanity/client": "^7.0.0",
|
|
176
176
|
"@sanity/icons": "^3.7.0",
|
|
177
|
-
"@sanity/types": "^3.
|
|
178
|
-
"@sanity/ui": "^2.15.
|
|
177
|
+
"@sanity/types": "^3.87.0",
|
|
178
|
+
"@sanity/ui": "^2.15.14",
|
|
179
179
|
"next": "^14.2 || ^15.0.0-0",
|
|
180
180
|
"react": "^18.3 || ^19.0.0-0",
|
|
181
|
-
"sanity": "^3.
|
|
181
|
+
"sanity": "^3.87.0",
|
|
182
182
|
"styled-components": "^6.1"
|
|
183
183
|
},
|
|
184
184
|
"engines": {
|