Comparing version 1.3.2 to 1.3.3
@@ -60,3 +60,3 @@ /* | ||
else if (typeof meta === 'object') { | ||
data = merge({}, meta); | ||
data = merge({}, meta, {descriptor: true}); | ||
if (meta instanceof Error) | ||
@@ -63,0 +63,0 @@ Object.setPrototypeOf(data, Object.getPrototypeOf(meta)); |
@@ -274,8 +274,7 @@ /* | ||
if (this.defaultMeta) | ||
merge(meta, this.defaultMeta, {adjunct: true}); | ||
merge(meta, this.defaultMeta, {adjunct: true, descriptor: true}); | ||
if (this._meta) { | ||
merge(meta, this._meta, {adjunct: true}); | ||
merge(meta, this._meta, {adjunct: true, descriptor: true}); | ||
this._meta = null; | ||
} | ||
Object.freeze(meta); | ||
@@ -293,4 +292,5 @@ const appendersWriten = []; | ||
appendersWriten.push(n); | ||
(typeof target.filter !== 'function' || target.filter(meta)) && | ||
target.appender.append(this, meta, target.format); | ||
if (typeof target.filter !== 'function' || target.filter(meta)) { | ||
target.appender.append(this, meta, target.format); | ||
} | ||
} | ||
@@ -297,0 +297,0 @@ } |
{ | ||
"name": "hixtory", | ||
"description": "Most flexible and fast logging library for NodeJS", | ||
"version": "1.3.2", | ||
"version": "1.3.3", | ||
"author": "Panates Ltd.", | ||
@@ -29,3 +29,3 @@ "contributors": [ | ||
"putil-isplainobject": "^1.0.1", | ||
"putil-merge": "^3.1.4", | ||
"putil-merge": "^3.2.0", | ||
"putil-promisify": "^1.3.0", | ||
@@ -32,0 +32,0 @@ "streamroller": "^1.0.1", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
61195
Updatedputil-merge@^3.2.0