Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@astrojs/node

Package Overview
Dependencies
Maintainers
4
Versions
112
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@astrojs/node - npm Package Compare versions

Comparing version 2.0.1 to 2.0.2

6

CHANGELOG.md
# @astrojs/node
## 2.0.2
### Patch Changes
- [#5207](https://github.com/withastro/astro/pull/5207) [`c203a5cc2`](https://github.com/withastro/astro/commit/c203a5cc2f12d8c1c3e96d4f08bdd2bb2823e997) Thanks [@BeanWei](https://github.com/BeanWei)! - fix static server path for windows system
## 2.0.1

@@ -4,0 +10,0 @@

4

dist/http-server.js

@@ -9,4 +9,4 @@ import fs from "fs";

if (req.url) {
const fileURL = new URL("." + req.url, client);
const stream = send(req, fileURLToPath(fileURL), {
const stream = send(req, encodeURI(req.url), {
root: fileURLToPath(client),
dotfiles: "deny"

@@ -13,0 +13,0 @@ });

{
"name": "@astrojs/node",
"description": "Deploy your site to a Node.js server",
"version": "2.0.1",
"version": "2.0.2",
"type": "module",

@@ -32,3 +32,3 @@ "types": "./dist/index.d.ts",

"@types/send": "^0.17.1",
"astro": "1.5.1",
"astro": "1.6.0",
"astro-scripts": "0.0.8",

@@ -35,0 +35,0 @@ "chai": "^4.3.6",

@@ -19,5 +19,4 @@ import fs from 'fs';

if (req.url) {
const fileURL = new URL('.' + req.url, client);
const stream = send(req, fileURLToPath(fileURL), {
const stream = send(req, encodeURI(req.url), {
root: fileURLToPath(client),
dotfiles: 'deny',

@@ -24,0 +23,0 @@ });

Sorry, the diff of this file is not supported yet

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