mol_tree2 1.0.1353 → 1.0.1355

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/node.test.js CHANGED
@@ -2955,7 +2955,7 @@ var $;
2955
2955
  function $mol_log3_node_make(level, output, type, color) {
2956
2956
  return function $mol_log3_logger(event) {
2957
2957
  if (!event.time)
2958
- event = { time: new Date().toISOString(), ...event };
2958
+ event = { ...event, time: new Date().toISOString() };
2959
2959
  let tree = this.$mol_tree2_from_json(event);
2960
2960
  tree = tree.struct(type, tree.kids);
2961
2961
  let str = color(tree.toString());