New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
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 0.1.17 to 0.1.18

2

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

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

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

var firstEl;
for(var f in value){
for (var f in value) {
firstEl = f;

@@ -234,3 +234,7 @@ break;

if ((properties.required || !isUndefined(getDefault(properties))) && !isUndefined(factoryDefaults[type])) {
defaults[key] = getDefault(properties) || factoryDefaults[type]();
defaults[key] = getDefault(properties);
if (defaults[key] === undefined) {
defaults[key] = factoryDefaults[type]();
}
} else {

@@ -237,0 +241,0 @@ defaults[key] = undefined;

{
"name": "mongo-schema",
"version": "0.1.17",
"version": "0.1.18",
"main": "lib/mongo-schema.js",

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

# mongo-schema [![Build Status](https://secure.travis-ci.org/paul-em/mongo-schema.png?branch=master)](http://travis-ci.org/paul-em/mongo-schema)
Basic schema for mongodb. Can be used on server and client!
Basic schema for mongodb. Can be used on server and client! NOT STABLE YET!!!

@@ -5,0 +5,0 @@ ## Getting Started

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