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

basic-node-server

Package Overview
Dependencies
Maintainers
0
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

basic-node-server - npm Package Compare versions

Comparing version 1.0.9 to 1.0.10

2

bns.js

@@ -38,3 +38,3 @@ #!/usr/bin/env node

// If filePath is empty or ends with '/', default to 'index.html'
if (!filePath || filePath.endsWith('/')) {
if (!filePath || filePath.endsWith('/') || filePath.endsWith('\\')) {
filePath = path.join(filePath, 'index.html');

@@ -41,0 +41,0 @@ }

{
"name": "basic-node-server",
"version": "1.0.9",
"version": "1.0.10",
"description": "Basic node server for everyone.",

@@ -5,0 +5,0 @@ "main": "bns.js",

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