@dargmuesli/nuxt-vio 18.0.1 → 18.1.0
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/node.ts
ADDED
package/package.json
CHANGED
@@ -37,6 +37,7 @@
|
|
37
37
|
"vue-tsc": "2.2.8"
|
38
38
|
},
|
39
39
|
"devDependencies": {
|
40
|
+
"@types/node": "22.13.10",
|
40
41
|
"@urql/devtools": "2.0.3",
|
41
42
|
"@urql/exchange-graphcache": "7.2.3",
|
42
43
|
"consola": "3.4.2",
|
@@ -66,6 +67,7 @@
|
|
66
67
|
"i18n",
|
67
68
|
"server",
|
68
69
|
"shared",
|
70
|
+
"node.ts",
|
69
71
|
"nuxt.config.ts",
|
70
72
|
"package.json"
|
71
73
|
],
|
@@ -104,5 +106,5 @@
|
|
104
106
|
"start:static": "serve .playground/.output/public --ssl-cert ./.config/certificates/ssl.crt --ssl-key ./.config/certificates/ssl.key"
|
105
107
|
},
|
106
108
|
"type": "module",
|
107
|
-
"version": "18.0
|
109
|
+
"version": "18.1.0"
|
108
110
|
}
|
package/shared/utils/utils.ts
CHANGED
@@ -3,5 +3,5 @@ import type { RouteLocationRaw } from '#vue-router'
|
|
3
3
|
export const append = (path: string, pathToAppend?: RouteLocationRaw) =>
|
4
4
|
path + (path.endsWith('/') ? '' : '/') + (pathToAppend ?? '')
|
5
5
|
|
6
|
-
export const arrayRemoveNulls = <T>(array?:
|
6
|
+
export const arrayRemoveNulls = <T>(array?: T[]) =>
|
7
7
|
array?.flatMap((x: T) => (x ? [x] : [])) || []
|