Skip to content

Commit 8bfb06b

Browse files
fix: reduce vulnerabilities (DELO-5679, DELO-5686, DELO-5709) (#149)
1 parent 9c7bfb4 commit 8bfb06b

File tree

4 files changed

+283
-489
lines changed

4 files changed

+283
-489
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@
1919
"async": "^3.2.6",
2020
"async-mutex": "^0.5.0",
2121
"bytes": "^3.1.2",
22-
"cloudinary": "1.41.3",
22+
"cloudinary": "2.8.0",
2323
"config": "^3.3.12",
2424
"cookie-parser": "~1.4.7",
2525
"debug": "~4.4.0",
2626
"dotenv": "^16.4.7",
2727
"express": "^4.21.2",
2828
"got": "^14.4.6",
2929
"lodash": "^4.17.21",
30-
"rollbar": "^2.26.4",
30+
"rollbar": "^2.26.5",
3131
"winston": "^3.17.0",
3232
"winston-transport-rollbar-3": "^3.2.6"
3333
},

patches/cloudinary+1.41.3.patch

Lines changed: 0 additions & 30 deletions
This file was deleted.

patches/cloudinary+2.8.0.patch

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
diff --git a/node_modules/cloudinary/lib/utils/index.js b/node_modules/cloudinary/lib/utils/index.js
2+
index e775a14..35f10a6 100644
3+
--- a/node_modules/cloudinary/lib/utils/index.js
4+
+++ b/node_modules/cloudinary/lib/utils/index.js
5+
@@ -418,7 +418,9 @@ function build_upload_params(options) {
6+
visual_search: utils.as_safe_bool(options.visual_search),
7+
on_success: options.on_success,
8+
auto_transcription: options.auto_transcription,
9+
- auto_chaptering: utils.as_safe_bool(options.auto_chaptering)
10+
+ auto_chaptering: utils.as_safe_bool(options.auto_chaptering),
11+
+ /* for internal use only */
12+
+ analyze: JSON.stringify(options.analyze)
13+
};
14+
15+
return utils.updateable_resource_params(options, params);

0 commit comments

Comments
 (0)