New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@astrojs/db

Package Overview
Dependencies
Maintainers
3
Versions
149
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@astrojs/db - npm Package Compare versions

Comparing version 0.1.22 to 0.1.23

14

dist/core/integration/file-url.js

@@ -55,3 +55,15 @@ import fs from "node:fs";

async "astro:build:done"() {
if (config.output !== "static") {
if (config.output === "static") {
const unlinks = [];
for (const fileName of fileNames) {
const url = new URL(fileName, config.outDir);
unlinks.push(fs.promises.unlink(url));
}
await Promise.all(unlinks);
const assetDir = new URL(config.build.assets, config.outDir);
const assetFiles = await fs.promises.readdir(assetDir);
if (!assetFiles.length) {
await fs.promises.rmdir(assetDir);
}
} else {
const moves = [];

@@ -58,0 +70,0 @@ for (const fileName of fileNames) {

2

package.json
{
"name": "@astrojs/db",
"version": "0.1.22",
"version": "0.1.23",
"description": "",

@@ -5,0 +5,0 @@ "license": "MIT",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc