ezobjects
Advanced tools
Comparing version 1.0.1 to 1.1.0
@@ -30,2 +30,11 @@ /** | ||
if ( typeof data == 'string' ) | ||
data = JSON.parse(data); | ||
Object.keys(data).forEach((key) => { | ||
Object.defineProperty(data, key.replace(/^_/, ''), | ||
Object.getOwnPropertyDescriptor(data, key)); | ||
delete data[key]; | ||
}); | ||
/** Loop through each property in the obj */ | ||
@@ -32,0 +41,0 @@ obj.properties.forEach((col) => { |
{ | ||
"name": "ezobjects", | ||
"version": "1.0.1", | ||
"version": "1.1.0", | ||
"description": "Easy dynamic object generation with strict typing and set chaining", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -1,2 +0,2 @@ | ||
# EZ Objects v1.0.1 | ||
# EZ Objects v1.1.0 | ||
@@ -3,0 +3,0 @@ Fully operational! Please open an issue for any bug reports or feature requests. |
17387
267