astro 5.18.0 → 5.18.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.
@@ -1,6 +1,6 @@
1
1
  class BuildTimeAstroVersionProvider {
2
2
  // Injected during the build through esbuild define
3
- version = "5.18.0";
3
+ version = "5.18.1";
4
4
  }
5
5
  export {
6
6
  BuildTimeAstroVersionProvider
@@ -164,7 +164,7 @@ ${contentConfig.error.message}`);
164
164
  logger.info("Content config changed");
165
165
  shouldClear = true;
166
166
  }
167
- if (previousAstroVersion && previousAstroVersion !== "5.18.0") {
167
+ if (previousAstroVersion && previousAstroVersion !== "5.18.1") {
168
168
  logger.info("Astro version changed");
169
169
  shouldClear = true;
170
170
  }
@@ -172,8 +172,8 @@ ${contentConfig.error.message}`);
172
172
  logger.info("Clearing content store");
173
173
  this.#store.clearAll();
174
174
  }
175
- if ("5.18.0") {
176
- await this.#store.metaStore().set("astro-version", "5.18.0");
175
+ if ("5.18.1") {
176
+ await this.#store.metaStore().set("astro-version", "5.18.1");
177
177
  }
178
178
  if (currentConfigDigest) {
179
179
  await this.#store.metaStore().set("content-config-digest", currentConfigDigest);
@@ -1,4 +1,4 @@
1
- const ASTRO_VERSION = "5.18.0";
1
+ const ASTRO_VERSION = "5.18.1";
2
2
  const REROUTE_DIRECTIVE_HEADER = "X-Astro-Reroute";
3
3
  const REWRITE_DIRECTIVE_HEADER_KEY = "X-Astro-Rewrite";
4
4
  const REWRITE_DIRECTIVE_HEADER_VALUE = "yes";
@@ -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.18.0";
25
+ const currentVersion = "5.18.1";
26
26
  const isPrerelease = currentVersion.includes("-");
27
27
  if (!isPrerelease) {
28
28
  try {
@@ -38,7 +38,7 @@ function serverStart({
38
38
  host,
39
39
  base
40
40
  }) {
41
- const version = "5.18.0";
41
+ const version = "5.18.1";
42
42
  const localPrefix = `${dim("\u2503")} Local `;
43
43
  const networkPrefix = `${dim("\u2503")} Network `;
44
44
  const emptyPrefix = " ".repeat(11);
@@ -275,7 +275,7 @@ function printHelp({
275
275
  message.push(
276
276
  linebreak(),
277
277
  ` ${bgGreen(black(` ${commandName} `))} ${green(
278
- `v${"5.18.0"}`
278
+ `v${"5.18.1"}`
279
279
  )} ${headline}`
280
280
  );
281
281
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "astro",
3
- "version": "5.18.0",
3
+ "version": "5.18.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",
@@ -153,8 +153,8 @@
153
153
  "zod": "^3.25.76",
154
154
  "zod-to-json-schema": "^3.25.1",
155
155
  "zod-to-ts": "^1.2.0",
156
- "@astrojs/internal-helpers": "0.7.5",
157
- "@astrojs/markdown-remark": "6.3.10",
156
+ "@astrojs/internal-helpers": "0.7.6",
157
+ "@astrojs/markdown-remark": "6.3.11",
158
158
  "@astrojs/telemetry": "3.3.0"
159
159
  },
160
160
  "optionalDependencies": {
@@ -193,8 +193,8 @@
193
193
  "undici": "^6.23.0",
194
194
  "unified": "^11.0.5",
195
195
  "vitest": "^3.2.4",
196
- "astro-scripts": "0.0.14",
197
- "@astrojs/check": "0.9.6"
196
+ "@astrojs/check": "0.9.6",
197
+ "astro-scripts": "0.0.14"
198
198
  },
199
199
  "engines": {
200
200
  "node": "18.20.8 || ^20.3.0 || >=22.0.0",