astro 7.1.2 → 7.1.3

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 = "7.1.2";
3
+ version = "7.1.3";
4
4
  }
5
5
  export {
6
6
  BuildTimeAstroVersionProvider
@@ -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.1.2") {
199
+ if (previousAstroVersion && previousAstroVersion !== "7.1.3") {
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.1.2") {
208
- this.#store.metaStore().set("astro-version", "7.1.2");
207
+ if ("7.1.3") {
208
+ this.#store.metaStore().set("astro-version", "7.1.3");
209
209
  }
210
210
  if (currentConfigDigest) {
211
211
  this.#store.metaStore().set("content-config-digest", currentConfigDigest);
@@ -170,7 +170,7 @@ ${colors.bgGreen(colors.black(` ${verb} static routes `))}`);
170
170
  if (staticImageList.size) {
171
171
  logger.info("SKIP_FORMAT", `${colors.bgGreen(colors.black(` generating optimized images `))}`);
172
172
  const totalCount = Array.from(staticImageList.values()).map((x) => x.transforms.size).reduce((a, b) => a + b, 0);
173
- const cpuCount = os.cpus().length;
173
+ const cpuCount = os.availableParallelism();
174
174
  const assetsCreationPipeline = await prepareAssetsGenerationEnv(options, totalCount);
175
175
  const queue = new PQueue({ concurrency: Math.max(cpuCount, 1) });
176
176
  const errors = [];
@@ -1,4 +1,4 @@
1
- const ASTRO_VERSION = "7.1.2";
1
+ const ASTRO_VERSION = "7.1.3";
2
2
  const ASTRO_GENERATOR = `Astro v${ASTRO_VERSION}`;
3
3
  const ASTRO_ERROR_HEADER = "X-Astro-Error";
4
4
  const DEFAULT_404_COMPONENT = "astro-default-404.astro";
@@ -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.1.2";
29
+ const currentVersion = "7.1.3";
30
30
  const isPrerelease = currentVersion.includes("-");
31
31
  if (!isPrerelease) {
32
32
  try {
@@ -270,7 +270,7 @@ function printHelp({
270
270
  message.push(
271
271
  linebreak(),
272
272
  ` ${bgGreen(black(` ${commandName} `))} ${green(
273
- `v${"7.1.2"}`
273
+ `v${"7.1.3"}`
274
274
  )} ${headline}`
275
275
  );
276
276
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "astro",
3
- "version": "7.1.2",
3
+ "version": "7.1.3",
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",
@@ -146,9 +146,9 @@
146
146
  "xxhash-wasm": "^1.1.0",
147
147
  "yargs-parser": "^22.0.0",
148
148
  "zod": "^4.3.6",
149
- "@astrojs/markdown-satteri": "0.3.4",
150
149
  "@astrojs/internal-helpers": "0.10.1",
151
- "@astrojs/telemetry": "3.3.3"
150
+ "@astrojs/telemetry": "3.3.3",
151
+ "@astrojs/markdown-satteri": "0.3.4"
152
152
  },
153
153
  "optionalDependencies": {
154
154
  "sharp": "^0.34.0 || ^0.35.0"