Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

express-list-endpoints

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

express-list-endpoints - npm Package Compare versions

Comparing version 1.0.1 to 1.1.0

.editorconfig

11

CHANGELOG.md

@@ -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 @@ ==================

4

index.js

@@ -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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc