Merge pull request #97 from Hexastack/76-issue-packages-vulnerabilities

fix(api): packages vulnerabilities
This commit is contained in:
Mohamed Marrouchi 2024-09-29 12:30:50 +01:00 committed by GitHub
commit 2416121c56
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 3335 additions and 3673 deletions

6142
api/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -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",

View File

@ -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;

View File

@ -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

File diff suppressed because it is too large Load Diff