mirror of
https://github.com/hexastack/hexabot
synced 2025-06-26 18:27:28 +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",
|
"ts-node": "^10.9.1",
|
||||||
"tsconfig-paths": "^4.2.0",
|
"tsconfig-paths": "^4.2.0",
|
||||||
"tsconfig-paths-jest": "^0.0.1",
|
"tsconfig-paths-jest": "^0.0.1",
|
||||||
"typescript": "^5.1.3",
|
"typescript": "^5.1.3"
|
||||||
"@types/minio": "^7.1.1"
|
},
|
||||||
|
"overrides": {
|
||||||
|
"mjml": "5.0.0-alpha.4"
|
||||||
},
|
},
|
||||||
"jest": {
|
"jest": {
|
||||||
"globalSetup": "<rootDir>/../test/global-setup.ts",
|
"globalSetup": "<rootDir>/../test/global-setup.ts",
|
||||||
|
@ -72,9 +72,8 @@ export class Ability implements CanActivate {
|
|||||||
.map(([_, value]) => value);
|
.map(([_, value]) => value);
|
||||||
|
|
||||||
if (
|
if (
|
||||||
permissionsFromRoles.some(
|
permissionsFromRoles.some((permission) =>
|
||||||
(permission) =>
|
permission[modelFromPathname]?.includes(MethodToAction[method]),
|
||||||
permission[modelFromPathname]?.includes(MethodToAction[method]),
|
|
||||||
)
|
)
|
||||||
) {
|
) {
|
||||||
return true;
|
return true;
|
||||||
|
@ -30,7 +30,7 @@
|
|||||||
"eazychart-css": "^0.2.1-alpha.0",
|
"eazychart-css": "^0.2.1-alpha.0",
|
||||||
"eazychart-react": "^0.8.0-alpha.0",
|
"eazychart-react": "^0.8.0-alpha.0",
|
||||||
"hexabot-widget": "*",
|
"hexabot-widget": "*",
|
||||||
"next": "14.2.3",
|
"next": "^14.2.13",
|
||||||
"next-transpile-modules": "^10.0.1",
|
"next-transpile-modules": "^10.0.1",
|
||||||
"normalizr": "^3.6.2",
|
"normalizr": "^3.6.2",
|
||||||
"notistack": "^3.0.1",
|
"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