@bull-board/express
Advanced tools
Comparing version 3.8.0 to 3.8.1
@@ -32,3 +32,3 @@ "use strict"; | ||
this.basePath = ''; | ||
this.app = express_1.default(); | ||
this.app = (0, express_1.default)(); | ||
} | ||
@@ -59,5 +59,5 @@ setBasePath(path) { | ||
} | ||
const router = express_1.Router(); | ||
const router = (0, express_1.Router)(); | ||
routes.forEach((route) => (Array.isArray(route.method) ? route.method : [route.method]).forEach((method) => { | ||
router[method](route.route, wrapAsync_1.wrapAsync(async (req, res) => { | ||
router[method](route.route, (0, wrapAsync_1.wrapAsync)(async (req, res) => { | ||
const response = await route.handler({ | ||
@@ -64,0 +64,0 @@ queues: this.bullBoardQueues, |
{ | ||
"name": "@bull-board/express", | ||
"version": "3.8.0", | ||
"version": "3.8.1", | ||
"description": "Express.js server adapter for Bull-Board package", | ||
@@ -31,4 +31,4 @@ "keywords": [ | ||
"dependencies": { | ||
"@bull-board/api": "3.8.0", | ||
"@bull-board/ui": "3.8.0", | ||
"@bull-board/api": "3.8.1", | ||
"@bull-board/ui": "3.8.1", | ||
"ejs": "3.1.6", | ||
@@ -35,0 +35,0 @@ "express": "4.17.1" |
Sorry, the diff of this file is not supported yet
10676
+ Added@bull-board/api@3.8.1(transitive)
+ Added@bull-board/ui@3.8.1(transitive)
- Removed@bull-board/api@3.8.0(transitive)
- Removed@bull-board/ui@3.8.0(transitive)
Updated@bull-board/api@3.8.1
Updated@bull-board/ui@3.8.1