Skip to content

Commit 15ac3af

Browse files
authored
Merge pull request #289 from jupyterhub/dependabot/npm_and_yarn/commander-7.1.0
Bump commander from 6.2.1 to 7.1.0
2 parents 2417b11 + a398329 commit 15ac3af

File tree

4 files changed

+11
-7
lines changed

4 files changed

+11
-7
lines changed

.github/workflows/test.yml

+3
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ name: Test
99

1010
on:
1111
push:
12+
branches-ignore:
13+
# don't double-build dependabot PRs
14+
- dependabot/**
1215
pull_request:
1316
workflow_dispatch:
1417

bin/configurable-http-proxy

+4-3
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@
99

1010
var fs = require("fs"),
1111
pkg = require("../package.json"),
12-
args = require("commander"),
12+
cli = require("commander"),
1313
tls = require("tls"),
1414
winston = require("winston");
1515

16-
args
16+
cli
1717
.version(pkg.version)
1818
.option("--ip <ip-address>", "Public-facing IP of the proxy")
1919
.option("--port <n> (defaults to 8000)", "Public-facing port of the proxy", parseInt)
@@ -117,7 +117,8 @@ function collectHeadersIntoObject(value, previous) {
117117
previous[headerParts[0]] = headerParts[1];
118118
}
119119

120-
args.parse(process.argv);
120+
cli.parse(process.argv);
121+
var args = cli.opts();
121122

122123
var ConfigurableProxy = require("../lib/configproxy.js").ConfigurableProxy;
123124

package-lock.json

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"url": "https://github.com/jupyterhub/configurable-http-proxy.git"
1010
},
1111
"dependencies": {
12-
"commander": "~6.2.0",
12+
"commander": "~7.1.0",
1313
"http-proxy": "^1.18.1",
1414
"lynx": "^0.2.0",
1515
"strftime": "~0.10.0",

0 commit comments

Comments
 (0)