Skip to content

Commit ed1f19f

Browse files
authored
Merge pull request #582 from chapterjason/master
Fixed ansi-colors dependency
2 parents 9ad1e84 + 9bfa670 commit ed1f19f

File tree

3 files changed

+26
-19
lines changed

3 files changed

+26
-19
lines changed

lib/reporter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ export function fullReporter(fullFilename: boolean = false): Reporter {
122122
return {
123123
error: (error: TypeScriptError, typescript: typeof ts) => {
124124
console.log('[' + colors.gray('gulp-typescript') + '] '
125-
+ colors.bgred(error.diagnostic.code + '')
125+
+ colors.bgRed(error.diagnostic.code + '')
126126
+ ' ' + colors.red(typescript.flattenDiagnosticMessageText(error.diagnostic.messageText, '\n'))
127127
);
128128

package-lock.json

Lines changed: 24 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,15 +61,14 @@
6161
"types": "release/main.d.ts",
6262
"typings": "release/main.d.ts",
6363
"dependencies": {
64-
"ansi-colors": "^2.0.1",
64+
"ansi-colors": "^2.0.2",
6565
"plugin-error": "^1.0.1",
6666
"source-map": "^0.7.3",
6767
"through2": "^2.0.3",
6868
"vinyl-fs": "^3.0.3",
6969
"vinyl": "^2.1.0"
7070
},
7171
"devDependencies": {
72-
"@types/ansi-colors": "^1.0.0",
7372
"@types/node": "^8.5.2",
7473
"@types/plugin-error": "^0.1.0",
7574
"@types/source-map": "^0.5.2",

0 commit comments

Comments
 (0)