bunyan-decorator
Advanced tools
Comparing version 1.0.0 to 1.0.1
15
index.js
const bunyan = require('bunyan'); | ||
const _extends = Object.assign || function (target) { | ||
for (var i = 1; i < arguments.length; i++) { | ||
var source = arguments[i]; | ||
for (var key in source) { | ||
if (Object.prototype.hasOwnProperty.call(source, key)) { | ||
target[key] = source[key]; | ||
} | ||
} | ||
} return target; | ||
}; | ||
const Level = { | ||
@@ -44,3 +55,3 @@ error: 'error', | ||
} | ||
return { | ||
return _extends({ | ||
...descriptor, | ||
@@ -75,3 +86,3 @@ value: function logWrapper() { | ||
}, | ||
}; | ||
}); | ||
}; | ||
@@ -78,0 +89,0 @@ }; |
{ | ||
"name": "bunyan-decorator", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
6149
78