astro 4.9.0 → 4.9.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,4 +1,4 @@
1
- const ASTRO_VERSION = "4.9.0";
1
+ const ASTRO_VERSION = "4.9.1";
2
2
  const REROUTE_DIRECTIVE_HEADER = "X-Astro-Reroute";
3
3
  const ROUTE_TYPE_HEADER = "X-Astro-Route-Type";
4
4
  const DEFAULT_404_COMPONENT = "astro-default-404";
@@ -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.9.0";
22
+ const currentVersion = "4.9.1";
23
23
  const isPrerelease = currentVersion.includes("-");
24
24
  if (!isPrerelease) {
25
25
  try {
@@ -37,7 +37,7 @@ function serverStart({
37
37
  host,
38
38
  base
39
39
  }) {
40
- const version = "4.9.0";
40
+ const version = "4.9.1";
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.9.0"}`
272
+ `v${"4.9.1"}`
273
273
  )} ${headline}`
274
274
  );
275
275
  }
@@ -38,7 +38,7 @@ function validateSupportedFeatures(adapterName, featureMap, config, adapterFeatu
38
38
  () => config?.output === "server"
39
39
  );
40
40
  validationResult.assets = validateAssetsFeature(assets, adapterName, config, logger);
41
- if (!config.i18n?.domains) {
41
+ if (config.i18n?.domains) {
42
42
  validationResult.i18nDomains = validateSupportKind(
43
43
  i18nDomains,
44
44
  adapterName,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "astro",
3
- "version": "4.9.0",
3
+ "version": "4.9.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",
@@ -170,8 +170,8 @@
170
170
  "zod": "^3.23.8",
171
171
  "zod-to-json-schema": "^3.23.0",
172
172
  "@astrojs/internal-helpers": "0.4.0",
173
- "@astrojs/telemetry": "3.1.0",
174
- "@astrojs/markdown-remark": "5.1.0"
173
+ "@astrojs/markdown-remark": "5.1.0",
174
+ "@astrojs/telemetry": "3.1.0"
175
175
  },
176
176
  "optionalDependencies": {
177
177
  "sharp": "^0.33.3"