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

create-servers

Package Overview
Dependencies
Maintainers
2
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-servers - npm Package Compare versions

Comparing version 1.2.0 to 1.2.1

4

index.js

@@ -94,3 +94,3 @@ /*

if (!options.https) {
console.log('https | no options.https; no server')
log('https | no options.https; no server')
return onListen('https');

@@ -107,3 +107,3 @@ }

console.log('https | listening on %d', port);
log('https | listening on %d', port);
server = https.createServer({

@@ -110,0 +110,0 @@ key: fs.readFileSync(path.join(ssl.root, ssl.key)),

{
"name": "create-servers",
"version": "1.2.0",
"version": "1.2.1",
"description": "Create an http AND/OR an https server and call the same request handler.",

@@ -25,8 +25,8 @@ "main": "index.js",

"dependencies": {
"connected": "0.0.0",
"connected": "~0.0.2",
"errs": "~0.3.0"
},
"devDependencies": {
"tape": "~2.3.2"
"tape": "~2.14.0"
}
}
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