astro 7.3.0 → 7.3.1
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/dist/assets/vite-plugin-assets.js +5 -2
- package/dist/cli/infra/build-time-astro-version-provider.js +1 -1
- package/dist/content/content-layer.js +3 -3
- package/dist/core/constants.js +1 -1
- package/dist/core/dev/dev.js +1 -1
- package/dist/core/messages/runtime.js +1 -1
- package/package.json +4 -4
|
@@ -94,11 +94,14 @@ const addStaticImageFactory = (settings) => {
|
|
|
94
94
|
};
|
|
95
95
|
const RUNTIME_LOGGER_SETUP = `
|
|
96
96
|
import { createConsoleLogger as _createConsoleLogger } from "astro/logger/console";
|
|
97
|
-
import { astroToRuntimeLogger as _astroToRuntimeLogger } from "astro/_internal/logger";
|
|
98
97
|
import _loggerDestination, { level as _loggerLevel } from "virtual:astro:logger";
|
|
99
98
|
const _astroLogger = _createConsoleLogger({ level: _loggerLevel });
|
|
100
99
|
if (_loggerDestination) _astroLogger.setDestination(_loggerDestination);
|
|
101
|
-
const _runtimeLogger =
|
|
100
|
+
const _runtimeLogger = {
|
|
101
|
+
info: (message) => _astroLogger.info(null, message),
|
|
102
|
+
warn: (message) => _astroLogger.warn(null, message),
|
|
103
|
+
error: (message) => _astroLogger.error(null, message),
|
|
104
|
+
};
|
|
102
105
|
`;
|
|
103
106
|
const CLIENT_RUNTIME_LOGGER_SETUP = `
|
|
104
107
|
const _runtimeLogger = {
|
|
@@ -196,7 +196,7 @@ ${contentConfig.error.message}`
|
|
|
196
196
|
logger.info("Content config changed");
|
|
197
197
|
shouldClear = true;
|
|
198
198
|
}
|
|
199
|
-
if (previousAstroVersion && previousAstroVersion !== "7.3.
|
|
199
|
+
if (previousAstroVersion && previousAstroVersion !== "7.3.1") {
|
|
200
200
|
logger.info("Astro version changed");
|
|
201
201
|
shouldClear = true;
|
|
202
202
|
}
|
|
@@ -204,8 +204,8 @@ ${contentConfig.error.message}`
|
|
|
204
204
|
logger.info("Clearing content store");
|
|
205
205
|
this.#store.clearAll();
|
|
206
206
|
}
|
|
207
|
-
if ("7.3.
|
|
208
|
-
this.#store.metaStore().set("astro-version", "7.3.
|
|
207
|
+
if ("7.3.1") {
|
|
208
|
+
this.#store.metaStore().set("astro-version", "7.3.1");
|
|
209
209
|
}
|
|
210
210
|
if (currentConfigDigest) {
|
|
211
211
|
this.#store.metaStore().set("content-config-digest", currentConfigDigest);
|
package/dist/core/constants.js
CHANGED
package/dist/core/dev/dev.js
CHANGED
|
@@ -26,7 +26,7 @@ async function dev(inlineConfig) {
|
|
|
26
26
|
await telemetry.record([]);
|
|
27
27
|
const restart = await createContainerWithAutomaticRestart({ inlineConfig, fs });
|
|
28
28
|
const logger = restart.container.logger;
|
|
29
|
-
const currentVersion = "7.3.
|
|
29
|
+
const currentVersion = "7.3.1";
|
|
30
30
|
const isPrerelease = currentVersion.includes("-");
|
|
31
31
|
if (!isPrerelease) {
|
|
32
32
|
try {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "astro",
|
|
3
|
-
"version": "7.3.
|
|
3
|
+
"version": "7.3.1",
|
|
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",
|
|
@@ -154,8 +154,8 @@
|
|
|
154
154
|
"yargs-parser": "^22.0.0",
|
|
155
155
|
"zod": "^4.5.4",
|
|
156
156
|
"@astrojs/internal-helpers": "0.11.0",
|
|
157
|
-
"@astrojs/
|
|
158
|
-
"@astrojs/
|
|
157
|
+
"@astrojs/telemetry": "3.3.3",
|
|
158
|
+
"@astrojs/markdown-satteri": "0.4.0"
|
|
159
159
|
},
|
|
160
160
|
"optionalDependencies": {
|
|
161
161
|
"sharp": "^0.35.4"
|
|
@@ -193,8 +193,8 @@
|
|
|
193
193
|
"typescript": "^6.0.3",
|
|
194
194
|
"undici": "^7.22.0",
|
|
195
195
|
"vitest": "^4.1.0",
|
|
196
|
-
"@astrojs/check": "0.9.10",
|
|
197
196
|
"@astrojs/markdown-remark": "7.3.0",
|
|
197
|
+
"@astrojs/check": "0.9.10",
|
|
198
198
|
"astro-scripts": "0.0.14"
|
|
199
199
|
},
|
|
200
200
|
"engines": {
|