Skip to content

Commit

Permalink
remove "debug" dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
reklatsmasters committed Sep 2, 2020
1 parent 8202c80 commit a9969db
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
4 changes: 3 additions & 1 deletion package-lock.json

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

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
"homepage": "https://github.com/reklatsmasters/dnscrypt#readme",
"dependencies": {
"binary-data": "^0.6.0",
"debug": "^4.1.1",
"dns-packet": "^5.2.1",
"dnsstamp": "^1.1.3",
"generate-function": "^2.3.1",
Expand Down
2 changes: 1 addition & 1 deletion src/certificate.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const {
decode,
types: { uint32be, uint16be, buffer },
} = require('binary-data');
const debug = require('debug')('dnscrypt');
const debug = require('util').debuglog('dnscrypt');

module.exports = {
validate,
Expand Down
2 changes: 1 addition & 1 deletion src/session.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

const Emitter = require('events');
const dnsstamp = require('dnsstamp').DNSStamp;
const debug = require('debug')('dnscrypt');
const debug = require('util').debuglog('dnscrypt');

const { DNSCRYPT_RESOLVER } = process.env;

Expand Down

0 comments on commit a9969db

Please sign in to comment.