| class BuildTimeAstroVersionProvider { | ||
| // Injected during the build through esbuild define | ||
| version = "6.0.1"; | ||
| version = "6.0.2"; | ||
| } | ||
@@ -5,0 +5,0 @@ export { |
@@ -192,3 +192,3 @@ import { existsSync, promises as fs } from "node:fs"; | ||
| } | ||
| if (previousAstroVersion && previousAstroVersion !== "6.0.1") { | ||
| if (previousAstroVersion && previousAstroVersion !== "6.0.2") { | ||
| logger.info("Astro version changed"); | ||
@@ -201,4 +201,4 @@ shouldClear = true; | ||
| } | ||
| if ("6.0.1") { | ||
| this.#store.metaStore().set("astro-version", "6.0.1"); | ||
| if ("6.0.2") { | ||
| this.#store.metaStore().set("astro-version", "6.0.2"); | ||
| } | ||
@@ -205,0 +205,0 @@ if (currentConfigDigest) { |
@@ -1,2 +0,2 @@ | ||
| const ASTRO_VERSION = "6.0.1"; | ||
| const ASTRO_VERSION = "6.0.2"; | ||
| const ASTRO_GENERATOR = `Astro v${ASTRO_VERSION}`; | ||
@@ -3,0 +3,0 @@ const REROUTE_DIRECTIVE_HEADER = "X-Astro-Reroute"; |
@@ -29,3 +29,3 @@ import fs from "node:fs"; | ||
| const logger = restart.container.logger; | ||
| const currentVersion = "6.0.1"; | ||
| const currentVersion = "6.0.2"; | ||
| const isPrerelease = currentVersion.includes("-"); | ||
@@ -32,0 +32,0 @@ if (!isPrerelease) { |
@@ -272,3 +272,3 @@ import colors from "piccolore"; | ||
| ` ${bgGreen(black(` ${commandName} `))} ${green( | ||
| `v${"6.0.1"}` | ||
| `v${"6.0.2"}` | ||
| )} ${headline}` | ||
@@ -275,0 +275,0 @@ ); |
@@ -73,3 +73,3 @@ import { transformWithEsbuild } from "vite"; | ||
| if (scannedFrontmatter) { | ||
| const frontmatter = scannedFrontmatter[1].replace(/\breturn\b/g, "throw"); | ||
| const frontmatter = scannedFrontmatter[1].replace(/\breturn\s*;/g, "throw 0;").replace(/\breturn\b/g, "throw "); | ||
| if (lineText && !frontmatter.includes(lineText)) throw err; | ||
@@ -76,0 +76,0 @@ try { |
+1
-1
| { | ||
| "name": "astro", | ||
| "version": "6.0.1", | ||
| "version": "6.0.2", | ||
| "description": "Astro is a modern site builder with web best practices, performance, and DX front-of-mind.", | ||
@@ -5,0 +5,0 @@ "type": "module", |
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 7 instances in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 7 instances in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
2587871
0