typhonjs-escomplex-commons
Advanced tools
Comparing version 0.0.15 to 0.0.16
@@ -108,3 +108,3 @@ 'use strict'; | ||
_this.settings = (typeof settings === 'undefined' ? 'undefined' : _typeof(settings)) === 'object' ? settings : {}; | ||
_this.settings = (typeof settings === 'undefined' ? 'undefined' : _typeof(settings)) === 'object' ? Object.assign({}, settings) : {}; | ||
@@ -111,0 +111,0 @@ /** |
@@ -85,3 +85,3 @@ 'use strict'; | ||
*/ | ||
this.settings = (typeof settings === 'undefined' ? 'undefined' : _typeof(settings)) === 'object' ? settings : { serializeModules: true }; | ||
this.settings = (typeof settings === 'undefined' ? 'undefined' : _typeof(settings)) === 'object' ? Object.assign({}, settings) : { serializeModules: true }; | ||
@@ -88,0 +88,0 @@ /** |
{ | ||
"name": "typhonjs-escomplex-commons", | ||
"version": "0.0.15", | ||
"version": "0.0.16", | ||
"homepage": "https://github.com/typhonjs-node-escomplex/typhonjs-escomplex-commons/", | ||
@@ -5,0 +5,0 @@ "description": "Provides core common utilities for typhonjs-escomplex modules and plugins.", |
@@ -46,3 +46,3 @@ import AbstractReport from './AbstractReport'; | ||
*/ | ||
this.settings = typeof settings === 'object' ? settings : {}; | ||
this.settings = typeof settings === 'object' ? Object.assign({}, settings) : {}; | ||
@@ -49,0 +49,0 @@ /** |
@@ -41,3 +41,3 @@ import TransformFormat from '../../transform/TransformFormat'; | ||
*/ | ||
this.settings = typeof settings === 'object' ? settings : { serializeModules: true }; | ||
this.settings = typeof settings === 'object' ? Object.assign({}, settings) : { serializeModules: true }; | ||
@@ -44,0 +44,0 @@ /** |
517079