Socket
Socket
Sign inDemoInstall

advaya-mongo

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

advaya-mongo - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

15

index.js

@@ -0,1 +1,3 @@

var ObjectID = require('mongodb').ObjectID;
var db= require('./db');

@@ -32,2 +34,15 @@ var initialize= require('./initialize');

//Api static methods
modelApi.id2bson = function (id) {
return new ObjectID(id);
},
modelApi.generateId = function () {
return new ObjectID();
},
modelApi.ObjectID = function () {
return ObjectID;
},
return {

@@ -34,0 +49,0 @@ api: modelApi,

2

package.json
{
"name": "advaya-mongo",
"version": "1.0.2",
"version": "1.0.3",
"description": "Advaya mongo plugin",

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