fix(core): update

This commit is contained in:
Philipp Kunz 2018-11-04 18:23:41 +01:00
parent 4a1214a87f
commit a9180878d5
4 changed files with 6 additions and 4 deletions

6
package-lock.json generated
View File

@ -159,9 +159,9 @@
}
},
"@pushrocks/smartlog-interfaces": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/@pushrocks/smartlog-interfaces/-/smartlog-interfaces-2.0.1.tgz",
"integrity": "sha512-c9onE52z/5fGX5uEvaI/rXbcC6n7PkLrNjehRM+6JsK7HIbdAzrgY1PGrqUfW0a03hSe03mFcggORID+fQI4tA=="
"version": "2.0.2",
"resolved": "https://registry.npmjs.org/@pushrocks/smartlog-interfaces/-/smartlog-interfaces-2.0.2.tgz",
"integrity": "sha512-kJNQ/6kfljgtwebhoiD8WtRWfdVhOoE1nr8FoUJLlOjLphU8SPa42Hg6/yPkSTaGxWwDhk6PkMJl64O7HNjRUQ=="
},
"@pushrocks/smartpath": {
"version": "4.0.1",

View File

@ -27,7 +27,7 @@
"homepage": "https://gitlab.com/pushrocks/beautylog",
"dependencies": {
"@pushrocks/consolecolor": "^2.0.1",
"@pushrocks/smartlog-interfaces": "^2.0.1",
"@pushrocks/smartlog-interfaces": "^2.0.2",
"@pushrocks/smartpromise": "^2.0.5",
"ora": "^3.0.0",
"smartenv": "^4.0.3"

View File

@ -22,6 +22,7 @@ tap.test('should create a valid instance of DestinationLocal', async () => {
tap.test('.log(message) should print a blue Dir message', async () => {
testLocalInstance.handleLog({
timestamp: Date.now(),
type: 'log',
level: 'info',
context: testLogContext,

View File

@ -47,6 +47,7 @@ export class DestinationLocal implements ILogDestination {
this.sameMessageCounter = 0;
this.previousMessage = logTextArg;
this.logToConsole({
timestamp: Date.now(),
type: 'log',
level: 'info',
context: {