@koa/router 11.0.1 → 11.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lib/router.js +1 -3
  2. package/package.json +2 -1
package/lib/router.js CHANGED
@@ -5,15 +5,13 @@
5
5
  * @link https://github.com/alexmingoia/koa-router
6
6
  */
7
7
 
8
- const { debuglog } = require('util');
9
-
10
8
  const compose = require('koa-compose');
11
9
  const HttpError = require('http-errors');
12
10
  const methods = require('methods');
13
11
  const { pathToRegexp } = require('path-to-regexp');
14
12
  const Layer = require('./layer');
15
13
 
16
- const debug = debuglog('koa-router');
14
+ const debug = require('debug')('koa-router');
17
15
 
18
16
  /**
19
17
  * @module koa-router
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@koa/router",
3
3
  "description": "Router middleware for koa. Maintained by Forward Email and Lad.",
4
- "version": "11.0.1",
4
+ "version": "11.0.2",
5
5
  "author": "Alex Mingoia <talk@alexmingoia.com>",
6
6
  "bugs": {
7
7
  "url": "https://github.com/koajs/router/issues",
@@ -12,6 +12,7 @@
12
12
  "@koajs"
13
13
  ],
14
14
  "dependencies": {
15
+ "debug": "^4.3.4",
15
16
  "http-errors": "^2.0.0",
16
17
  "koa-compose": "^4.1.0",
17
18
  "methods": "^1.1.2",