Sha256: e9dab002982eed80fb8974d6a0060f0e02442395944b5577703038cc9c82943b

Contents?: true

Size: 469 Bytes

Versions: 51

Compression:

Stored size: 469 Bytes

Contents

// workaround for tty output truncation upon process.exit()
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) {
                setImmediate(callback);
            } else {
                exit.apply(process, args);
            }
        })();
    });
    throw exit;
};

Version data entries

51 entries across 49 versions & 12 rubygems

Version Path
tang-0.1.0 spec/tang_app/node_modules/webpack/node_modules/terser/tools/exit.js
tang-0.0.9 spec/tang_app/node_modules/webpack/node_modules/terser/tools/exit.js
enju_library-0.3.8 spec/dummy/node_modules/terser/tools/exit.js
condenser-1.0.rc1 lib/condenser/minifiers/node_modules/uglify-js/tools/exit.js
condenser-0.3 lib/condenser/minifiers/node_modules/uglify-js/tools/exit.js
ilog-0.4.1 node_modules/html-minifier/node_modules/uglify-js/tools/exit.js
ilog-0.4.0 node_modules/html-minifier/node_modules/uglify-js/tools/exit.js
ilog-0.3.3 node_modules/html-minifier/node_modules/uglify-js/tools/exit.js
condenser-0.2 lib/condenser/minifiers/node_modules/uglify-js/tools/exit.js
condenser-0.1 lib/condenser/minifiers/node_modules/uglify-js/tools/exit.js
condenser-0.0.12 lib/condenser/minifiers/node_modules/uglify-js/tools/exit.js
condenser-0.0.11 lib/condenser/minifiers/node_modules/uglify-js/tools/exit.js
condenser-0.0.10 lib/condenser/minifiers/node_modules/uglify-js/tools/exit.js
condenser-0.0.9 lib/condenser/minifiers/node_modules/uglify-js/tools/exit.js
condenser-0.0.8 lib/condenser/minifiers/node_modules/uglify-js/tools/exit.js
jester-data-8.0.0 node_modules/terser/tools/exit.js
ezii-os-5.2.1 node_modules/terser/tools/exit.js
ezii-os-2.0.1 node_modules/terser/tools/exit.js
ezii-os-1.1.0 node_modules/terser/tools/exit.js
ezii-os-1.0.0 node_modules/terser/tools/exit.js