@prismicio/svelte 2.2.1-pr.45.fc3c86f → 2.2.2-canary.bcab246
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 +19 -19
- package/src/types.ts +1 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prismicio/svelte",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.2-canary.bcab246",
|
|
4
4
|
"description": "Svelte components to present Prismic content.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"typescript",
|
|
@@ -55,29 +55,29 @@
|
|
|
55
55
|
"test": "npm run lint && npm run types && npm run unit && npm run build"
|
|
56
56
|
},
|
|
57
57
|
"dependencies": {
|
|
58
|
-
"@prismicio/simulator": "^0.2.
|
|
58
|
+
"@prismicio/simulator": "^0.2.4",
|
|
59
59
|
"esm-env": "^1.2.2"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
|
-
"@prismicio/client": "^7.
|
|
62
|
+
"@prismicio/client": "^7.22.1",
|
|
63
63
|
"@prismicio/mock": "^0.7.2",
|
|
64
|
-
"@sveltejs/kit": "^2.
|
|
65
|
-
"@sveltejs/package": "^2.5.
|
|
66
|
-
"@sveltejs/vite-plugin-svelte": "^7.
|
|
67
|
-
"@testing-library/svelte": "^5.
|
|
64
|
+
"@sveltejs/kit": "^2.70.3",
|
|
65
|
+
"@sveltejs/package": "^2.5.8",
|
|
66
|
+
"@sveltejs/vite-plugin-svelte": "^7.3.0",
|
|
67
|
+
"@testing-library/svelte": "^5.4.2",
|
|
68
68
|
"@trivago/prettier-plugin-sort-imports": "^6.0.2",
|
|
69
|
-
"@types/node": "^
|
|
70
|
-
"@vitest/coverage-v8": "^
|
|
71
|
-
"globals": "^17.
|
|
72
|
-
"happy-dom": "^20.
|
|
73
|
-
"oxlint": "^1.
|
|
74
|
-
"prettier": "^3.8
|
|
75
|
-
"prettier-plugin-jsdoc": "^1.8.
|
|
76
|
-
"prettier-plugin-svelte": "^3.5.
|
|
69
|
+
"@types/node": "^26.6.2",
|
|
70
|
+
"@vitest/coverage-v8": "^5.0.1",
|
|
71
|
+
"globals": "^17.12.0",
|
|
72
|
+
"happy-dom": "^20.14.5",
|
|
73
|
+
"oxlint": "^1.85.0",
|
|
74
|
+
"prettier": "^3.9.8",
|
|
75
|
+
"prettier-plugin-jsdoc": "^1.8.1",
|
|
76
|
+
"prettier-plugin-svelte": "^3.5.2",
|
|
77
77
|
"standard-version": "^9.5.0",
|
|
78
|
-
"svelte": "^5.
|
|
79
|
-
"typescript": "^6.0.
|
|
80
|
-
"vitest": "^
|
|
78
|
+
"svelte": "^5.57.1",
|
|
79
|
+
"typescript": "^6.0.3",
|
|
80
|
+
"vitest": "^5.0.1"
|
|
81
81
|
},
|
|
82
82
|
"peerDependencies": {
|
|
83
83
|
"@prismicio/client": ">=7",
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
}
|
|
91
91
|
},
|
|
92
92
|
"engines": {
|
|
93
|
-
"node": ">=
|
|
93
|
+
"node": ">=22"
|
|
94
94
|
},
|
|
95
95
|
"publishConfig": {
|
|
96
96
|
"access": "public"
|
package/src/types.ts
CHANGED
|
@@ -185,8 +185,7 @@ type SliceLikeGraphQL<SliceType extends string = string> = {
|
|
|
185
185
|
* @typeParam SliceType - Type name of the Slice.
|
|
186
186
|
*/
|
|
187
187
|
type SliceLike<SliceType extends string = string> = (
|
|
188
|
-
|
|
|
189
|
-
| SliceLikeGraphQL<SliceType>
|
|
188
|
+
SliceLikeRestV2<SliceType> | SliceLikeGraphQL<SliceType>
|
|
190
189
|
) & {
|
|
191
190
|
/**
|
|
192
191
|
* If `true`, this Slice has been modified from its original value using a
|