Skip to content

Commit

Permalink
Deps bump
Browse files Browse the repository at this point in the history
  • Loading branch information
felixmosh committed Nov 12, 2024
1 parent 0677784 commit b00834d
Show file tree
Hide file tree
Showing 9 changed files with 1,852 additions and 1,800 deletions.
5 changes: 2 additions & 3 deletions packages/express/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,11 @@
"@bull-board/api": "6.4.0",
"@bull-board/ui": "6.4.0",
"ejs": "^3.1.10",
"express": "^4.19.2"
"express": "^4.21.1"
},
"devDependencies": {
"@types/ejs": "^3.1.5",
"@types/express": "^4.17.12",
"@types/express-serve-static-core": "^4.17.28"
"@types/express": "^4.17.21"
},
"publishConfig": {
"access": "public"
Expand Down
11 changes: 6 additions & 5 deletions packages/express/src/helpers/wrapAsync.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { ParamsDictionary, RequestHandler } from 'express-serve-static-core';
import { NextFunction } from 'express';
import { Request, Response, RequestHandler } from 'express-serve-static-core';

export const wrapAsync = <Params extends ParamsDictionary>(
fn: RequestHandler<Params>
): RequestHandler<Params> => async (req, res, next) =>
Promise.resolve(fn(req, res, next)).catch(next);
export const wrapAsync =
(fn: RequestHandler): RequestHandler =>
async (req: Request, res: Response, next: NextFunction) =>
Promise.resolve(fn(req, res, next)).catch(next);
2 changes: 1 addition & 1 deletion packages/h3/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@
"devDependencies": {
"@types/ejs": "^3.1.5"
}
}
}
4 changes: 2 additions & 2 deletions packages/h3/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@
"noUnusedLocals": true,
"resolveJsonModule": true,
"declaration": true,
"skipLibCheck": true
"skipLibCheck": true,
},
"include": [
"./src",
"./typings/*.d.ts"
]
}
}
4 changes: 2 additions & 2 deletions packages/nestjs/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"outDir": "./dist",
"rootDir": "./src",
"skipLibCheck": true,
"useUnknownInCatchVariables": false
"useUnknownInCatchVariables": false,
},
"include": [
"src/**/*"
Expand All @@ -22,4 +22,4 @@
"**/*.spec.ts",
"tests",
]
}
}
1 change: 1 addition & 0 deletions packages/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
"@types/react-dom": "^17.0.14",
"@types/react-paginate": "^7.1.4",
"@types/react-router-dom": "^5.3.3",
"@types/scheduler": "^0.23.0",
"axios": "^1.7.7",
"clsx": "^1.1.1",
"codemirror-json-schema": "^0.7.8",
Expand Down
1 change: 0 additions & 1 deletion packages/ui/src/services/i18n.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import i18n from 'i18next';
import HttpBackend from 'i18next-http-backend';
import * as process from 'process';
import { initReactI18next } from 'react-i18next';
import enLocale from 'date-fns/locale/en-US';

Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@
"resolveJsonModule": true,
"declaration": true,
"skipLibCheck": true
},
}
}
3,622 changes: 1,837 additions & 1,785 deletions yarn.lock

Large diffs are not rendered by default.

0 comments on commit b00834d

Please sign in to comment.