Comparing version 0.5.0 to 0.5.1
@@ -54,3 +54,3 @@ 'use strict'; | ||
_document = flatten(_document); | ||
return this.validNames.reduce((result, key) => { | ||
return flatten.unflatten(this.validNames.reduce((result, key) => { | ||
if (_document[key]) { | ||
@@ -72,3 +72,3 @@ let validType = this.flattenedScheme[`${ key }.type`] || this.flattenedScheme[key]; | ||
return result; | ||
}, { _id: _document._id }); | ||
}, { _id: _document._id })); | ||
} | ||
@@ -75,0 +75,0 @@ /** |
{ | ||
"name": "lowkie", | ||
"version": "0.5.0", | ||
"version": "0.5.1", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
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
6193715
83
11