nuxt-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
@@ -3837,7 +3837,7 @@ function addDeclarationTemplates(ctx, options) {
3837
3837
  });
3838
3838
  }
3839
3839
 
3840
- const version = "4.3.0-29431381.f1713850";
3840
+ const version = "4.3.0-29431658.1c44667d";
3841
3841
  const pkg = {
3842
3842
  version: version};
3843
3843
 
@@ -3874,6 +3874,10 @@ function createImportProtectionPatterns(nuxt, options) {
3874
3874
  new RegExp(escapeRE(relative(nuxt.options.srcDir, resolve(nuxt.options.srcDir, nuxt.options.serverDir || "server"))) + "\\/(api|routes|middleware|plugins)\\/"),
3875
3875
  `Importing from server is not allowed in ${context}.`
3876
3876
  ]);
3877
+ patterns.push([
3878
+ /^#server(\/|$)/,
3879
+ `Server aliases are not allowed in ${context}.`
3880
+ ]);
3877
3881
  }
3878
3882
  return patterns;
3879
3883
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nuxt-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",
@@ -67,11 +67,11 @@
67
67
  "@dxup/nuxt": "^0.3.2",
68
68
  "@nuxt/cli": "npm:@nuxt/cli-nightly@latest",
69
69
  "@nuxt/devtools": "^3.1.1",
70
- "@nuxt/kit": "npm:@nuxt/kit-nightly@4.3.0-29431381.f1713850",
71
- "@nuxt/nitro-server": "npm:@nuxt/nitro-server-nightly@4.3.0-29431381.f1713850",
72
- "@nuxt/schema": "npm:@nuxt/schema-nightly@4.3.0-29431381.f1713850",
70
+ "@nuxt/kit": "npm:@nuxt/kit-nightly@4.3.0-29431658.1c44667d",
71
+ "@nuxt/nitro-server": "npm:@nuxt/nitro-server-nightly@4.3.0-29431658.1c44667d",
72
+ "@nuxt/schema": "npm:@nuxt/schema-nightly@4.3.0-29431658.1c44667d",
73
73
  "@nuxt/telemetry": "^2.6.6",
74
- "@nuxt/vite-builder": "npm:@nuxt/vite-builder-nightly@4.3.0-29431381.f1713850",
74
+ "@nuxt/vite-builder": "npm:@nuxt/vite-builder-nightly@4.3.0-29431658.1c44667d",
75
75
  "@unhead/vue": "^2.0.19",
76
76
  "@vue/shared": "^3.5.25",
77
77
  "c12": "^3.3.2",