From 4406992bba53801eafdf571b511dbfe4fb921dfc Mon Sep 17 00:00:00 2001 From: Pablo Palacios Date: Sun, 20 Jun 2021 22:26:04 +0200 Subject: [PATCH] remove debug from dependencies --- lib/router.js | 3 --- package.json | 1 - 2 files changed, 4 deletions(-) diff --git a/lib/router.js b/lib/router.js index eb5827f..08cc6e8 100644 --- a/lib/router.js +++ b/lib/router.js @@ -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'; @@ -166,7 +165,6 @@ Route.prototype.makePath = function (params, query) { } } - debug('Route.makePath failed, e = ', err); return null; }; @@ -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) diff --git a/package.json b/package.json index e61ca35..1c2d34b 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,6 @@ } ], "dependencies": { - "debug": "^2.0.0", "path-to-regexp": "^1.1.1", "query-string": "^5.0.0" },