nuxt-nightly 4.2.2-29381404.e7fff713 → 4.2.2-29381683.af492e0e

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 +9 -9
  2. package/package.json +15 -15
package/dist/index.mjs CHANGED
@@ -3835,7 +3835,7 @@ function addDeclarationTemplates(ctx, options) {
3835
3835
  });
3836
3836
  }
3837
3837
 
3838
- const version = "4.2.2-29381404.e7fff713";
3838
+ const version = "4.2.2-29381683.af492e0e";
3839
3839
 
3840
3840
  function createImportProtectionPatterns(nuxt, options) {
3841
3841
  const patterns = [];
@@ -4354,8 +4354,8 @@ const RemovePluginMetadataPlugin = (nuxt) => createUnplugin(() => {
4354
4354
  map: null
4355
4355
  };
4356
4356
  }
4357
- const exports = findExports(code);
4358
- const defaultExport = exports.find((e) => e.type === "default" || e.name === "default");
4357
+ const exports$1 = findExports(code);
4358
+ const defaultExport = exports$1.find((e) => e.type === "default" || e.name === "default");
4359
4359
  if (!defaultExport) {
4360
4360
  logger.warn(`Plugin \`${plugin.src}\` has no default export and will be ignored at build time. Add \`export default defineNuxtPlugin(() => {})\` to your plugin.`);
4361
4361
  return {
@@ -5747,17 +5747,17 @@ const clientPluginTemplate = {
5747
5747
  async getContents(ctx) {
5748
5748
  const clientPlugins = await annotatePlugins(ctx.nuxt, ctx.app.plugins.filter((p) => !p.mode || p.mode !== "server"));
5749
5749
  checkForCircularDependencies(clientPlugins);
5750
- const exports = [];
5750
+ const exports$1 = [];
5751
5751
  const imports = [];
5752
5752
  for (const plugin of clientPlugins) {
5753
5753
  const path = relative(ctx.nuxt.options.rootDir, plugin.src);
5754
5754
  const variable = genSafeVariableName(filename(plugin.src) || path).replace(PLUGIN_TEMPLATE_RE, "_") + "_" + hash(path).replace(/-/g, "_");
5755
- exports.push(variable);
5755
+ exports$1.push(variable);
5756
5756
  imports.push(genImport(plugin.src, variable));
5757
5757
  }
5758
5758
  return [
5759
5759
  ...imports,
5760
- `export default ${genArrayFromRaw(exports)}`
5760
+ `export default ${genArrayFromRaw(exports$1)}`
5761
5761
  ].join("\n");
5762
5762
  }
5763
5763
  };
@@ -5766,17 +5766,17 @@ const serverPluginTemplate = {
5766
5766
  async getContents(ctx) {
5767
5767
  const serverPlugins = await annotatePlugins(ctx.nuxt, ctx.app.plugins.filter((p) => !p.mode || p.mode !== "client"));
5768
5768
  checkForCircularDependencies(serverPlugins);
5769
- const exports = [];
5769
+ const exports$1 = [];
5770
5770
  const imports = [];
5771
5771
  for (const plugin of serverPlugins) {
5772
5772
  const path = relative(ctx.nuxt.options.rootDir, plugin.src);
5773
5773
  const variable = genSafeVariableName(filename(plugin.src) || path).replace(PLUGIN_TEMPLATE_RE, "_") + "_" + hash(path).replace(/-/g, "_");
5774
- exports.push(variable);
5774
+ exports$1.push(variable);
5775
5775
  imports.push(genImport(plugin.src, variable));
5776
5776
  }
5777
5777
  return [
5778
5778
  ...imports,
5779
- `export default ${genArrayFromRaw(exports)}`
5779
+ `export default ${genArrayFromRaw(exports$1)}`
5780
5780
  ].join("\n");
5781
5781
  }
5782
5782
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nuxt-nightly",
3
- "version": "4.2.2-29381404.e7fff713",
3
+ "version": "4.2.2-29381683.af492e0e",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/nuxt/nuxt.git",
@@ -66,15 +66,15 @@
66
66
  "dependencies": {
67
67
  "@dxup/nuxt": "^0.2.1",
68
68
  "@nuxt/cli": "npm:@nuxt/cli-nightly@latest",
69
- "@nuxt/devtools": "^3.0.1",
70
- "@nuxt/kit": "npm:@nuxt/kit-nightly@4.2.2-29381404.e7fff713",
71
- "@nuxt/nitro-server": "npm:@nuxt/nitro-server-nightly@4.2.2-29381404.e7fff713",
72
- "@nuxt/schema": "npm:@nuxt/schema-nightly@4.2.2-29381404.e7fff713",
69
+ "@nuxt/devtools": "^3.1.0",
70
+ "@nuxt/kit": "npm:@nuxt/kit-nightly@4.2.2-29381683.af492e0e",
71
+ "@nuxt/nitro-server": "npm:@nuxt/nitro-server-nightly@4.2.2-29381683.af492e0e",
72
+ "@nuxt/schema": "npm:@nuxt/schema-nightly@4.2.2-29381683.af492e0e",
73
73
  "@nuxt/telemetry": "^2.6.6",
74
- "@nuxt/vite-builder": "npm:@nuxt/vite-builder-nightly@4.2.2-29381404.e7fff713",
74
+ "@nuxt/vite-builder": "npm:@nuxt/vite-builder-nightly@4.2.2-29381683.af492e0e",
75
75
  "@unhead/vue": "^2.0.19",
76
- "@vue/shared": "^3.5.23",
77
- "c12": "^3.3.1",
76
+ "@vue/shared": "^3.5.24",
77
+ "c12": "^3.3.2",
78
78
  "chokidar": "^4.0.3",
79
79
  "compatx": "^0.2.0",
80
80
  "consola": "^3.4.2",
@@ -84,7 +84,7 @@
84
84
  "devalue": "^5.4.2",
85
85
  "errx": "^0.1.0",
86
86
  "escape-string-regexp": "^5.0.0",
87
- "exsolve": "^1.0.7",
87
+ "exsolve": "^1.0.8",
88
88
  "h3": "^1.15.4",
89
89
  "hookable": "^5.5.3",
90
90
  "ignore": "^7.0.5",
@@ -99,9 +99,9 @@
99
99
  "ofetch": "^1.5.1",
100
100
  "ohash": "^2.0.11",
101
101
  "on-change": "^6.0.1",
102
- "oxc-minify": "^0.96.0",
103
- "oxc-parser": "^0.96.0",
104
- "oxc-transform": "^0.96.0",
102
+ "oxc-minify": "^0.97.0",
103
+ "oxc-parser": "^0.97.0",
104
+ "oxc-transform": "^0.97.0",
105
105
  "oxc-walker": "^0.5.2",
106
106
  "pathe": "^2.0.3",
107
107
  "perfect-debounce": "^2.0.0",
@@ -119,7 +119,7 @@
119
119
  "unplugin": "^2.3.10",
120
120
  "unplugin-vue-router": "^0.16.1",
121
121
  "untyped": "^2.0.0",
122
- "vue": "^3.5.23",
122
+ "vue": "^3.5.24",
123
123
  "vue-router": "^4.6.3"
124
124
  },
125
125
  "devDependencies": {
@@ -128,9 +128,9 @@
128
128
  "@types/estree": "1.0.8",
129
129
  "@vitejs/plugin-vue": "6.0.1",
130
130
  "@vitejs/plugin-vue-jsx": "5.1.1",
131
- "@vue/compiler-sfc": "3.5.23",
131
+ "@vue/compiler-sfc": "3.5.24",
132
132
  "unbuild": "3.6.1",
133
- "vite": "7.2.1",
133
+ "vite": "7.2.2",
134
134
  "vitest": "3.2.4",
135
135
  "vue-bundle-renderer": "2.2.0",
136
136
  "vue-sfc-transformer": "0.1.17"