@boundstate/good-console
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -126,3 +126,5 @@ "use strict"; | ||
var responseTime = this.formatResponseTime(event.responseTime); | ||
var data = [method, event.path, query, statusCode, responseTime].filter(function (part) { return part !== ''; }).join(' '); | ||
var data = [method, event.path, query, statusCode, responseTime] | ||
.filter(function (part) { return part !== ''; }) | ||
.join(' '); | ||
return this.formatOutput({ | ||
@@ -152,3 +154,5 @@ id: event.id, | ||
GoodConsole.prototype.formatDefault = function (event, tags) { | ||
var data = typeof event.data === 'object' ? jsonStringifySafe(event.data) : event.data; | ||
var data = typeof event.data === 'object' | ||
? jsonStringifySafe(event.data) | ||
: event.data; | ||
return this.formatOutput({ | ||
@@ -155,0 +159,0 @@ timestamp: event.timestamp, |
{ | ||
"name": "@boundstate/good-console", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Console broadcasting for Good process monitor", | ||
@@ -11,11 +11,10 @@ "author": "Bound State Software Inc <info@boundstatesoftware.com>", | ||
"type": "git", | ||
"url": "https://git.boundstatesoftware.com/boundstate/good-console.git" | ||
"url": "https://gitlab.com/boundstate/good-console.git" | ||
}, | ||
"scripts": { | ||
"build": "rimraf dist && tsc -p tsconfig.build.json", | ||
"changelog": "conventional-changelog -p angular --context conventional-changelog.json -i CHANGELOG.md -s", | ||
"lint": "tslint -c tslint.json --project tsconfig.json", | ||
"lint": "eslint src --ext .ts", | ||
"test": "mocha", | ||
"test-cov": "nyc mocha", | ||
"version": "npm run changelog && git add CHANGELOG.md" | ||
"release": "standard-version" | ||
}, | ||
@@ -38,6 +37,7 @@ "nyc": { | ||
}, | ||
"pre-commit": [ | ||
"lint", | ||
"test" | ||
], | ||
"husky": { | ||
"hooks": { | ||
"pre-commit": "pretty-quick --staged && npm run lint && npm run test" | ||
} | ||
}, | ||
"files": [ | ||
@@ -55,13 +55,20 @@ "dist" | ||
"@types/json-stringify-safe": "^5.0.0", | ||
"@types/lodash": "^4.14.123", | ||
"@types/mocha": "^5.2.6", | ||
"@types/node": "^11.13.5", | ||
"@types/lodash": "^4.14.134", | ||
"@types/mocha": "^5.2.7", | ||
"@types/node": "^12.0.8", | ||
"@typescript-eslint/eslint-plugin": "^1.10.2", | ||
"@typescript-eslint/parser": "^1.10.2", | ||
"chai": "^4.2.0", | ||
"conventional-changelog-cli": "^2.0.12", | ||
"eslint": "^5.16.0", | ||
"eslint-config-prettier": "^5.0.0", | ||
"eslint-plugin-prettier": "^3.1.0", | ||
"husky": "^2.4.1", | ||
"mocha": "^6.1.4", | ||
"nyc": "^14.0.0", | ||
"ts-node": "^8.1.0", | ||
"tslint": "^5.16.0", | ||
"typescript": "^3.4.3" | ||
"nyc": "^14.1.1", | ||
"prettier": "^1.18.2", | ||
"pretty-quick": "^1.11.1", | ||
"standard-version": "^7.1.0", | ||
"ts-node": "^8.3.0", | ||
"typescript": "^3.5.2" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
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
17050
7
190
19