Skip to content

Commit 5d44b6f

Browse files
committed
fix(package): update dependencies
1 parent e9ce848 commit 5d44b6f

File tree

3 files changed

+753
-284
lines changed

3 files changed

+753
-284
lines changed

package.json

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -33,30 +33,30 @@
3333
"url": "https://github.com/tusharmath/ts-codemod.git"
3434
},
3535
"devDependencies": {
36-
"@types/debug": "^4.1.2",
37-
"@types/fs-extra": "^5.0.5",
36+
"@types/debug": "^4.1.5",
37+
"@types/fs-extra": "^8.0.0",
3838
"@types/json5": "^0.0.30",
39-
"@types/mocha": "^5.2.6",
40-
"@types/node": "^11.9.5",
41-
"@types/ramda": "^0.25.50",
42-
"@types/yargs": "^12.0.9",
43-
"cz-conventional-changelog": "^2.1.0",
44-
"mocha": "^6.0.1",
45-
"prettier": "^1.16.4",
46-
"semantic-release": "^15.13.3",
39+
"@types/mocha": "^5.2.7",
40+
"@types/node": "^12.7.12",
41+
"@types/ramda": "^0.26.29",
42+
"@types/yargs": "^13.0.3",
43+
"cz-conventional-changelog": "^3.0.2",
44+
"mocha": "^6.2.1",
45+
"prettier": "^1.18.2",
46+
"semantic-release": "^15.13.24",
4747
"travis-deploy-once": "^5.0.11",
48-
"tslint": "^5.13.0",
48+
"tslint": "^5.20.0",
4949
"tslint-config-prettier": "^1.18.0"
5050
},
5151
"dependencies": {
5252
"chalk": "^2.4.2",
5353
"debug": "^4.1.1",
54-
"fs-extra": "^7.0.1",
55-
"json5": "^2.1.0",
54+
"fs-extra": "^8.1.0",
55+
"json5": "^2.1.1",
5656
"ramda": "^0.26.1",
5757
"ts-curry": "^1.0.4",
58-
"ts-node": "^8.0.2",
59-
"typescript": "^3.3.3333",
60-
"yargs": "^13.2.1"
58+
"ts-node": "^8.4.1",
59+
"typescript": "^3.6.4",
60+
"yargs": "^14.2.0"
6161
}
6262
}

src/cli.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ const {write, _: sourceFiles, transformation, params} = yargs
2929

3030
async function main(): Promise<void> {
3131
// read the config file
32-
const config: ITSCodemodRC = R.merge(
32+
const config = R.merge(
3333
await loadRCFile(),
3434
R.reject(R.isNil, {transformation, params})
35-
)
35+
) as ITSCodemodRC
3636
if (!config.transformation) {
3737
return LOG(chalk.red(`Missing parameter: ${chalk.bold('transformation')}`))
3838
}

0 commit comments

Comments
 (0)