Skip to content

Commit 0d287d6

Browse files
committed
Updating dependencies. Security Fix: Minimist 0.0.8 is vulnerable to Prototype Pollution
1 parent bc7403c commit 0d287d6

File tree

5 files changed

+8554
-2517
lines changed

5 files changed

+8554
-2517
lines changed

lib/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ exports.translate = function(html, locale, options, t) {
299299
const $ = cheerio.load(html, {
300300
decodeEntities: false,
301301
xmlMode: options.xml
302-
});
302+
}, false);
303303
if (options.translateConditionalComments) {
304304
translateConditionalComments($, $.root(), locale, options, t);
305305
}

0 commit comments

Comments
 (0)