resource-schema
Advanced tools
Comparing version 2.0.0 to 2.1.0
@@ -240,3 +240,3 @@ // Generated by CoffeeScript 1.10.0 | ||
} | ||
skip = req.query.$skip; | ||
skip = parseInt(req.query.$skip, 10); | ||
if (skip) { | ||
@@ -797,5 +797,5 @@ modelQuery.skip(skip); | ||
if (query.$limit != null) { | ||
return query.$limit; | ||
return parseInt(query.$limit, 10); | ||
} else if (this.options.limit != null) { | ||
return this.options.limit; | ||
return parseInt(this.options.limit, 10); | ||
} else { | ||
@@ -802,0 +802,0 @@ return 1000; |
{ | ||
"name": "resource-schema", | ||
"version": "2.0.0", | ||
"version": "2.1.0", | ||
"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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
143687
21
0