diff --git a/lib/cli.js b/lib/cli.js index cbdbcaae..9467478d 100755 --- a/lib/cli.js +++ b/lib/cli.js @@ -15,16 +15,7 @@ const Router = require('./router'); const gens = list(process.argv.slice(2)); -// Override http networking to go through a proxy ifone is configured -const MAJOR_NODEJS_VERSION = Number.parseInt(process.version.slice(1).split('.')[0], 10); - -if (MAJOR_NODEJS_VERSION >= 10) { - // `global-agent` works with Node.js v10 and above. - require('global-agent').bootstrap(); -} else { - // `global-tunnel-ng` works only with Node.js v10 and below. - require('global-tunnel-ng').initialize(); -} +require('global-agent').bootstrap(); /* eslint new-cap: 0, no-extra-parens: 0 */ const tabtab = new Tabtab.Commands.default({ diff --git a/package.json b/package.json index ea353f66..170e995e 100644 --- a/package.json +++ b/package.json @@ -51,7 +51,6 @@ "figures": "^3.2.0", "fullname": "^4.0.1", "global-agent": "^3.0.0", - "global-tunnel-ng": "^2.7.1", "got": "^11.8.6", "humanize-string": "^2.1.0", "inquirer": "^8.2.0",