astro 4.8.5 → 4.8.6
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.
|
@@ -31,7 +31,12 @@ function vitePluginAnalyzer(options, internals) {
|
|
|
31
31
|
if (hoistedScripts.size) {
|
|
32
32
|
for (const parentInfo of getParentModuleInfos(from, this, isPropagatedAsset)) {
|
|
33
33
|
if (isPropagatedAsset(parentInfo.id)) {
|
|
34
|
-
|
|
34
|
+
for (const hid of hoistedScripts) {
|
|
35
|
+
if (!internals.propagatedScriptsMap.has(parentInfo.id)) {
|
|
36
|
+
internals.propagatedScriptsMap.set(parentInfo.id, /* @__PURE__ */ new Set());
|
|
37
|
+
}
|
|
38
|
+
internals.propagatedScriptsMap.get(parentInfo.id)?.add(hid);
|
|
39
|
+
}
|
|
35
40
|
} else if (moduleIsTopLevelPage(parentInfo)) {
|
|
36
41
|
for (const hid of hoistedScripts) {
|
|
37
42
|
if (!pageScripts.has(parentInfo.id)) {
|
package/dist/core/constants.js
CHANGED
package/dist/core/dev/dev.js
CHANGED
|
@@ -19,7 +19,7 @@ async function dev(inlineConfig) {
|
|
|
19
19
|
await telemetry.record([]);
|
|
20
20
|
const restart = await createContainerWithAutomaticRestart({ inlineConfig, fs });
|
|
21
21
|
const logger = restart.container.logger;
|
|
22
|
-
const currentVersion = "4.8.
|
|
22
|
+
const currentVersion = "4.8.6";
|
|
23
23
|
const isPrerelease = currentVersion.includes("-");
|
|
24
24
|
if (!isPrerelease) {
|
|
25
25
|
try {
|
package/dist/core/messages.js
CHANGED
|
@@ -37,7 +37,7 @@ function serverStart({
|
|
|
37
37
|
host,
|
|
38
38
|
base
|
|
39
39
|
}) {
|
|
40
|
-
const version = "4.8.
|
|
40
|
+
const version = "4.8.6";
|
|
41
41
|
const localPrefix = `${dim("\u2503")} Local `;
|
|
42
42
|
const networkPrefix = `${dim("\u2503")} Network `;
|
|
43
43
|
const emptyPrefix = " ".repeat(11);
|
|
@@ -269,7 +269,7 @@ function printHelp({
|
|
|
269
269
|
message.push(
|
|
270
270
|
linebreak(),
|
|
271
271
|
` ${bgGreen(black(` ${commandName} `))} ${green(
|
|
272
|
-
`v${"4.8.
|
|
272
|
+
`v${"4.8.6"}`
|
|
273
273
|
)} ${headline}`
|
|
274
274
|
);
|
|
275
275
|
}
|