astro 3.0.7 → 3.0.8

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.
@@ -23,7 +23,7 @@ class BuildPipeline extends Pipeline {
23
23
  compressHTML: manifest.compressHTML,
24
24
  async resolve(specifier) {
25
25
  const hashedFilePath = manifest.entryModules[specifier];
26
- if (typeof hashedFilePath !== "string") {
26
+ if (typeof hashedFilePath !== "string" || hashedFilePath === "") {
27
27
  if (specifier === BEFORE_HYDRATION_SCRIPT_ID) {
28
28
  return "";
29
29
  }
@@ -182,7 +182,7 @@ async function generateImage(pipeline, transform, path, count, totalCount) {
182
182
  const counter = `(${count}/${totalCount})`;
183
183
  logger.info(
184
184
  null,
185
- ` ${green("\u25B6")} ${path} ${dim(statsText)} ${dim(timeIncrease)} ${dim(counter)}}`
185
+ ` ${green("\u25B6")} ${path} ${dim(statsText)} ${dim(timeIncrease)} ${dim(counter)}`
186
186
  );
187
187
  }
188
188
  async function generatePage(pageData, ssrEntry, builtPaths, pipeline) {
@@ -1,4 +1,4 @@
1
- const ASTRO_VERSION = "3.0.7";
1
+ const ASTRO_VERSION = "3.0.8";
2
2
  const SUPPORTED_MARKDOWN_FILE_EXTENSIONS = [
3
3
  ".markdown",
4
4
  ".mdown",
@@ -20,7 +20,7 @@ async function dev(inlineConfig) {
20
20
  base: restart.container.settings.config.base
21
21
  })
22
22
  );
23
- const currentVersion = "3.0.7";
23
+ const currentVersion = "3.0.8";
24
24
  if (currentVersion.includes("-")) {
25
25
  logger.warn(null, msg.prerelease({ currentVersion }));
26
26
  }
@@ -50,7 +50,7 @@ function serverStart({
50
50
  base,
51
51
  isRestart = false
52
52
  }) {
53
- const version = "3.0.7";
53
+ const version = "3.0.8";
54
54
  const localPrefix = `${dim("\u2503")} Local `;
55
55
  const networkPrefix = `${dim("\u2503")} Network `;
56
56
  const emptyPrefix = " ".repeat(11);
@@ -235,7 +235,7 @@ function printHelp({
235
235
  message.push(
236
236
  linebreak(),
237
237
  ` ${bgGreen(black(` ${commandName} `))} ${green(
238
- `v${"3.0.7"}`
238
+ `v${"3.0.8"}`
239
239
  )} ${headline}`
240
240
  );
241
241
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "astro",
3
- "version": "3.0.7",
3
+ "version": "3.0.8",
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",