@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/esm/index.js
CHANGED
|
@@ -1755,7 +1755,6 @@ function safeSend(res, statusCode, body) {
|
|
|
1755
1755
|
}
|
|
1756
1756
|
}
|
|
1757
1757
|
function expressHandler(handlerOrOptions, optionsOrHandler) {
|
|
1758
|
-
/* eslint-enable no-redeclare */
|
|
1759
1758
|
let handler;
|
|
1760
1759
|
let options;
|
|
1761
1760
|
// If handler is an object and options is a function, swap them
|
|
@@ -2172,7 +2171,6 @@ function getErrorBody(error) {
|
|
|
2172
2171
|
: new UnhandledError().body();
|
|
2173
2172
|
}
|
|
2174
2173
|
function expressStreamHandler(handlerOrOptions, optionsOrHandler) {
|
|
2175
|
-
/* eslint-enable no-redeclare */
|
|
2176
2174
|
let handler;
|
|
2177
2175
|
let options;
|
|
2178
2176
|
// If handler is an object and options is a function, swap them
|