Skip to content

Commit

Permalink
refactor: remove debug from dependencies (#95)
Browse files Browse the repository at this point in the history
  • Loading branch information
pablopalacios committed Jun 21, 2021
1 parent f932ca3 commit cc051f1
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
3 changes: 0 additions & 3 deletions lib/router.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
'use strict';
/*global process:true */

var debug = require('debug')('Routr:router');
var pathToRegexp = require('path-to-regexp');
var queryString = require('query-string');
var DEFAULT_METHOD = 'GET';
Expand Down Expand Up @@ -166,7 +165,6 @@ Route.prototype.makePath = function (params, query) {
}
}

debug('Route.makePath failed, e = ', err);
return null;
};

Expand Down Expand Up @@ -227,7 +225,6 @@ function Router(routes, options) {
self._routes = {};
self._routeOrder = [];
self._options = options || {};
debug('new Router, routes = ', routes);

if (!Array.isArray(routes)) {
// Support handling route config object as an ordered map (legacy)
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
}
],
"dependencies": {
"debug": "^2.0.0",
"path-to-regexp": "^1.1.1",
"query-string": "^5.0.0"
},
Expand Down

0 comments on commit cc051f1

Please sign in to comment.