From d69d8007d6f9d3ee5a202b089ed6319cb33e69f9 Mon Sep 17 00:00:00 2001 From: "Alex Lam S.L" Date: Tue, 6 Feb 2018 15:57:15 +0800 Subject: evaluate `to{Low,Upp}erCase()` under `unsafe` (#2886) --- lib/compress.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib') diff --git a/lib/compress.js b/lib/compress.js index a48d0c9a..142728c2 100644 --- a/lib/compress.js +++ b/lib/compress.js @@ -2224,6 +2224,8 @@ merge(Compressor.prototype, { "split", "substr", "substring", + "toLowerCase", + "toUpperCase", "trim", ].concat(object_fns), }; -- cgit v1.2.3