Skip to content

Commit

Permalink
update: dependencies
Browse files Browse the repository at this point in the history
VladimirMikulic committed Oct 24, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent f0edff9 commit 4ac2e3c
Showing 3 changed files with 313 additions and 360 deletions.
661 changes: 307 additions & 354 deletions package-lock.json

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "route-list",
"version": "1.3.4",
"version": "1.3.5",
"description": "Beautifully shows Express/Koa/Hapi/Fastify routes in CLI.",
"bin": "./src/cli.js",
"main": "./lib/main.js",
@@ -42,10 +42,10 @@
"express-list-endpoints": "^7.1.0"
},
"devDependencies": {
"@hapi/hapi": "^21.3.10",
"@koa/router": "^13.0.1",
"express": "^4.21.0",
"fastify": "^4.28.1",
"@hapi/hapi": "^21.3.11",
"@koa/router": "^13.1.0",
"express": "^4.21.1",
"fastify": "^5.0.0",
"koa": "^2.15.3"
}
}
2 changes: 1 addition & 1 deletion src/printer.js
Original file line number Diff line number Diff line change
@@ -32,7 +32,7 @@ const printRoute = (method, route) => {
};

export const printRoutes = (routesMap, options) => {
const { includePaths, excludePaths, methods, group } = options;
const { includePaths, excludePaths, methods, group } = options || {};
const routesMapToPrint = Object.keys(routesMap)
.sort()
.filter(route => {

0 comments on commit 4ac2e3c

Please sign in to comment.