express-list-endpoints
Advanced tools
Comparing version 1.0.1 to 1.1.0
@@ -0,1 +1,12 @@ | ||
1.0.1 / 2016-01-18 | ||
================== | ||
* Update package version | ||
1.0.0 / 2016-01-18 | ||
================== | ||
* Add changelog file | ||
* Improve README file | ||
0.0.0 / 2016-01-18 | ||
@@ -2,0 +13,0 @@ ================== |
@@ -12,3 +12,3 @@ var express = require('express'); | ||
for (var method in route.methods) { | ||
if (!options.withAll && method === '_all') continue; | ||
if (!options.withAll && method === '_all') {continue;} | ||
@@ -25,3 +25,3 @@ methods.push(method.toUpperCase()); | ||
var getEndpoints = function(routerStack, path, endpoints) { | ||
var regExp = /^\/\^\\\/(?:(\w*)|(\(\?:\(\[\^\\\/\]\+\?\)\)))\\\/.*/; | ||
var regExp = /^\/\^\\\/(?:((?:\w|\\\.|-)*)|(\(\?:\(\[\^\\\/\]\+\?\)\)))\\\/.*/; | ||
@@ -28,0 +28,0 @@ endpoints = endpoints || []; |
{ | ||
"name": "express-list-endpoints", | ||
"version": "1.0.1", | ||
"version": "1.1.0", | ||
"description": "A express package to list all registered endoints and its verbs", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4419
7