HEX
Server: Apache/2.4.41 (Ubuntu)
System: Linux ip-172-31-42-149 5.15.0-1084-aws #91~20.04.1-Ubuntu SMP Fri May 2 07:00:04 UTC 2025 aarch64
User: ubuntu (1000)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/vhost/disk-apps/pwa.sports-crowd.com/node_modules/blocking-proxy/built/lib/config.js
#!/usr/bin/env node
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const minimist = require("minimist");
const opts = {
    boolean: ['help', 'fork'],
    string: ['port', 'seleniumAddress', 'highlightDelay', 'logDir'],
    alias: {
        help: ['h'],
        port: ['p'],
        seleniumAddress: ['s'],
    },
    default: {
        port: process.env.BP_PORT || 0,
        seleniumAddress: process.env.BP_SELENIUM_ADDRESS || 'http://localhost:4444/wd/hub',
    }
};
function processArgs(argv) {
    return minimist(argv, opts);
}
exports.processArgs = processArgs;
function printHelp() {
    console.log(`
Usage: blocking-proxy <options>

Options:
    --help, -h              Show help.
    --port, -p              The port to listen on. If unset, will choose a random free port.
    --fork                  Start in fork mode. BlockingProxy will use process.send() to communicate
                                with the parent process.
    --selenumAddress, -s    The address of the selenium remote server to proxy.
    --highlightDelay        If specified, will highlight elements before interacting with them and 
                                wait the specified amount of time (in ms) before allowing WebDriver
                                to continue.
    --logDir                If specified, will create a log of WebDriver commands in this directory.
    --rootElement           Element housing ng-app, if not html or body.
`);
}
exports.printHelp = printHelp;
//# sourceMappingURL=config.js.map