@nuxt/nitro-server-nightly 4.3.0-29431313.dbcf87d4 → 4.3.0-29431658.1c44667d
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/dist/index.mjs +8 -2
- package/package.json +6 -6
package/dist/index.mjs
CHANGED
|
@@ -17,7 +17,9 @@ import { isWindows } from 'std-env';
|
|
|
17
17
|
import { ImpoundPlugin } from 'impound';
|
|
18
18
|
import { resolveModulePath } from 'exsolve';
|
|
19
19
|
|
|
20
|
-
const version = "4.3.0-
|
|
20
|
+
const version = "4.3.0-29431658.1c44667d";
|
|
21
|
+
const nitroBuilder = {
|
|
22
|
+
version: version};
|
|
21
23
|
|
|
22
24
|
function toArray(value) {
|
|
23
25
|
return Array.isArray(value) ? value : [value];
|
|
@@ -65,6 +67,10 @@ function createImportProtectionPatterns(nuxt, options) {
|
|
|
65
67
|
new RegExp(escapeRE(relative(nuxt.options.srcDir, resolve(nuxt.options.srcDir, nuxt.options.serverDir || "server"))) + "\\/(api|routes|middleware|plugins)\\/"),
|
|
66
68
|
`Importing from server is not allowed in ${context}.`
|
|
67
69
|
]);
|
|
70
|
+
patterns.push([
|
|
71
|
+
/^#server(\/|$)/,
|
|
72
|
+
`Server aliases are not allowed in ${context}.`
|
|
73
|
+
]);
|
|
68
74
|
}
|
|
69
75
|
return patterns;
|
|
70
76
|
}
|
|
@@ -259,7 +265,7 @@ async function bundle(nuxt) {
|
|
|
259
265
|
},
|
|
260
266
|
framework: {
|
|
261
267
|
name: "nuxt",
|
|
262
|
-
version: nuxtVersion || version
|
|
268
|
+
version: nuxtVersion || nitroBuilder.version
|
|
263
269
|
},
|
|
264
270
|
imports: {
|
|
265
271
|
autoImport: nuxt.options.imports.autoImport,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nuxt/nitro-server-nightly",
|
|
3
|
-
"version": "4.3.0-
|
|
3
|
+
"version": "4.3.0-29431658.1c44667d",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/nuxt/nuxt.git",
|
|
@@ -19,13 +19,13 @@
|
|
|
19
19
|
],
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@nuxt/devalue": "^2.0.2",
|
|
22
|
-
"@nuxt/kit": "npm:@nuxt/kit-nightly@4.3.0-
|
|
22
|
+
"@nuxt/kit": "npm:@nuxt/kit-nightly@4.3.0-29431658.1c44667d",
|
|
23
23
|
"@unhead/vue": "^2.0.19",
|
|
24
24
|
"@vue/shared": "^3.5.25",
|
|
25
25
|
"consola": "^3.4.2",
|
|
26
26
|
"defu": "^6.1.4",
|
|
27
27
|
"destr": "^2.0.5",
|
|
28
|
-
"devalue": "^5.6.
|
|
28
|
+
"devalue": "^5.6.1",
|
|
29
29
|
"errx": "^0.1.0",
|
|
30
30
|
"escape-string-regexp": "^5.0.0",
|
|
31
31
|
"exsolve": "^1.0.8",
|
|
@@ -46,11 +46,11 @@
|
|
|
46
46
|
"vue-devtools-stub": "^0.1.0"
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|
|
49
|
-
"nuxt": "npm:nuxt-nightly@4.3.0-
|
|
49
|
+
"nuxt": "npm:nuxt-nightly@4.3.0-29431658.1c44667d"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
|
-
"@nuxt/schema": "npm:@nuxt/schema-nightly@4.3.0-
|
|
53
|
-
"nuxt": "npm:nuxt-nightly@4.3.0-
|
|
52
|
+
"@nuxt/schema": "npm:@nuxt/schema-nightly@4.3.0-29431658.1c44667d",
|
|
53
|
+
"nuxt": "npm:nuxt-nightly@4.3.0-29431658.1c44667d",
|
|
54
54
|
"unbuild": "3.6.1",
|
|
55
55
|
"vitest": "3.2.4"
|
|
56
56
|
},
|