New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

astro

Package Overview
Dependencies
Maintainers
2
Versions
1309
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

astro - npm Package Compare versions

Comparing version
6.0.1
to
6.0.2
+1
-1
dist/cli/infra/build-time-astro-version-provider.js
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 {

{
"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",