dot-object
Advanced tools
Comparing version 1.5.2 to 1.5.3
@@ -28,3 +28,3 @@ { | ||
}, | ||
"version": "1.5.2", | ||
"version": "1.5.3", | ||
"homepage": "https://github.com/rhalff/dot-object", | ||
@@ -31,0 +31,0 @@ "moduleType": [ |
# ChangeLog | ||
## 2016-09-29, Version 1.5.3 | ||
* Fix override bug in str() | ||
## 2016-08-04, Version 1.5.0 | ||
@@ -4,0 +7,0 @@ * [[`a7e948f2fa`](https://github.com/rhalff/dot-object/commit/a7e948f2fa)] - Ensure we only process true Arrays and Objects. (Fixed by MechJosh0 #15) |
@@ -144,3 +144,3 @@ 'use strict' | ||
this._fill(path.split(this.seperator), obj, v, mod) | ||
} else if (this.override) { | ||
} else if (!obj.hasOwnProperty(path) || this.override) { | ||
obj[path] = _process(v, mod) | ||
@@ -147,0 +147,0 @@ } |
{ | ||
"name": "dot-object", | ||
"description": "dot-object makes it possible to transform and read (JSON) objects using dot notation.", | ||
"version": "1.5.2", | ||
"version": "1.5.3", | ||
"author": { | ||
@@ -6,0 +6,0 @@ "name": "Rob Halff", |
@@ -144,3 +144,3 @@ 'use strict' | ||
this._fill(path.split(this.seperator), obj, v, mod) | ||
} else if (this.override) { | ||
} else if (!obj.hasOwnProperty(path) || this.override) { | ||
obj[path] = _process(v, mod) | ||
@@ -147,0 +147,0 @@ } |
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
90421
35
2702