nuxt-feathers-zod 6.4.40 → 6.4.41
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
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
# nuxt-feathers-zod
|
|
2
2
|
|
|
3
|
-
> OSS reference snapshot: **v6.4.
|
|
3
|
+
> OSS reference snapshot: **v6.4.41** — optional Mongo management options aligned and release metadata synchronized.
|
|
4
4
|
|
|
5
5
|
[Documentation](https://vevedh.github.io/nuxt-feathers-zod/)
|
|
6
6
|
|
|
7
7
|
`nuxt-feathers-zod` is the official **Nuxt 4** module that embeds or connects to **FeathersJS v5 (Dove)** with a **CLI-first** workflow and optional **Zod-first** service generation.
|
|
8
8
|
|
|
9
|
-
Current OSS release target: **6.4.
|
|
9
|
+
Current OSS release target: **6.4.41**.
|
|
10
10
|
|
|
11
11
|
It supports two main usage patterns:
|
|
12
12
|
|
|
@@ -132,7 +132,7 @@ bunx nuxt-feathers-zod middlewares list --target nitro
|
|
|
132
132
|
bunx nuxt-feathers-zod middlewares add request-id --target nitro
|
|
133
133
|
```
|
|
134
134
|
|
|
135
|
-
## CLI command surface in 6.4.
|
|
135
|
+
## CLI command surface in 6.4.41
|
|
136
136
|
|
|
137
137
|
| Area | Commands |
|
|
138
138
|
|---|---|
|
package/dist/module.json
CHANGED
|
@@ -53,7 +53,7 @@ function normalizePath() {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
function hasService(app, path) {
|
|
56
|
-
const normalized = String(path || '').replace(
|
|
56
|
+
const normalized = String(path || '').replace(/^\\//, '')
|
|
57
57
|
return Object.prototype.hasOwnProperty.call(app.services || {}, normalized)
|
|
58
58
|
}
|
|
59
59
|
|
|
@@ -92,7 +92,7 @@ function createAuthOptions() {
|
|
|
92
92
|
function inferDatabaseName(connection) {
|
|
93
93
|
try {
|
|
94
94
|
const parsed = new URL(connection)
|
|
95
|
-
const pathname = String(parsed.pathname || '').replace(
|
|
95
|
+
const pathname = String(parsed.pathname || '').replace(/^\\//, '')
|
|
96
96
|
return pathname || 'test'
|
|
97
97
|
}
|
|
98
98
|
catch {
|