Skip to content

Commit

Permalink
[#1814] Use fork of diagnostics on NPM to avoid making Docker images …
Browse files Browse the repository at this point in the history
…require git
  • Loading branch information
DABH committed Jun 22, 2020
1 parent e364ddc commit 0752614
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 14 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# CHANGELOG

## v3.3.2 / 2020-06-22

- [#1814] Use a fork of `diagnostics` published to NPM to avoid git dependency.

## v3.3.1 / 2020-06-21

- [#1803], [#1807] Fix TypeScript bugs.
Expand Down
2 changes: 1 addition & 1 deletion lib/winston/create-logger.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
const { LEVEL } = require('triple-beam');
const config = require('./config');
const Logger = require('./logger');
const debug = require('diagnostics')('winston:create-logger');
const debug = require('@dabh/diagnostics')('winston:create-logger');

function isLevelEnabledFunctionName(level) {
return 'is' + level.charAt(0).toUpperCase() + level.slice(1) + 'Enabled';
Expand Down
2 changes: 1 addition & 1 deletion lib/winston/exception-handler.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

const os = require('os');
const asyncForEach = require('async/forEach');
const debug = require('diagnostics')('winston:exception');
const debug = require('@dabh/diagnostics')('winston:exception');
const once = require('one-time');
const stackTrace = require('stack-trace');
const ExceptionStream = require('./exception-stream');
Expand Down
2 changes: 1 addition & 1 deletion lib/winston/rejection-handler.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

const os = require('os');
const asyncForEach = require('async/forEach');
const debug = require('diagnostics')('winston:rejection');
const debug = require('@dabh/diagnostics')('winston:rejection');
const once = require('one-time');
const stackTrace = require('stack-trace');
const ExceptionStream = require('./exception-stream');
Expand Down
2 changes: 1 addition & 1 deletion lib/winston/transports/file.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const zlib = require('zlib');
const { MESSAGE } = require('triple-beam');
const { Stream, PassThrough } = require('readable-stream');
const TransportStream = require('winston-transport');
const debug = require('diagnostics')('winston:file');
const debug = require('@dabh/diagnostics')('winston:file');
const os = require('os');
const tailFile = require('../tail-file');

Expand Down
19 changes: 10 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
],
"dependencies": {
"async": "^3.1.0",
"diagnostics": "DABH/diagnostics#master",
"@dabh/diagnostics": "^2.0.2",
"is-stream": "^2.0.0",
"logform": "^2.2.0",
"one-time": "^1.0.0",
Expand Down

0 comments on commit 0752614

Please sign in to comment.