aboutsummaryrefslogtreecommitdiff
path: root/lib/compress.js
diff options
context:
space:
mode:
authorAlex Lam S.L <alexlamsl@gmail.com>2018-02-06 15:57:15 +0800
committerGitHub <noreply@github.com>2018-02-06 15:57:15 +0800
commitd69d8007d6f9d3ee5a202b089ed6319cb33e69f9 (patch)
treec3cac0c096245a987d2b874ce74408231be1b8ca /lib/compress.js
parentc0b8f2a16d4804fe302e5db91995735ee7041c8d (diff)
downloadtracifyjs-d69d8007d6f9d3ee5a202b089ed6319cb33e69f9.tar.gz
tracifyjs-d69d8007d6f9d3ee5a202b089ed6319cb33e69f9.zip
evaluate `to{Low,Upp}erCase()` under `unsafe` (#2886)
Diffstat (limited to 'lib/compress.js')
-rw-r--r--lib/compress.js2
1 files changed, 2 insertions, 0 deletions
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),
};