nuxt-nightly 4.2.0-29344147.7bcc4ca3 → 4.2.0-29344154.f3dc0780
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.
|
@@ -85,7 +85,7 @@ export async function isPrerendered(url = useRoute().path) {
|
|
|
85
85
|
if (!appManifest) {
|
|
86
86
|
return !!nuxtApp.payload.prerenderedAt;
|
|
87
87
|
}
|
|
88
|
-
url = url
|
|
88
|
+
url = url.replace(/\/$/, "");
|
|
89
89
|
const manifest = await getAppManifest();
|
|
90
90
|
if (manifest.prerendered.includes(url)) {
|
|
91
91
|
return true;
|
package/dist/index.mjs
CHANGED
|
@@ -2839,7 +2839,7 @@ function TransformPlugin$1(nuxt, options) {
|
|
|
2839
2839
|
if (!code.includes("#components")) {
|
|
2840
2840
|
return;
|
|
2841
2841
|
}
|
|
2842
|
-
const pkg = isAbsolute(id) &&
|
|
2842
|
+
const pkg = isAbsolute(id) && id.includes("node_modules") ? await readPackage(id, { try: true }) : void 0;
|
|
2843
2843
|
if (isObject(pkg) && isObject(pkg.imports) && Object.hasOwn(pkg.imports, "#components")) {
|
|
2844
2844
|
return;
|
|
2845
2845
|
}
|
|
@@ -3828,7 +3828,7 @@ function addDeclarationTemplates(ctx, options) {
|
|
|
3828
3828
|
});
|
|
3829
3829
|
}
|
|
3830
3830
|
|
|
3831
|
-
const version = "4.2.0-
|
|
3831
|
+
const version = "4.2.0-29344154.f3dc0780";
|
|
3832
3832
|
|
|
3833
3833
|
function createImportProtectionPatterns(nuxt, options) {
|
|
3834
3834
|
const patterns = [];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nuxt-nightly",
|
|
3
|
-
"version": "4.2.0-
|
|
3
|
+
"version": "4.2.0-29344154.f3dc0780",
|
|
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.1.0",
|
|
68
68
|
"@nuxt/cli": "npm:@nuxt/cli-nightly@latest",
|
|
69
69
|
"@nuxt/devtools": "^2.6.5",
|
|
70
|
-
"@nuxt/kit": "npm:@nuxt/kit-nightly@4.2.0-
|
|
71
|
-
"@nuxt/nitro-server": "npm:@nuxt/nitro-server-nightly@4.2.0-
|
|
72
|
-
"@nuxt/schema": "npm:@nuxt/schema-nightly@4.2.0-
|
|
70
|
+
"@nuxt/kit": "npm:@nuxt/kit-nightly@4.2.0-29344154.f3dc0780",
|
|
71
|
+
"@nuxt/nitro-server": "npm:@nuxt/nitro-server-nightly@4.2.0-29344154.f3dc0780",
|
|
72
|
+
"@nuxt/schema": "npm:@nuxt/schema-nightly@4.2.0-29344154.f3dc0780",
|
|
73
73
|
"@nuxt/telemetry": "^2.6.6",
|
|
74
|
-
"@nuxt/vite-builder": "npm:@nuxt/vite-builder-nightly@4.2.0-
|
|
74
|
+
"@nuxt/vite-builder": "npm:@nuxt/vite-builder-nightly@4.2.0-29344154.f3dc0780",
|
|
75
75
|
"@unhead/vue": "^2.0.14",
|
|
76
76
|
"@vue/shared": "^3.5.22",
|
|
77
77
|
"c12": "^3.3.0",
|