express-urlrewrite
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -9,3 +9,3 @@ // https://github.com/kapouer/express-urlrewrite | ||
interface urlrewrite { | ||
(from: string, to?: string): expressUrlRewriteInstance | ||
(from: string | RegExp, to?: string): expressUrlRewriteInstance | ||
} | ||
@@ -12,0 +12,0 @@ |
{ | ||
"name": "express-urlrewrite", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "URL rewrite middleware for express", | ||
@@ -9,5 +9,2 @@ "repository": { | ||
}, | ||
"scripts": { | ||
"test": "NODE_ENV=test nyc mocha" | ||
}, | ||
"main": "index.js", | ||
@@ -27,11 +24,11 @@ "types": "index.d.ts", | ||
"dependencies": { | ||
"debug": "^4.3.3", | ||
"path-to-regexp": "^6.2.0" | ||
"debug": "^4.3.4", | ||
"path-to-regexp": "^6.2.1" | ||
}, | ||
"devDependencies": { | ||
"@kapouer/eslint-config": "^1.6.2", | ||
"chai": "^4.3.6", | ||
"mocha": "^9.2.1", | ||
"@kapouer/eslint-config": "^1.9.0", | ||
"chai": "^4.3.7", | ||
"mocha": "^10.2.0", | ||
"nyc": "^15.1.0", | ||
"sinon": "^13.0.1", | ||
"sinon": "^15.0.1", | ||
"sinon-chai": "^3.7.0" | ||
@@ -51,4 +48,6 @@ }, | ||
] | ||
}, | ||
"scripts": { | ||
"test": "NODE_ENV=test nyc mocha" | ||
} | ||
} | ||
} |
5523
Updateddebug@^4.3.4
Updatedpath-to-regexp@^6.2.1