astro 5.7.14 → 5.8.0
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.
package/astro.js
CHANGED
|
@@ -153,7 +153,7 @@ ${contentConfig.error.message}`);
|
|
|
153
153
|
logger.info("Content config changed");
|
|
154
154
|
shouldClear = true;
|
|
155
155
|
}
|
|
156
|
-
if (previousAstroVersion && previousAstroVersion !== "5.
|
|
156
|
+
if (previousAstroVersion && previousAstroVersion !== "5.8.0") {
|
|
157
157
|
logger.info("Astro version changed");
|
|
158
158
|
shouldClear = true;
|
|
159
159
|
}
|
|
@@ -161,8 +161,8 @@ ${contentConfig.error.message}`);
|
|
|
161
161
|
logger.info("Clearing content store");
|
|
162
162
|
this.#store.clearAll();
|
|
163
163
|
}
|
|
164
|
-
if ("5.
|
|
165
|
-
await this.#store.metaStore().set("astro-version", "5.
|
|
164
|
+
if ("5.8.0") {
|
|
165
|
+
await this.#store.metaStore().set("astro-version", "5.8.0");
|
|
166
166
|
}
|
|
167
167
|
if (currentConfigDigest) {
|
|
168
168
|
await this.#store.metaStore().set("content-config-digest", currentConfigDigest);
|
|
@@ -52,13 +52,13 @@ function vitePluginManifest(options, internals) {
|
|
|
52
52
|
return Date.now().toString();
|
|
53
53
|
}
|
|
54
54
|
},
|
|
55
|
-
|
|
55
|
+
load(id) {
|
|
56
56
|
if (id === RESOLVED_SSR_MANIFEST_VIRTUAL_MODULE_ID) {
|
|
57
57
|
const imports = [
|
|
58
58
|
`import { deserializeManifest as _deserializeManifest } from 'astro/app'`,
|
|
59
59
|
`import { _privateSetManifestDontUseThis } from 'astro:ssr-manifest'`
|
|
60
60
|
];
|
|
61
|
-
const resolvedDriver =
|
|
61
|
+
const resolvedDriver = resolveSessionDriver(options.settings.config.session?.driver);
|
|
62
62
|
const contents = [
|
|
63
63
|
`const manifest = _deserializeManifest('${manifestReplace}');`,
|
|
64
64
|
`if (manifest.sessionConfig) manifest.sessionConfig.driverModule = ${resolvedDriver ? `() => import(${JSON.stringify(resolvedDriver)})` : "null"};`,
|
package/dist/core/constants.js
CHANGED
package/dist/core/dev/dev.js
CHANGED
|
@@ -22,7 +22,7 @@ async function dev(inlineConfig) {
|
|
|
22
22
|
await telemetry.record([]);
|
|
23
23
|
const restart = await createContainerWithAutomaticRestart({ inlineConfig, fs });
|
|
24
24
|
const logger = restart.container.logger;
|
|
25
|
-
const currentVersion = "5.
|
|
25
|
+
const currentVersion = "5.8.0";
|
|
26
26
|
const isPrerelease = currentVersion.includes("-");
|
|
27
27
|
if (!isPrerelease) {
|
|
28
28
|
try {
|
package/dist/core/messages.js
CHANGED
|
@@ -37,7 +37,7 @@ function serverStart({
|
|
|
37
37
|
host,
|
|
38
38
|
base
|
|
39
39
|
}) {
|
|
40
|
-
const version = "5.
|
|
40
|
+
const version = "5.8.0";
|
|
41
41
|
const localPrefix = `${dim("\u2503")} Local `;
|
|
42
42
|
const networkPrefix = `${dim("\u2503")} Network `;
|
|
43
43
|
const emptyPrefix = " ".repeat(11);
|
|
@@ -274,7 +274,7 @@ function printHelp({
|
|
|
274
274
|
message.push(
|
|
275
275
|
linebreak(),
|
|
276
276
|
` ${bgGreen(black(` ${commandName} `))} ${green(
|
|
277
|
-
`v${"5.
|
|
277
|
+
`v${"5.8.0"}`
|
|
278
278
|
)} ${headline}`
|
|
279
279
|
);
|
|
280
280
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "astro",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.8.0",
|
|
4
4
|
"description": "Astro is a modern site builder with web best practices, performance, and DX front-of-mind.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"author": "withastro",
|
|
@@ -157,8 +157,8 @@
|
|
|
157
157
|
"zod-to-json-schema": "^3.24.5",
|
|
158
158
|
"zod-to-ts": "^1.2.0",
|
|
159
159
|
"@astrojs/internal-helpers": "0.6.1",
|
|
160
|
-
"@astrojs/markdown-remark": "6.3.
|
|
161
|
-
"@astrojs/telemetry": "3.
|
|
160
|
+
"@astrojs/markdown-remark": "6.3.2",
|
|
161
|
+
"@astrojs/telemetry": "3.3.0"
|
|
162
162
|
},
|
|
163
163
|
"optionalDependencies": {
|
|
164
164
|
"sharp": "^0.33.3"
|
|
@@ -202,7 +202,7 @@
|
|
|
202
202
|
"astro-scripts": "0.0.14"
|
|
203
203
|
},
|
|
204
204
|
"engines": {
|
|
205
|
-
"node": "
|
|
205
|
+
"node": "18.20.8 || ^20.3.0 || >=22.0.0",
|
|
206
206
|
"npm": ">=9.6.5",
|
|
207
207
|
"pnpm": ">=7.1.0"
|
|
208
208
|
},
|