Skip to content

Commit

Permalink
Updating dependencies. Security Fix: Minimist 0.0.8 is vulnerable to …
Browse files Browse the repository at this point in the history
…Prototype Pollution
  • Loading branch information
hveirasvu committed Oct 3, 2022
1 parent bc7403c commit 0d287d6
Show file tree
Hide file tree
Showing 5 changed files with 8,554 additions and 2,517 deletions.
2 changes: 1 addition & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ exports.translate = function(html, locale, options, t) {
const $ = cheerio.load(html, {
decodeEntities: false,
xmlMode: options.xml
});
}, false);
if (options.translateConditionalComments) {
translateConditionalComments($, $.root(), locale, options, t);
}
Expand Down
Loading

0 comments on commit 0d287d6

Please sign in to comment.