workaround asynchronous tty bugs on Node.js (#4473)

This commit is contained in:
Alex Lam S.L
2020-12-28 05:32:07 +00:00
committed by GitHub
parent 28bcdbd7df
commit c00efe56f4
6 changed files with 26 additions and 19 deletions

View File

@@ -5,7 +5,7 @@
// bin/uglifyjs s.js -c && bin/uglifyjs s.js -c passes=3 && bin/uglifyjs s.js -c passes=3 -m
// cat s.js | node && node s.js && bin/uglifyjs s.js -c | node && bin/uglifyjs s.js -c passes=3 | node && bin/uglifyjs s.js -c passes=3 -m | node
require("../../tools/exit");
require("../../tools/tty");
var UglifyJS = require("../..");
var randomBytes = require("crypto").randomBytes;