mirror of
https://github.com/hexastack/hexabot
synced 2025-06-04 03:26:22 +00:00
Merge pull request #97 from Hexastack/76-issue-packages-vulnerabilities
fix(api): packages vulnerabilities
This commit is contained in:
commit
2416121c56
6142
api/package-lock.json
generated
6142
api/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -123,8 +123,10 @@
|
||||
"ts-node": "^10.9.1",
|
||||
"tsconfig-paths": "^4.2.0",
|
||||
"tsconfig-paths-jest": "^0.0.1",
|
||||
"typescript": "^5.1.3",
|
||||
"@types/minio": "^7.1.1"
|
||||
"typescript": "^5.1.3"
|
||||
},
|
||||
"overrides": {
|
||||
"mjml": "5.0.0-alpha.4"
|
||||
},
|
||||
"jest": {
|
||||
"globalSetup": "<rootDir>/../test/global-setup.ts",
|
||||
|
@ -72,9 +72,8 @@ export class Ability implements CanActivate {
|
||||
.map(([_, value]) => value);
|
||||
|
||||
if (
|
||||
permissionsFromRoles.some(
|
||||
(permission) =>
|
||||
permission[modelFromPathname]?.includes(MethodToAction[method]),
|
||||
permissionsFromRoles.some((permission) =>
|
||||
permission[modelFromPathname]?.includes(MethodToAction[method]),
|
||||
)
|
||||
) {
|
||||
return true;
|
||||
|
@ -30,7 +30,7 @@
|
||||
"eazychart-css": "^0.2.1-alpha.0",
|
||||
"eazychart-react": "^0.8.0-alpha.0",
|
||||
"hexabot-widget": "*",
|
||||
"next": "14.2.3",
|
||||
"next": "^14.2.13",
|
||||
"next-transpile-modules": "^10.0.1",
|
||||
"normalizr": "^3.6.2",
|
||||
"notistack": "^3.0.1",
|
||||
|
853
package-lock.json
generated
853
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user