diff --git a/package.json b/package.json index 2c89a29..5a0f170 100644 --- a/package.json +++ b/package.json @@ -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" diff --git a/src/patch-apk.ts b/src/patch-apk.ts index 18041f4..c3bc26d 100644 --- a/src/patch-apk.ts +++ b/src/patch-apk.ts @@ -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() }), }, diff --git a/yarn.lock b/yarn.lock index 53af15c..b6117ae 100644 --- a/yarn.lock +++ b/yarn.lock @@ -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"