nuxt-nightly 4.1.2-29286574.9fe2541c → 4.1.2-29287971.f99eac51

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 -2
  2. package/package.json +4 -4
package/dist/index.mjs CHANGED
@@ -3769,7 +3769,7 @@ function addDeclarationTemplates(ctx, options) {
3769
3769
  });
3770
3770
  }
3771
3771
 
3772
- const version = "4.1.2-29286574.9fe2541c";
3772
+ const version = "4.1.2-29287971.f99eac51";
3773
3773
 
3774
3774
  const createImportProtectionPatterns = (nuxt, options) => {
3775
3775
  const patterns = [];
@@ -3889,7 +3889,10 @@ const TreeShakeComposablesPlugin = (options) => createUnplugin(() => {
3889
3889
  if (!scopeTrackerNode && !allComposableNames.has(functionName)) {
3890
3890
  return;
3891
3891
  }
3892
- s.overwrite(node.start, node.end, ` false && /*@__PURE__*/ ${functionName}${code.slice(node.callee.end, node.end)}`);
3892
+ try {
3893
+ s.overwrite(node.start, node.end, ` false && /*@__PURE__*/ ${functionName}${code.slice(node.callee.end, node.end)}`);
3894
+ } catch {
3895
+ }
3893
3896
  }
3894
3897
  });
3895
3898
  if (s.hasChanged()) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nuxt-nightly",
3
- "version": "4.1.2-29286574.9fe2541c",
3
+ "version": "4.1.2-29287971.f99eac51",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/nuxt/nuxt.git",
@@ -67,10 +67,10 @@
67
67
  "@nuxt/cli": "npm:@nuxt/cli-nightly@latest",
68
68
  "@nuxt/devalue": "^2.0.2",
69
69
  "@nuxt/devtools": "^2.6.3",
70
- "@nuxt/kit": "npm:@nuxt/kit-nightly@4.1.2-29286574.9fe2541c",
71
- "@nuxt/schema": "npm:@nuxt/schema-nightly@4.1.2-29286574.9fe2541c",
70
+ "@nuxt/kit": "npm:@nuxt/kit-nightly@4.1.2-29287971.f99eac51",
71
+ "@nuxt/schema": "npm:@nuxt/schema-nightly@4.1.2-29287971.f99eac51",
72
72
  "@nuxt/telemetry": "^2.6.6",
73
- "@nuxt/vite-builder": "npm:@nuxt/vite-builder-nightly@4.1.2-29286574.9fe2541c",
73
+ "@nuxt/vite-builder": "npm:@nuxt/vite-builder-nightly@4.1.2-29287971.f99eac51",
74
74
  "@unhead/vue": "^2.0.14",
75
75
  "@vue/shared": "^3.5.20",
76
76
  "c12": "^3.2.0",