Socket
Socket
Sign inDemoInstall

mongodb-aws-documentdb-tunneling

Package Overview
Dependencies
44
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.0-alpha.20 to 1.0.0-alpha.21

10

clients/mongodb.remote.client.js

@@ -127,7 +127,7 @@ const MONGODB = require('mongodb')

return MONGODB.connect(uri, mongoDBOptions)
// .then(
// client => Promise.resolve({
// message: 'Connected to DocumentDB with MongoDB.', client: client,
// })
// )
.then(
client => Promise.resolve({
message: 'Connected to DocumentDB with MongoDB.', client: client,
})
)
.catch(

@@ -134,0 +134,0 @@ error => Promise.reject({

@@ -40,11 +40,11 @@ const MONGODB_LOCAL = require('./clients/mongodb.local.client')

.then(
(result) => {
({ message, client }) => {
DEBUG({ 'result-from-connect': result })
DEBUG({ 'message': result, 'client': client })
MongoClient = result
MongoClient = client
return callback
? callback(null, result)
: Promise.resolve(result)
? callback(null, message)
: Promise.resolve(message)
}

@@ -51,0 +51,0 @@ )

{
"name": "mongodb-aws-documentdb-tunneling",
"version": "1.0.0-alpha.20",
"version": "1.0.0-alpha.21",
"description": "Mongodb wich allow SSH tunneling into a AWS documentDb VPC by going through a EC2 instance hosted in the same VPC.",

@@ -24,3 +24,3 @@ "main": "index.js",

},
"gitHead": "15fe7c5b8f363e54ae49c1663f1285b0575e1412"
"gitHead": "555707075d1d0a4668c5ff3989ecc18849183e6a"
}
SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc