Skip to content

Commit

Permalink
Explicitly install types for the lowest supported Node.js version
Browse files Browse the repository at this point in the history
  • Loading branch information
niklashigi committed Feb 3, 2021
1 parent 1dedf93 commit 6aa25ce
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"devDependencies": {
"@types/follow-redirects": "^1.13.0",
"@types/listr": "^0.14.2",
"@types/node": "14.14.10",
"@types/node": "10",
"@types/yargs-parser": "^15.0.0",
"prettier": "^2.2.1",
"typescript": "^4.1.2"
Expand Down
4 changes: 2 additions & 2 deletions src/patch-apk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@ export default function patchApk(options: TaskOptions) {
task: () =>
observeAsync(async log => {
process.stdin.setEncoding('utf-8')
process.stdin.setRawMode(true)
process.stdin.setRawMode!(true)

log('Press any key to continue.')
await once(process.stdin, 'data')

process.stdin.setRawMode(false)
process.stdin.setRawMode!(false)
process.stdin.pause()
}),
},
Expand Down
7 changes: 6 additions & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,16 @@
"@types/node" "*"
rxjs "^6.5.1"

"@types/node@*", "@types/node@14.14.10":
"@types/node@*":
version "14.14.10"
resolved "https://registry.yarnpkg.com/@types/node/-/node-14.14.10.tgz#5958a82e41863cfc71f2307b3748e3491ba03785"
integrity sha512-J32dgx2hw8vXrSbu4ZlVhn1Nm3GbeCFNw2FWL8S5QKucHGY0cyNwjdQdO+KMBZ4wpmC7KhLCiNsdk1RFRIYUQQ==

"@types/node@10":
version "10.17.51"
resolved "https://registry.yarnpkg.com/@types/node/-/node-10.17.51.tgz#639538575befbcf3d3861f95c41de8e47124d674"
integrity sha512-KANw+MkL626tq90l++hGelbl67irOJzGhUJk6a1Bt8QHOeh9tztJx+L0AqttraWKinmZn7Qi5lJZJzx45Gq0dg==

"@types/yargs-parser@^15.0.0":
version "15.0.0"
resolved "https://registry.yarnpkg.com/@types/yargs-parser/-/yargs-parser-15.0.0.tgz#cb3f9f741869e20cce330ffbeb9271590483882d"
Expand Down

0 comments on commit 6aa25ce

Please sign in to comment.