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

mong

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mong - npm Package Compare versions

Comparing version 0.0.11 to 0.1.0

13

lib/index.js

@@ -12,2 +12,3 @@ 'use strict';

exports.Types = {
ObjectId: ObjectID,
ObjectID: ObjectID

@@ -63,3 +64,3 @@ };

exports.find = function (query, fields, options, callback) {
exports.find = function (query, fields, options) {
var collection = GC(this);

@@ -173,3 +174,13 @@ var callback = arguments[arguments.length - 1];

exports.model = function (collection) {
function CollectionModel(o) {
ModelInstance.call(this, o);
}
CollectionModel.__proto__ = ModelInstance;
CollectionModel.init = null;
return CollectionModel;
};
exports.prototype.save = function (done) {

@@ -176,0 +187,0 @@ done = done || function (err) {

2

package.json
{
"name": "mong",
"version": "0.0.11",
"version": "0.1.0",
"description": "Lightweight models for mongodb objects",

@@ -5,0 +5,0 @@ "main": "lib/index",

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