object-config-for-smart-setter
Advanced tools
Comparing version 1.0.6 to 1.0.7
@@ -32,2 +32,8 @@ 'use strict'; | ||
return Object.assign({}, obj); | ||
}, | ||
emptyObjectOrMap: function emptyObjectOrMap() { | ||
return {}; | ||
}, | ||
emptyListOrArray: function emptyListOrArray() { | ||
return []; | ||
} | ||
@@ -34,0 +40,0 @@ }; |
{ | ||
"name": "object-config-for-smart-setter", | ||
"version": "1.0.6", | ||
"version": "1.0.7", | ||
"description": "", | ||
@@ -8,3 +8,4 @@ "main": "index.js", | ||
"test": "", | ||
"build": "rm -rf lib && babel src -d lib" | ||
"build": "rm -rf lib && babel src -d lib", | ||
"deploy": "npm run build && git add --all && git commit -m 'automatic commit' && git push origin && npm version patch && npm publish" | ||
}, | ||
@@ -11,0 +12,0 @@ "author": "Marcello Sachs <marcello.sachs@gmail.com> (https://github.com/marcellosachs)", |
@@ -25,4 +25,10 @@ const objectConfig = { | ||
}, | ||
emptyObjectOrMap: () => { | ||
return {} | ||
}, | ||
emptyListOrArray: () => { | ||
return [] | ||
}, | ||
} | ||
export default objectConfig |
2442
69