express-list-endpoints
Advanced tools
Comparing version 3.0.0 to 3.0.1
@@ -8,6 +8,15 @@ # Change Log | ||
## v3.0.1 - 2017-10-25 | ||
### 🐛 Fixed | ||
* Fix params on Base route with multi-level routing | ||
### Changed | ||
* Update devDependencies | ||
## v3.0.0 - 2016-12-18 | ||
### BREAKING CHANGES | ||
* Removed support for Node v0.12 | ||
* Removed support for Node v0.12 | ||
@@ -27,2 +36,3 @@ ### 🐛 Fixed | ||
## v2.0.3 - 2016-11-05 | ||
@@ -33,2 +43,3 @@ | ||
## v2.0.1 - 2016-11-05 | ||
@@ -44,2 +55,3 @@ | ||
## 2.0.0 - 2016-04-24 | ||
@@ -57,2 +69,3 @@ | ||
## 1.1.0 - 2016-04-20 | ||
@@ -63,2 +76,3 @@ | ||
## 1.0.1 - 2016-01-18 | ||
@@ -68,2 +82,3 @@ | ||
## 1.0.0 - 2016-01-18 | ||
@@ -74,2 +89,3 @@ | ||
## 0.0.0 - 2016-01-18 | ||
@@ -76,0 +92,0 @@ |
{ | ||
"name": "express-list-endpoints", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"description": "A express package to list all registered endoints and its verbs", | ||
@@ -32,10 +32,12 @@ "main": "src/index.js", | ||
"devDependencies": { | ||
"chai": "^3.5.0", | ||
"eslint": "^3.12.0", | ||
"eslint-config-standard": "^6.2.1", | ||
"chai": "^4.1.2", | ||
"eslint": "^4.1.0", | ||
"eslint-config-standard": "^10.2.1", | ||
"eslint-plugin-import": "^2.8.0", | ||
"eslint-plugin-node": "^5.2.1", | ||
"eslint-plugin-promise": "^3.4.0", | ||
"eslint-plugin-standard": "^2.0.1", | ||
"eslint-plugin-standard": "^3.0.0", | ||
"express": "^4.14.0", | ||
"mocha": "^3.1.2" | ||
"mocha": "^4.0.0" | ||
} | ||
} |
@@ -31,3 +31,3 @@ // var debug = require('debug')('express-list-endpoints') | ||
var regExp = /^\/\^\\\/(?:(:?[\w\\.-]*(?:\\\/:?[\w\\.-]*)*)|(\(\?:\(\[\^\\\/]\+\?\)\)))\\\/.*/ | ||
var stack = app.stack || app._router && app._router.stack | ||
var stack = app.stack || (app._router && app._router.stack) | ||
@@ -52,3 +52,3 @@ endpoints = endpoints || [] | ||
while (hasParams(parsedRegexp)) { | ||
parsedRegexp = val.regexp.toString().replace(/\(\?:\(\[\^\\\/]\+\?\)\)/g, ':' + val.keys[keyIndex].name) | ||
parsedRegexp = parsedRegexp.toString().replace(/\(\?:\(\[\^\\\/]\+\?\)\)/, ':' + val.keys[keyIndex].name) | ||
keyIndex++ | ||
@@ -55,0 +55,0 @@ } |
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
54701
0
9
6