Skip to content

Commit

Permalink
Update dependencies for analyze-deps tool (#13310)
Browse files Browse the repository at this point in the history
  • Loading branch information
xirzec authored Jan 22, 2021
1 parent b194f0d commit e75a0b7
Show file tree
Hide file tree
Showing 3 changed files with 81 additions and 118 deletions.
12 changes: 6 additions & 6 deletions eng/tools/analyze-deps/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -232,18 +232,18 @@ const main = async () => {
prog: "analyze-deps",
description: "Analyze dependencies in NodeJS packages."
});
parser.addArgument("--verbose", { help: "verbose output", action: "storeTrue" });
parser.addArgument("--external", { help: "include external dependencies in the graph data", action: "storeTrue" });
parser.addArgument("--out", { metavar: "FILE", help: "write HTML-formatted report to FILE" });
parser.addArgument("--dump", { metavar: "FILE", help: "write JSONP-formatted dependency data to FILE" });
parser.addArgument("--packdir", {
parser.add_argument("--verbose", { help: "verbose output", action: "store_true" });
parser.add_argument("--external", { help: "include external dependencies in the graph data", action: "store_true" });
parser.add_argument("--out", { metavar: "FILE", help: "write HTML-formatted report to FILE" });
parser.add_argument("--dump", { metavar: "FILE", help: "write JSONP-formatted dependency data to FILE" });
parser.add_argument("--packdir", {
metavar: "DIR",
help: "analyze packed tarballs in DIR rather than source packages in this repository"
});
try {


const args = parser.parseArgs();
const args = parser.parse_args();

const context = {
packages: {},
Expand Down
177 changes: 70 additions & 107 deletions eng/tools/analyze-deps/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions eng/tools/analyze-deps/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
"author": "",
"license": "ISC",
"dependencies": {
"argparse": "^1.0.10",
"handlebars": "^4.5.3",
"argparse": "^2.0.1",
"handlebars": "^4.7.6",
"jju": "^1.4.0",
"js-yaml": "^3.13.1",
"semver": "^6.2.0",
"tar": "^4.4.10"
"js-yaml": "^4.0.0",
"semver": "^7.3.4",
"tar": "^6.1.0"
}
}

0 comments on commit e75a0b7

Please sign in to comment.