next-sanity 5.2.0 → 5.2.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "next-sanity",
3
- "version": "5.2.0",
3
+ "version": "5.2.1",
4
4
  "description": "Sanity.io toolkit for Next.js",
5
5
  "keywords": [
6
6
  "sanity",
@@ -29,8 +29,8 @@
29
29
  "source": "./src/index.ts",
30
30
  "require": "./dist/index.cjs",
31
31
  "node": {
32
- "import": "./dist/index.cjs.js",
33
- "require": "./dist/index.cjs"
32
+ "module": "./dist/index.js",
33
+ "import": "./dist/index.cjs.js"
34
34
  },
35
35
  "import": "./dist/index.js",
36
36
  "default": "./dist/index.js"
@@ -40,8 +40,8 @@
40
40
  "source": "./src/preview/index.ts",
41
41
  "require": "./dist/preview/index.cjs",
42
42
  "node": {
43
- "import": "./dist/preview/index.cjs.js",
44
- "require": "./dist/preview/index.cjs"
43
+ "module": "./dist/preview/index.js",
44
+ "import": "./dist/preview/index.cjs.js"
45
45
  },
46
46
  "import": "./dist/preview/index.js",
47
47
  "default": "./dist/preview/index.js"
@@ -51,8 +51,8 @@
51
51
  "source": "./src/studio/index.ts",
52
52
  "require": "./dist/studio/index.cjs",
53
53
  "node": {
54
- "import": "./dist/studio/index.cjs.js",
55
- "require": "./dist/studio/index.cjs"
54
+ "module": "./dist/studio/index.js",
55
+ "import": "./dist/studio/index.cjs.js"
56
56
  },
57
57
  "import": "./dist/studio/index.js",
58
58
  "default": "./dist/studio/index.js"
@@ -62,8 +62,8 @@
62
62
  "source": "./src/studio/head/index.ts",
63
63
  "require": "./dist/studio/head.cjs",
64
64
  "node": {
65
- "import": "./dist/studio/head.cjs.js",
66
- "require": "./dist/studio/head.cjs"
65
+ "module": "./dist/studio/head.js",
66
+ "import": "./dist/studio/head.cjs.js"
67
67
  },
68
68
  "import": "./dist/studio/head.js",
69
69
  "default": "./dist/studio/head.js"
@@ -73,8 +73,8 @@
73
73
  "source": "./src/studio/loading.ts",
74
74
  "require": "./dist/studio/loading.cjs",
75
75
  "node": {
76
- "import": "./dist/studio/loading.cjs.js",
77
- "require": "./dist/studio/loading.cjs"
76
+ "module": "./dist/studio/loading.js",
77
+ "import": "./dist/studio/loading.cjs.js"
78
78
  },
79
79
  "import": "./dist/studio/loading.js",
80
80
  "default": "./dist/studio/loading.js"
@@ -84,8 +84,8 @@
84
84
  "source": "./src/studio/metadata.ts",
85
85
  "require": "./dist/studio/metadata.cjs",
86
86
  "node": {
87
- "import": "./dist/studio/metadata.cjs.js",
88
- "require": "./dist/studio/metadata.cjs"
87
+ "module": "./dist/studio/metadata.js",
88
+ "import": "./dist/studio/metadata.cjs.js"
89
89
  },
90
90
  "import": "./dist/studio/metadata.js",
91
91
  "default": "./dist/studio/metadata.js"
@@ -95,8 +95,8 @@
95
95
  "source": "./src/webhook/index.ts",
96
96
  "require": "./dist/webhook.cjs",
97
97
  "node": {
98
- "import": "./dist/webhook.cjs.js",
99
- "require": "./dist/webhook.cjs"
98
+ "module": "./dist/webhook.js",
99
+ "import": "./dist/webhook.cjs.js"
100
100
  },
101
101
  "import": "./dist/webhook.js",
102
102
  "default": "./dist/webhook.js"
@@ -147,7 +147,7 @@
147
147
  "test": "jest",
148
148
  "test:node-esm-cjs": "node test.mjs && node test.cjs",
149
149
  "type-check": "tsc --noEmit",
150
- "update:icons": "cp node_modules/@sanity/server/static/favicons/{apple-touch-icon.png,favicon.ico,favicon.svg} src/studio/head"
150
+ "update:icons": "cp node_modules/sanity/static/favicons/* src/studio/head"
151
151
  },
152
152
  "browserslist": [
153
153
  "> 0.2% and supports es6-module and supports es6-module-dynamic-import and not dead and not IE 11",
@@ -160,18 +160,18 @@
160
160
  "singleQuote": true
161
161
  },
162
162
  "dependencies": {
163
- "@sanity/preview-kit": "2.4.7",
163
+ "@sanity/preview-kit": "2.4.8",
164
164
  "@sanity/webhook": "2.0.0",
165
165
  "groq": "^3.0.0"
166
166
  },
167
167
  "devDependencies": {
168
- "@next/eslint-plugin-next": "13.4.12",
168
+ "@next/eslint-plugin-next": "13.4.13",
169
169
  "@rollup/plugin-url": "^8.0.1",
170
- "@sanity/client": "6.4.0",
170
+ "@sanity/client": "6.4.2",
171
171
  "@sanity/eslint-config-studio": "^3.0.0",
172
172
  "@sanity/image-url": "^1.0.2",
173
- "@sanity/pkg-utils": "^2.3.12",
174
- "@sanity/semantic-release-preset": "^4.1.2",
173
+ "@sanity/pkg-utils": "^2.4.0",
174
+ "@sanity/semantic-release-preset": "^4.1.3",
175
175
  "@sanity/ui": "^1.7.4",
176
176
  "@sanity/vision": "3.14.5",
177
177
  "@types/eventsource": "^1.1.11",
@@ -191,7 +191,7 @@
191
191
  "jest": "^29.6.2",
192
192
  "jest-environment-jsdom": "^29.6.2",
193
193
  "ls-engines": "^0.9.0",
194
- "next": "13.4.13-canary.16",
194
+ "next": "13.4.13",
195
195
  "postcss": "^8.4.27",
196
196
  "prettier": "^3.0.1",
197
197
  "prettier-plugin-packagejson": "^2.4.5",
@@ -207,7 +207,7 @@
207
207
  "url-loader": "^4.1.1"
208
208
  },
209
209
  "peerDependencies": {
210
- "@sanity/client": "^6.1.4",
210
+ "@sanity/client": "^6.4.2",
211
211
  "@sanity/icons": "^2.0.0",
212
212
  "@sanity/types": "^3.0.0",
213
213
  "@sanity/ui": "^1.0.0",
Binary file
Binary file