pouchdb-validation
Advanced tools
Comparing version 1.1.5 to 1.1.6
@@ -88,3 +88,3 @@ /* | ||
} | ||
if (String(newDoc._id).indexOf("_design/") === 0) { | ||
if (String(newDoc._id).indexOf("_design/") === 0 || String(newDoc._id).indexOf("_local") === 0) { | ||
//a design document -> always validates succesful. | ||
@@ -91,0 +91,0 @@ return Promise.resolve(); |
{ | ||
"name": "pouchdb-validation", | ||
"version": "1.1.5", | ||
"version": "1.1.6", | ||
"main": "index.js", | ||
@@ -5,0 +5,0 @@ "description": "A PouchDB plug-in that allows you to re-use your CouchDB validate_doc_update functions on the client side.", |
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
10483