Skip to content

Commit

Permalink
revert conversion of 'debug' package for 'node:util::debuglog' (#173)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremy-daley-kr committed Oct 12, 2023
1 parent 8d390a9 commit 04884de
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
5 changes: 1 addition & 4 deletions lib/router.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,12 @@
* @link https://github.com/alexmingoia/koa-router
*/

const { debuglog } = require('util');

const compose = require('koa-compose');
const HttpError = require('http-errors');
const methods = require('methods');
const { pathToRegexp } = require('path-to-regexp');
const Layer = require('./layer');

const debug = debuglog('koa-router');
const debug = require('debug')('koa-router');

/**
* @module koa-router
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"@koajs"
],
"dependencies": {
"debug": "^4.3.4",
"http-errors": "^2.0.0",
"koa-compose": "^4.1.0",
"methods": "^1.1.2",
Expand Down

0 comments on commit 04884de

Please sign in to comment.