Comparing version 4.3.4 to 4.3.5
@@ -9,3 +9,3 @@ 'use strict' | ||
const shortcuts = ['get', 'delete', 'patch', 'post', 'put', 'head', 'options', 'trace', 'all'] | ||
const methods = require('./libs/methods') | ||
const requestRouter = require('./libs/request-router') | ||
@@ -89,3 +89,3 @@ const exts = { | ||
shortcuts.forEach((method) => { | ||
methods.forEach((method) => { | ||
app[method] = (...args) => { | ||
@@ -92,0 +92,0 @@ routes.add(`${method.toUpperCase()}${args[0]}`) |
'use strict' | ||
/** | ||
* find-my-way router factory | ||
* | ||
* @see https://github.com/delvedor/find-my-way | ||
* @see: https://github.com/jkyberneees/0http#0http---sequential-default-router | ||
*/ | ||
@@ -8,0 +6,0 @@ const sequential = require('0http/lib/router/sequential') |
{ | ||
"name": "restana", | ||
"version": "4.3.4", | ||
"version": "4.3.5", | ||
"description": "Super fast and minimalist web framework for building REST micro-services.", | ||
@@ -41,3 +41,3 @@ "main": "index.js", | ||
"dependencies": { | ||
"0http": "^2.3.0" | ||
"0http": "^2.4.0" | ||
}, | ||
@@ -50,5 +50,5 @@ "devDependencies": { | ||
"express-jwt": "^5.3.3", | ||
"fastify": "^2.13.1", | ||
"http-cache-middleware": "^1.3.2", | ||
"koa": "^2.11.0", | ||
"fastify": "^2.14.1", | ||
"http-cache-middleware": "^1.3.5", | ||
"koa": "^2.12.0", | ||
"koa-router": "^8.0.8", | ||
@@ -66,3 +66,3 @@ "mocha": "^7.1.2", | ||
"socket.io-client": "^2.3.0", | ||
"standard": "^14.3.3", | ||
"standard": "^14.3.4", | ||
"supertest": "^4.0.2", | ||
@@ -69,0 +69,0 @@ "swagger-tools": "^0.10.4", |
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
21185
291
Updated0http@^2.4.0