Skip to content

Commit

Permalink
Patch vuln for CVE-2024-4367 (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
devksingh4 authored Jul 31, 2024
1 parent c7c7204 commit 838ff70
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 31 deletions.
7 changes: 5 additions & 2 deletions clientv2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"@ungap/with-resolvers": "^0.1.0",
"axios": "^1.7.2",
"dotenv": "^16.4.5",
"pdfjs-dist": "^4.4.168",
"pdfjs-dist": "^4.5.136",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-pdf": "^9.1.0",
Expand Down Expand Up @@ -78,5 +78,8 @@
"vite-tsconfig-paths": "^4.3.2",
"vitest": "^1.6.0"
},
"packageManager": "[email protected]"
"packageManager": "[email protected]",
"resolutions": {
"pdfjs-dist": "4.5.136"
}
}
36 changes: 7 additions & 29 deletions clientv2/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3437,7 +3437,7 @@ __metadata:
eslint-plugin-react-hooks: "npm:^4.6.2"
identity-obj-proxy: "npm:^3.0.0"
jsdom: "npm:^24.1.0"
pdfjs-dist: "npm:^4.4.168"
pdfjs-dist: "npm:^4.5.136"
postcss: "npm:^8.4.38"
postcss-preset-mantine: "npm:1.15.0"
postcss-simple-vars: "npm:^7.0.1"
Expand Down Expand Up @@ -8162,14 +8162,7 @@ __metadata:
languageName: node
linkType: hard

"path2d-polyfill@npm:^2.0.1":
version: 2.0.1
resolution: "path2d-polyfill@npm:2.0.1"
checksum: 10c0/b6d8c0764f65438cd884ef3b62c5af07d4f526b379c4c804effc26dd17936f18076941941f9e804c0df96d39720f155e9f0723e4b30feaee152ea4a441df023e
languageName: node
linkType: hard

"path2d@npm:^0.2.0":
"path2d@npm:^0.2.1":
version: 0.2.1
resolution: "path2d@npm:0.2.1"
checksum: 10c0/6fc743b24af146fd140339af717c2f874651377dc0cb215d5e761b5bdc5528cb9458f473fff896de54e23f0374dc6819d43740daf7cfed5fd430fc82791510a6
Expand All @@ -8190,33 +8183,18 @@ __metadata:
languageName: node
linkType: hard

"pdfjs-dist@npm:3.11.174":
version: 3.11.174
resolution: "pdfjs-dist@npm:3.11.174"
dependencies:
canvas: "npm:^2.11.2"
path2d-polyfill: "npm:^2.0.1"
dependenciesMeta:
canvas:
optional: true
path2d-polyfill:
optional: true
checksum: 10c0/0cb26561fd9bea90f2c1c8029d4cf972d338838de0f7f7aa3f369b2e555b99a2d8bbf1b81cc682fb26331241201a432726ae356a7ad3a930d86a308ca941d29c
languageName: node
linkType: hard

"pdfjs-dist@npm:4.4.168, pdfjs-dist@npm:^4.4.168":
version: 4.4.168
resolution: "pdfjs-dist@npm:4.4.168"
"pdfjs-dist@npm:4.5.136":
version: 4.5.136
resolution: "pdfjs-dist@npm:4.5.136"
dependencies:
canvas: "npm:^2.11.2"
path2d: "npm:^0.2.0"
path2d: "npm:^0.2.1"
dependenciesMeta:
canvas:
optional: true
path2d:
optional: true
checksum: 10c0/61bad19fe0aae8261631d425bd96368cf0b8803c3a4446615456dddd867ef3e5ba15c11a1caabb8033bce9538e3ad8262c24a56fa68b150c6ee0eb9e26a9f3a7
checksum: 10c0/9142665f44fec6a1b7709439fc32bd309d1359caba48c1bdf4a1107c00a1d784b718c860d0490361062c8df900d1eb53d38526fa5b9853131dd5b95973b35bf2
languageName: node
linkType: hard

Expand Down

0 comments on commit 838ff70

Please sign in to comment.