Skip to content

Commit

Permalink
feat: update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
raymondfeng committed Sep 24, 2020
1 parent 33c00d7 commit 5ca34fc
Show file tree
Hide file tree
Showing 9 changed files with 134 additions and 110 deletions.
19 changes: 12 additions & 7 deletions package-lock.json

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

8 changes: 5 additions & 3 deletions package.json
Expand Up @@ -47,10 +47,12 @@
"devDependencies": {
"coveralls": "^3.1.0",
"lerna": "^3.22.1",
"prettier": "^2.0.5",
"prettier": "^2.1.2",
"tap": "^14.10.8",
"tslint": "^6.1.2",
"tslint": "^6.1.3",
"typescript": "^3.8.3"
},
"dependencies": {}
"dependencies": {
"@types/domhandler": "^2.4.1"
}
}
94 changes: 50 additions & 44 deletions packages/cli/package-lock.json

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

19 changes: 10 additions & 9 deletions packages/cli/package.json
Expand Up @@ -32,14 +32,14 @@
},
"dependencies": {
"async": "^3.2.0",
"debug": "^4.1.1",
"debug": "^4.2.0",
"espree": "^7.3.0",
"estraverse": "^5.1.0",
"estraverse": "^5.2.0",
"g11n-pipeline": "^3.4.0",
"globalize": "^1.5.0",
"globalize": "^1.6.0",
"htmlparser2": "^3.10.1",
"lodash": "^4.17.19",
"md5": "^2.2.1",
"lodash": "^4.17.20",
"md5": "^2.3.0",
"mkdirp": "^1.0.4",
"mktmpdir": "^0.1.1",
"optimist": "^0.6.1",
Expand All @@ -51,20 +51,21 @@
"devDependencies": {
"@types/async": "^3.2.3",
"@types/debug": "^4.1.5",
"@types/domhandler": "^2.4.1",
"@types/esprima": "^4.0.2",
"@types/estraverse": "^5.1.0",
"@types/htmlparser2": "^3.10.1",
"@types/lodash": "^4.14.158",
"@types/htmlparser2": "^3.10.2",
"@types/lodash": "^4.14.161",
"@types/md5": "^2.2.0",
"@types/mkdirp": "^1.0.1",
"@types/node": "^14.0.25",
"@types/node": "^14.11.2",
"@types/optimist": "0.0.29",
"@types/yamljs": "^0.2.31",
"coveralls": "^3.1.0",
"intercept-stdout": "^0.1.2",
"rimraf": "^3.0.2",
"shelljs": "^0.8.4",
"tap": "^14.10.8",
"typescript": "^3.8.3"
"typescript": "^4.0.3"
}
}
4 changes: 4 additions & 0 deletions packages/cli/src/extract.ts
Expand Up @@ -835,17 +835,21 @@ export function scanAst(
node.arguments
);
} else if (nodeIsFnCall(node)) {
// @ts-ignore
// tslint:disable-next-line:no-any
const callee = node.callee as any;
handleSGCall(
node,
callee.object.callee.object.name,
callee.property.name,
// @ts-ignore
node.arguments
);
} else if (nodeIsCallOrNew(node)) {
// @ts-ignore
// tslint:disable-next-line:no-any
const callee = node.callee as any;
// @ts-ignore
recordLiteralPosition(node.arguments[0], callee.name);
}
},
Expand Down

0 comments on commit 5ca34fc

Please sign in to comment.