🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

mongo-schema

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mongo-schema - npm Package Compare versions

Comparing version

to
0.1.7

2

bower.json
{
"name": "tiny-webrtc",
"version": "0.1.6",
"version": "0.1.7",
"homepage": "https://github.com/paul-em/tiny-webrtc",

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

@@ -43,3 +43,3 @@ var MongoSchema = function () {

if (!value.hasOwnProperty(i)) continue;
re = self.check(value[i], properties[0]);
re = self.check(value[i], properties[0], update);
newData[key][i] = re.data;

@@ -51,3 +51,3 @@ errors = errors.concat(re.errors);

if (!isUndefined(value)) {
re = self.check(value, properties);
re = self.check(value, properties, update);
newData[key] = re.data;

@@ -54,0 +54,0 @@ errors = errors.concat(re.errors);

{
"name": "mongo-schema",
"version": "0.1.6",
"version": "0.1.7",
"main": "lib/mongo-schema.js",

@@ -5,0 +5,0 @@ "description": "Basic schema for mongodb",