Comparing version 1.0.0 to 1.0.1
@@ -115,3 +115,3 @@ 'use strict'; | ||
var v = this.dot(path); | ||
return typeof v === 'undefined' ? this.parent ? this.parent.get(path) : undefined : v; | ||
return typeof v === 'undefined' ? this.parent ? this.parent.getPath(path) : undefined : v; | ||
} | ||
@@ -150,4 +150,4 @@ }, { | ||
var p = this.parent; | ||
var _parent = p ? p.merge(path) : null; | ||
var _self = this.get(path); | ||
var _parent = p ? p.mergePath(path) : null; | ||
var _self = this.getPath(path); | ||
if (!_parent) { | ||
@@ -154,0 +154,0 @@ return deepExtend({}, _self); |
{ | ||
"name": "eredita", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Javascript Data Inheritance", | ||
@@ -16,3 +16,3 @@ "main": "index.js", | ||
"json", | ||
"temaplate", | ||
"template", | ||
"deep", | ||
@@ -19,0 +19,0 @@ "extend" |
@@ -96,3 +96,3 @@ 'use strict'; | ||
var v = this.dot(path); | ||
return typeof v === 'undefined' ? (this.parent ? this.parent.get(path): undefined) : v; | ||
return typeof v === 'undefined' ? (this.parent ? this.parent.getPath(path): undefined) : v; | ||
} | ||
@@ -123,4 +123,4 @@ getTypedPath(path, _type, _default) { | ||
var p = this.parent; | ||
var _parent = p ? p.merge(path) : null; | ||
var _self = this.get(path); | ||
var _parent = p ? p.mergePath(path) : null; | ||
var _self = this.getPath(path); | ||
if (!_parent) { | ||
@@ -127,0 +127,0 @@ return deepExtend({}, _self); |
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
49705