@nuxt/nitro-server-nightly 4.3.0-29431381.f1713850 → 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.
Files changed (2) hide show
  1. package/dist/index.mjs +5 -1
  2. 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.3.0-29431381.f1713850";
20
+ const version = "4.3.0-29431658.1c44667d";
21
21
  const nitroBuilder = {
22
22
  version: version};
23
23
 
@@ -67,6 +67,10 @@ function createImportProtectionPatterns(nuxt, options) {
67
67
  new RegExp(escapeRE(relative(nuxt.options.srcDir, resolve(nuxt.options.srcDir, nuxt.options.serverDir || "server"))) + "\\/(api|routes|middleware|plugins)\\/"),
68
68
  `Importing from server is not allowed in ${context}.`
69
69
  ]);
70
+ patterns.push([
71
+ /^#server(\/|$)/,
72
+ `Server aliases are not allowed in ${context}.`
73
+ ]);
70
74
  }
71
75
  return patterns;
72
76
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuxt/nitro-server-nightly",
3
- "version": "4.3.0-29431381.f1713850",
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,7 +19,7 @@
19
19
  ],
20
20
  "dependencies": {
21
21
  "@nuxt/devalue": "^2.0.2",
22
- "@nuxt/kit": "npm:@nuxt/kit-nightly@4.3.0-29431381.f1713850",
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",
@@ -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-29431381.f1713850"
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-29431381.f1713850",
53
- "nuxt": "npm:nuxt-nightly@4.3.0-29431381.f1713850",
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
  },