Socket
Socket
Sign inDemoInstall

serve

Package Overview
Dependencies
Maintainers
100
Versions
152
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

serve - npm Package Compare versions

Comparing version 12.0.1 to 13.0.0

6

bin/serve.js

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

By default, {cyan serve} will listen on {bold 0.0.0.0:5000} and serve the
By default, {cyan serve} will listen on {bold 0.0.0.0:3000} and serve the
current working directory on that address.

@@ -156,3 +156,3 @@

case 'tcp:':
url.port = url.port || '5000';
url.port = url.port || '3000';
return [parseInt(url.port, 10), url.hostname];

@@ -424,3 +424,3 @@ default:

// Default endpoint
args['--listen'] = [[process.env.PORT || 5000]];
args['--listen'] = [[process.env.PORT || 3000]];
}

@@ -427,0 +427,0 @@

{
"name": "serve",
"version": "12.0.1",
"version": "13.0.0",
"description": "Static file serving and directory listing",

@@ -5,0 +5,0 @@ "scripts": {

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc