zhike-chaos
Advanced tools
Comparing version 1.0.6 to 1.0.7
{ | ||
"name": "zhike-chaos", | ||
"version": "1.0.6", | ||
"version": "1.0.7", | ||
"description": "chaos - boilerplate generator", | ||
@@ -5,0 +5,0 @@ "main": "bin/chaos", |
@@ -11,3 +11,3 @@ 'use strict'; | ||
methods.forEach(method => { | ||
this[method] = (path, actionsAndOptions) => { | ||
this[method] = function(path, actionsAndOptions) { | ||
actionsAndOptions = Array.from(arguments).slice(1); | ||
@@ -17,3 +17,3 @@ this[method][path] = (this[method][path] || []).concat(actionsAndOptions); | ||
}); | ||
this.use = (path, subRouterOrMiddlewares) => { | ||
this.use = function(path, subRouterOrMiddlewares) { | ||
subRouterOrMiddlewares = Array.from(arguments).slice(1); | ||
@@ -20,0 +20,0 @@ if (subRouterOrMiddlewares.length > 0) { |
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
79624
0