Huge News!Announcing our $40M Series B led by Abstract Ventures.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 2.0.1 to 2.0.2

1

lib/connection.js

@@ -60,2 +60,3 @@ 'use strict'

this.Document = ConnectedDocument
this.Model = ConnectedDocument

@@ -62,0 +63,0 @@ if (uri) {

2

lib/model.js

@@ -146,3 +146,3 @@ 'use strict'

var doc = this
return get(this)
return get(this.constructor)
.then(function (c) {

@@ -149,0 +149,0 @@ return c.save(doc)

{
"name": "mong",
"version": "2.0.1",
"version": "2.0.2",
"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