@putout/engine-runner
Advanced tools
Comparing version 8.1.1 to 8.2.0
'use strict'; | ||
const {values, entries} = Object; | ||
const { | ||
values, | ||
entries, | ||
assign, | ||
} = Object; | ||
const isObject = (a) => typeof a === 'object'; | ||
@@ -35,2 +40,8 @@ module.exports.listStore = (list = []) => { | ||
if (isObject(data)) { | ||
map[name] = map[name] || {}; | ||
assign(map[name], data); | ||
return; | ||
} | ||
map[name] = data; | ||
@@ -37,0 +48,0 @@ }; |
{ | ||
"name": "@putout/engine-runner", | ||
"version": "8.1.1", | ||
"version": "8.2.0", | ||
"author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)", | ||
@@ -5,0 +5,0 @@ "description": "run putout plugins", |
26272
644