From 0716c9522c94d84cefe3f499e8ffefe508b1b214 Mon Sep 17 00:00:00 2001 From: Allan Zheng Date: Tue, 19 Sep 2023 12:20:10 -0700 Subject: [PATCH] fix: use @types/node@16 to compatible with ts4.0 --- scripts/tsc-compliance-test/package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/tsc-compliance-test/package.json b/scripts/tsc-compliance-test/package.json index 6a0214c86ec..7b3c262ee3f 100644 --- a/scripts/tsc-compliance-test/package.json +++ b/scripts/tsc-compliance-test/package.json @@ -4,7 +4,7 @@ "license": "MIT", "private": true, "devDependencies": { - "@types/node": "20.6.2", + "@types/node": "^16.11.7", "aws-amplify": "6.0.0", "typescript": "4.0.x" }, diff --git a/yarn.lock b/yarn.lock index f2e7de0c6e9..dc6fbc0d50d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2774,10 +2774,10 @@ resolved "https://registry.yarnpkg.com/@types/node/-/node-20.6.1.tgz#8b589bba9b2af0128796461a0979764562687e6f" integrity sha512-4LcJvuXQlv4lTHnxwyHQZ3uR9Zw2j7m1C9DfuwoTFQQP4Pmu04O6IfLYgMmHoOCt0nosItLLZAH+sOrRE0Bo8g== -"@types/node@20.6.2": - version "20.6.2" - resolved "https://registry.yarnpkg.com/@types/node/-/node-20.6.2.tgz#a065925409f59657022e9063275cd0b9bd7e1b12" - integrity sha512-Y+/1vGBHV/cYk6OI1Na/LHzwnlNCAfU3ZNGrc1LdRe/LAIbdDPTTv/HU3M7yXN448aTVDq3eKRm2cg7iKLb8gw== +"@types/node@^16.11.7": + version "16.18.52" + resolved "https://registry.yarnpkg.com/@types/node/-/node-16.18.52.tgz#70c56b55d0d7e15fafa875127e95a92605c59c9b" + integrity sha512-sm2aph6cRSsTMFYFgI+RpPLunXO9ClJkpizUVdT7KmGeyfQ14xnjTMT/f3MHcfKqevXqGT6BgVFzW8wcEoDUtA== "@types/node@^8.9.5": version "8.10.66"