@jaypie/express 1.2.31 → 1.2.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.cjs +0 -2
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/esm/index.js +0 -2
- package/dist/esm/index.js.map +1 -1
- package/package.json +1 -1
package/dist/cjs/index.cjs
CHANGED
|
@@ -1757,7 +1757,6 @@ function safeSend(res, statusCode, body) {
|
|
|
1757
1757
|
}
|
|
1758
1758
|
}
|
|
1759
1759
|
function expressHandler(handlerOrOptions, optionsOrHandler) {
|
|
1760
|
-
/* eslint-enable no-redeclare */
|
|
1761
1760
|
let handler;
|
|
1762
1761
|
let options;
|
|
1763
1762
|
// If handler is an object and options is a function, swap them
|
|
@@ -2174,7 +2173,6 @@ function getErrorBody(error) {
|
|
|
2174
2173
|
: new errors.UnhandledError().body();
|
|
2175
2174
|
}
|
|
2176
2175
|
function expressStreamHandler(handlerOrOptions, optionsOrHandler) {
|
|
2177
|
-
/* eslint-enable no-redeclare */
|
|
2178
2176
|
let handler;
|
|
2179
2177
|
let options;
|
|
2180
2178
|
// If handler is an object and options is a function, swap them
|