@nuxt/nitro-server-nightly 4.2.2-29404316.81356f85 → 4.2.2-29404491.1c73525a
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 +6 -8
- package/package.json +5 -5
package/dist/index.mjs
CHANGED
|
@@ -17,7 +17,7 @@ import { isWindows } from 'std-env';
|
|
|
17
17
|
import { ImpoundPlugin } from 'impound';
|
|
18
18
|
import { resolveModulePath } from 'exsolve';
|
|
19
19
|
|
|
20
|
-
const version = "4.2.2-
|
|
20
|
+
const version = "4.2.2-29404491.1c73525a";
|
|
21
21
|
|
|
22
22
|
function toArray(value) {
|
|
23
23
|
return Array.isArray(value) ? value : [value];
|
|
@@ -44,13 +44,11 @@ function createImportProtectionPatterns(nuxt, options) {
|
|
|
44
44
|
"Importing directly from a `nuxt.config` file is not allowed. Instead, use runtime config or a module."
|
|
45
45
|
]);
|
|
46
46
|
patterns.push([/(^|node_modules\/)@vue\/composition-api/]);
|
|
47
|
-
for (const mod of nuxt.options.
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
]);
|
|
53
|
-
}
|
|
47
|
+
for (const mod of nuxt.options.modules.filter((m) => typeof m === "string")) {
|
|
48
|
+
patterns.push([
|
|
49
|
+
new RegExp(`^${escapeRE(mod)}$`),
|
|
50
|
+
"Importing directly from module entry-points is not allowed."
|
|
51
|
+
]);
|
|
54
52
|
}
|
|
55
53
|
for (const i of [/(^|node_modules\/)@nuxt\/(cli|kit|test-utils)/, /(^|node_modules\/)nuxi/, /(^|node_modules\/)nitro(?:pack)?(?:-nightly)?(?:$|\/)(?!(?:dist\/)?(?:node_modules|presets|runtime|types))/, /(^|node_modules\/)nuxt\/(config|kit|schema)/]) {
|
|
56
54
|
patterns.push([i, `This module cannot be imported in ${context}.`]);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nuxt/nitro-server-nightly",
|
|
3
|
-
"version": "4.2.2-
|
|
3
|
+
"version": "4.2.2-29404491.1c73525a",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/nuxt/nuxt.git",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
],
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@nuxt/devalue": "^2.0.2",
|
|
22
|
-
"@nuxt/kit": "npm:@nuxt/kit-nightly@4.2.2-
|
|
22
|
+
"@nuxt/kit": "npm:@nuxt/kit-nightly@4.2.2-29404491.1c73525a",
|
|
23
23
|
"@unhead/vue": "^2.0.19",
|
|
24
24
|
"@vue/shared": "^3.5.25",
|
|
25
25
|
"consola": "^3.4.2",
|
|
@@ -46,11 +46,11 @@
|
|
|
46
46
|
"vue-devtools-stub": "^0.1.0"
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|
|
49
|
-
"nuxt": "npm:nuxt-nightly@4.2.2-
|
|
49
|
+
"nuxt": "npm:nuxt-nightly@4.2.2-29404491.1c73525a"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
|
-
"@nuxt/schema": "npm:@nuxt/schema-nightly@4.2.2-
|
|
53
|
-
"nuxt": "npm:nuxt-nightly@4.2.2-
|
|
52
|
+
"@nuxt/schema": "npm:@nuxt/schema-nightly@4.2.2-29404491.1c73525a",
|
|
53
|
+
"nuxt": "npm:nuxt-nightly@4.2.2-29404491.1c73525a",
|
|
54
54
|
"unbuild": "3.6.1",
|
|
55
55
|
"vitest": "3.2.4"
|
|
56
56
|
},
|