Comparing version 1.0.3 to 1.0.4
@@ -10,2 +10,3 @@ /*! | ||
var noncharacters = require('noncharacters'); | ||
var isObject = require('isobject'); | ||
@@ -27,7 +28,5 @@ | ||
} else if (fn === true) { | ||
// guaranteed non-characters | ||
// See http://en.wikipedia.org/wiki/Mapping_of_Unicode_characters#Noncharacters | ||
str = str.split('\\.').join('\uffff'); | ||
str = str.split('\\.').join(noncharacters[0]); | ||
path = str.split('.').map(function (seg) { | ||
return seg.split('\uffff').join('.'); | ||
return seg.split(noncharacters[0]).join('.'); | ||
}); | ||
@@ -34,0 +33,0 @@ } else { |
{ | ||
"name": "get-value", | ||
"description": "Use property paths (`a.b.c`) get a nested value from an object.", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"homepage": "https://github.com/jonschlinkert/get-value", | ||
@@ -32,3 +32,4 @@ "author": { | ||
"dependencies": { | ||
"isobject": "^0.2.0" | ||
"isobject": "^0.2.0", | ||
"noncharacters": "^1.0.0" | ||
}, | ||
@@ -35,0 +36,0 @@ "devDependencies": { |
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
4367
2
37
+ Addednoncharacters@^1.0.0
+ Addednoncharacters@1.1.0(transitive)