goodeggs-json-schema-converter
Advanced tools
Comparing version 1.1.0 to 1.1.1
// Generated by CoffeeScript 1.9.3 | ||
var indexOf = [].indexOf || function(item) { for (var i = 0, l = this.length; i < l; i++) { if (i in this && this[i] === item) return i; } return -1; }; | ||
module.exports.toMongooseSchema = function(JSONSchema, mongoose) { | ||
var config, convert, formats, propertiesMappings, schema, types; | ||
module.exports.toMongooseSchema = function(originalJSONSchema, mongoose) { | ||
var JSONSchema, config, convert, formats, propertiesMappings, schema, types; | ||
JSONSchema = JSON.parse(JSON.stringify(originalJSONSchema)); | ||
types = { | ||
@@ -7,0 +8,0 @@ "string": String, |
{ | ||
"name": "goodeggs-json-schema-converter", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "convert json schemas to mongoose schemas using good eggs best practices", | ||
@@ -5,0 +5,0 @@ "author": "Good Eggs <open-source@goodeggs.com>", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13604
92