Comparing version 0.4.0 to 0.4.1
@@ -0,1 +1,5 @@ | ||
0.4.1 / 2018-04-08 | ||
================== | ||
* fix: allow opting out of weird `$` set behavior re: Automattic/mongoose#6273 | ||
0.4.0 / 2018-03-27 | ||
@@ -2,0 +6,0 @@ ================== |
@@ -182,4 +182,5 @@ /** | ||
// the array to the one by one to matching positions of the | ||
// current array. | ||
var copy = _copying || /\$/.test(path) | ||
// current array. Unless the user explicitly opted out by passing | ||
// false, see Automattic/mongoose#6273 | ||
var copy = _copying || (/\$/.test(path) && _copying !== false) | ||
, obj = o | ||
@@ -186,0 +187,0 @@ , part |
{ | ||
"name": "mpath", | ||
"version": "0.4.0", | ||
"version": "0.4.1", | ||
"description": "{G,S}et object values using MongoDB-like path notation", | ||
@@ -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
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
85836
1927