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

@ydv/mongo

Package Overview
Dependencies
Maintainers
6
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ydv/mongo - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

9

index.js
const omit = require('lodash/omit')
const once = require('lodash/once')
const mongoose = require('mongoose')
let _mongoUrl
exports.db = mongoose
exports.setMongoUrl = url => {
_mongoUrl = url
}
exports.connect = once(url => mongoose.connect(url || _mongoUrl))
exports.Types = mongoose.Schema.Types

@@ -7,0 +16,0 @@

2

package.json
{
"name": "@ydv/mongo",
"version": "1.1.0",
"version": "1.1.1",
"repository": "YottaDV/mongo",

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

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