Socket
Socket
Sign inDemoInstall

gatos

Package Overview
Dependencies
62
Maintainers
1
Versions
52
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.3.22 to 0.3.23

9

index.js

@@ -19,3 +19,3 @@ const { join } = require("path")

const listen = (port = 8080, mongoUri = "mongodb://localhost:27017/gatos") =>
const listen = (port = 8080, mongoUri) =>
new Promise(async (resolve, reject) => {

@@ -138,4 +138,7 @@ const server = http.createServer(async (request, response) => {

if (clear) debug.clear()
await connect(mongoUri)
debug.log("\n\x1b[1m\x1b[32m\x1b[3m✓ Connected to MongoDB\x1b[0m")
if (mongoUri) {
await connect(mongoUri)
debug.log("\n\x1b[1m\x1b[32m\x1b[3m✓ Connected to MongoDB\x1b[0m")
}
server.listen(port, () => {

@@ -142,0 +145,0 @@ debug.log(`@ \x1b[4m\x1b[3mhttp://locahost:${port}\x1b[0m`)

{
"license": "ISC",
"version": "0.3.22",
"version": "0.3.23",
"main": "index.js",

@@ -5,0 +5,0 @@ "name": "gatos",

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc