astro 5.7.8 → 5.7.9

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,7 @@
1
1
  :where([data-astro-image]) {
2
2
  object-fit: var(--fit);
3
3
  object-position: var(--pos);
4
+ height: auto;
4
5
  }
5
6
  :where([data-astro-image='full-width']) {
6
7
  width: 100%;
@@ -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.7.8") {
156
+ if (previousAstroVersion && previousAstroVersion !== "5.7.9") {
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.7.8") {
165
- await this.#store.metaStore().set("astro-version", "5.7.8");
164
+ if ("5.7.9") {
165
+ await this.#store.metaStore().set("astro-version", "5.7.9");
166
166
  }
167
167
  if (currentConfigDigest) {
168
168
  await this.#store.metaStore().set("content-config-digest", currentConfigDigest);
@@ -1,4 +1,4 @@
1
- const ASTRO_VERSION = "5.7.8";
1
+ const ASTRO_VERSION = "5.7.9";
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.7.8";
25
+ const currentVersion = "5.7.9";
26
26
  const isPrerelease = currentVersion.includes("-");
27
27
  if (!isPrerelease) {
28
28
  try {
@@ -37,7 +37,7 @@ function serverStart({
37
37
  host,
38
38
  base
39
39
  }) {
40
- const version = "5.7.8";
40
+ const version = "5.7.9";
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.7.8"}`
277
+ `v${"5.7.9"}`
278
278
  )} ${headline}`
279
279
  );
280
280
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "astro",
3
- "version": "5.7.8",
3
+ "version": "5.7.9",
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
  "zod": "^3.24.2",
155
155
  "zod-to-json-schema": "^3.24.5",
156
156
  "zod-to-ts": "^1.2.0",
157
- "@astrojs/internal-helpers": "0.6.1",
158
157
  "@astrojs/markdown-remark": "6.3.1",
158
+ "@astrojs/internal-helpers": "0.6.1",
159
159
  "@astrojs/telemetry": "3.2.1"
160
160
  },
161
161
  "optionalDependencies": {