gson-pointer
Advanced tools
Comparing version 3.4.0 to 3.4.1
@@ -13,3 +13,8 @@ "use strict"; | ||
} | ||
var properties = split(pointer); | ||
if (properties.length === 0) { | ||
return data; | ||
} | ||
if (data == null) { | ||
@@ -16,0 +21,0 @@ data = isArray.test(properties[0]) ? [] : {}; |
{ | ||
"name": "gson-pointer", | ||
"version": "3.4.0", | ||
"version": "3.4.1", | ||
"description": "json pointer - failsafe data retrieval on js and json objects", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
32284
184