New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@coya/database

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@coya/database - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

4

database.js

@@ -14,3 +14,5 @@ const crypto = require('crypto');

static connect(dbName, dbLogin, dbPassword, logsFilePath = null) {
logs = new Logs('database', logsFilePath);
logs = new Logs('database', {
logsFilePath: logsFilePath
});
return mongo.connect('mongodb://' + dbLogin + ':' + dbPassword + '@localhost:27017/' + dbName)

@@ -17,0 +19,0 @@ .then(function(database) {

{
"name": "@coya/database",
"version": "0.0.1",
"version": "0.0.2",
"description": "MongoDB database service",

@@ -5,0 +5,0 @@ "main": "database.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