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

monk

Package Overview
Dependencies
Maintainers
3
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

monk - npm Package Compare versions

Comparing version

to
3.1.3

README.md

4

History.md

@@ -0,1 +1,5 @@

3.1.3 / 2016-10-12
==================
- Added a check to ensure no crash in `cast()`` when `_id` is undefined (fix #165) Thanks @JoelParke
3.1.2 / 2016-08-22

@@ -2,0 +6,0 @@ ==================

2

lib/util.js

@@ -18,3 +18,3 @@ var id = require('./helpers').id

Object.keys(obj).forEach(function (k) {
if (k === '_id') {
if (k === '_id' && obj._id) {
if (obj._id.$in) {

@@ -21,0 +21,0 @@ obj._id.$in = obj._id.$in.map(id)

{
"name": "monk",
"version": "3.1.2",
"version": "3.1.3",
"main": "lib/monk.js",

@@ -5,0 +5,0 @@ "tags": [