resource-schema
Advanced tools
Comparing version 0.17.2 to 0.17.3
@@ -804,3 +804,5 @@ // Generated by CoffeeScript 1.9.2 | ||
schemaKeys = Object.keys(Model.schema.paths); | ||
schemaKeys.splice(schemaKeys.indexOf('__v'), 1); | ||
if (schemaKeys.indexOf('__v') >= 0) { | ||
schemaKeys.splice(schemaKeys.indexOf('__v'), 1); | ||
} | ||
schema = {}; | ||
@@ -807,0 +809,0 @@ for (j = 0, len = schemaKeys.length; j < len; j++) { |
{ | ||
"name": "resource-schema", | ||
"version": "0.17.2", | ||
"version": "0.17.3", | ||
"description": "Define schemas for RESTful resources from mongoose models, and generate middleware to GET, POST, PUT, and DELETE to those resources.", | ||
@@ -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
102076
21
1187