@scayle/storefront-nuxt 8.59.1 → 8.59.3
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/CHANGELOG.md +60 -0
- package/dist/module.json +1 -1
- package/dist/module.mjs +1 -1
- package/package.json +13 -13
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,65 @@
|
|
|
1
1
|
# @scayle/storefront-nuxt
|
|
2
2
|
|
|
3
|
+
## 8.59.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependency `@vercel/nft@1.2.0` to `@vercel/nft@1.3.0`
|
|
8
|
+
|
|
9
|
+
**Dependencies**
|
|
10
|
+
|
|
11
|
+
**@scayle/storefront-core v8.59.3**
|
|
12
|
+
|
|
13
|
+
- No changes in this release.
|
|
14
|
+
|
|
15
|
+
## 8.59.2
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- Updated dependency `@vercel/nft@1.2.0` to `@vercel/nft@1.3.0`
|
|
20
|
+
|
|
21
|
+
**Dependencies**
|
|
22
|
+
|
|
23
|
+
**@scayle/storefront-core v8.59.2**
|
|
24
|
+
|
|
25
|
+
- Patch
|
|
26
|
+
|
|
27
|
+
- Deprecated the `slugify` and `getProductPath` functions in `productHelpers.ts` due to compatibility issues with Nuxt 4.
|
|
28
|
+
|
|
29
|
+
To maintain compatibility with Nuxt 4, these functions have been deprecated. Developers should migrate to using `useRouteHelpers().slugify()` instead. Additionally, the `slugify` package must be added as a direct dependency in your Storefront Application.
|
|
30
|
+
|
|
31
|
+
**Migration:**
|
|
32
|
+
|
|
33
|
+
```ts
|
|
34
|
+
import baseSlugify from 'slugify'
|
|
35
|
+
|
|
36
|
+
const slugify = (url: string | undefined): string => {
|
|
37
|
+
return baseSlugify(url ?? '', {
|
|
38
|
+
lower: true,
|
|
39
|
+
remove: /[*+~.()'"!:@/#?]/g,
|
|
40
|
+
})
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
const localePath = useLocalePath()
|
|
44
|
+
|
|
45
|
+
const getProductDetailRoute = (
|
|
46
|
+
id: number,
|
|
47
|
+
name?: string,
|
|
48
|
+
locale?: Locale,
|
|
49
|
+
): string => {
|
|
50
|
+
return localePath(
|
|
51
|
+
{
|
|
52
|
+
name: 'p-productName-id',
|
|
53
|
+
params: {
|
|
54
|
+
productName: slugify(name),
|
|
55
|
+
id: `${id}`,
|
|
56
|
+
},
|
|
57
|
+
},
|
|
58
|
+
locale,
|
|
59
|
+
)
|
|
60
|
+
}
|
|
61
|
+
```
|
|
62
|
+
|
|
3
63
|
## 8.59.1
|
|
4
64
|
|
|
5
65
|
### Patch Changes
|
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scayle/storefront-nuxt",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "8.59.
|
|
4
|
+
"version": "8.59.3",
|
|
5
5
|
"description": "Nuxt integration for the SCAYLE Commerce Engine and Storefront API",
|
|
6
6
|
"author": "SCAYLE Commerce Engine",
|
|
7
7
|
"license": "MIT",
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
},
|
|
74
74
|
"dependencies": {
|
|
75
75
|
"@opentelemetry/api": "^1.9.0",
|
|
76
|
-
"@vercel/nft": "1.
|
|
76
|
+
"@vercel/nft": "1.3.0",
|
|
77
77
|
"@vueuse/core": "14.1.0",
|
|
78
78
|
"consola": "^3.4.2",
|
|
79
79
|
"core-js": "^3.37.1",
|
|
@@ -90,19 +90,19 @@
|
|
|
90
90
|
"vue-router": "^4.4.0",
|
|
91
91
|
"zod": "^4.0.0",
|
|
92
92
|
"@scayle/h3-session": "0.6.3",
|
|
93
|
-
"@scayle/
|
|
94
|
-
"@scayle/
|
|
93
|
+
"@scayle/storefront-core": "8.59.3",
|
|
94
|
+
"@scayle/unstorage-compression-driver": "1.2.5"
|
|
95
95
|
},
|
|
96
96
|
"devDependencies": {
|
|
97
97
|
"@arethetypeswrong/cli": "0.18.2",
|
|
98
98
|
"@eslint/eslintrc": "3.3.3",
|
|
99
|
-
"@nuxt/eslint-config": "1.
|
|
100
|
-
"@nuxt/kit": "3.20.2",
|
|
99
|
+
"@nuxt/eslint-config": "1.13.0",
|
|
100
|
+
"@nuxt/kit": "^3.20.2",
|
|
101
101
|
"@nuxt/module-builder": "1.0.2",
|
|
102
|
-
"@nuxt/schema": "3.20.2",
|
|
102
|
+
"@nuxt/schema": "^3.20.2",
|
|
103
103
|
"@nuxt/test-utils": "3.23.0",
|
|
104
104
|
"@types/node": "22.19.7",
|
|
105
|
-
"@vitest/coverage-v8": "4.0.
|
|
105
|
+
"@vitest/coverage-v8": "4.0.18",
|
|
106
106
|
"dprint": "0.51.1",
|
|
107
107
|
"eslint-formatter-gitlab": "7.0.1",
|
|
108
108
|
"eslint": "9.39.2",
|
|
@@ -111,13 +111,13 @@
|
|
|
111
111
|
"nitro-test-utils": "0.10.1",
|
|
112
112
|
"nitropack": "2.13.1",
|
|
113
113
|
"node-mocks-http": "1.17.2",
|
|
114
|
-
"nuxt": "3.20.2",
|
|
115
|
-
"publint": "0.3.
|
|
114
|
+
"nuxt": "^3.20.2",
|
|
115
|
+
"publint": "0.3.17",
|
|
116
116
|
"typescript": "5.9.3",
|
|
117
117
|
"unbuild": "3.6.1",
|
|
118
|
-
"vitest": "4.0.
|
|
119
|
-
"vue-tsc": "3.2.
|
|
120
|
-
"happy-dom": "20.3.
|
|
118
|
+
"vitest": "4.0.18",
|
|
119
|
+
"vue-tsc": "3.2.3",
|
|
120
|
+
"happy-dom": "20.3.7",
|
|
121
121
|
"@scayle/eslint-config-storefront": "4.7.22",
|
|
122
122
|
"@scayle/eslint-plugin-vue-composable": "0.2.3",
|
|
123
123
|
"@scayle/vitest-config-storefront": "1.0.0",
|