update node_modules

This commit is contained in:
bitkarrot
2022-03-21 00:06:21 -07:00
parent a725bca03a
commit c6038ac85d
1156 changed files with 0 additions and 207393 deletions

22
node_modules/uglify-js/tools/tty.js generated vendored
View File

@@ -1,22 +0,0 @@
// workaround for tty output truncation on Node.js
try {
// prevent buffer overflow and other asynchronous bugs
process.stdout._handle.setBlocking(true);
process.stderr._handle.setBlocking(true);
} catch (e) {
// ensure output buffers are flushed before process termination
var exit = process.exit;
process.exit = function() {
var args = [].slice.call(arguments);
process.once("uncaughtException", function() {
(function callback() {
if (process.stdout.bufferSize || process.stderr.bufferSize) {
setTimeout(callback, 1);
} else {
exit.apply(process, args);
}
})();
});
throw exit;
};
}