From 4c1d40f97f5459ddbc08c693bbac2640cca357ab Mon Sep 17 00:00:00 2001 From: sad-squid Date: Mon, 21 Dec 2020 12:33:58 -0800 Subject: [PATCH 1/3] chore(deps): bump type deps, fix lock, add node engine --- package.json | 5 +++-- yarn.lock | 23 +++++++++++++---------- 2 files changed, 16 insertions(+), 12 deletions(-) diff --git a/package.json b/package.json index 0a1b8026..ffc7ce5f 100644 --- a/package.json +++ b/package.json @@ -3,6 +3,7 @@ "version": "1.1.6", "license": "GPL-3.0-or-later", "description": "Free, open, Among Us proximity voice chat", + "engines": { "node": "~12" }, "repository": { "type": "git", "url": "https://github.com/ottomated/crewlink.git" @@ -52,8 +53,8 @@ "@types/cross-spawn": "^6.0.2", "@types/js-yaml": "^3.12.5", "@types/node": "12", - "@types/react": "^16.9.53", - "@types/react-dom": "^16.9.8", + "@types/react": "^17.0.0", + "@types/react-dom": "^17.0.0", "@types/simple-peer": "^9.6.1", "@types/socket.io-client": "^1.4.34", "@types/webpack-env": "^1.15.3", diff --git a/yarn.lock b/yarn.lock index 3193fa5a..e1e8be1c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1156,14 +1156,14 @@ resolved "https://registry.yarnpkg.com/@types/prop-types/-/prop-types-15.7.3.tgz#2ab0d5da2e5815f94b0b9d4b95d1e5f243ab2ca7" integrity sha512-KfRL3PuHmqQLOG+2tGpRO26Ctg+Cq1E01D2DMriKEATHgWLfeNDmq9e29Q9WIky0dQ3NPkd1mzYH8Lm936Z9qw== -"@types/react-dom@^16.9.8": - version "16.9.8" - resolved "https://registry.yarnpkg.com/@types/react-dom/-/react-dom-16.9.8.tgz#fe4c1e11dfc67155733dfa6aa65108b4971cb423" - integrity sha512-ykkPQ+5nFknnlU6lDd947WbQ6TE3NNzbQAkInC2EKY1qeYdTKp7onFusmYZb+ityzx2YviqT6BXSu+LyWWJwcA== +"@types/react-dom@^17": + version "17.0.0" + resolved "https://registry.yarnpkg.com/@types/react-dom/-/react-dom-17.0.0.tgz#b3b691eb956c4b3401777ee67b900cb28415d95a" + integrity sha512-lUqY7OlkF/RbNtD5nIq7ot8NquXrdFrjSOR6+w9a9RFQevGi1oZO1dcJbXMeONAPKtZ2UrZOEJ5UOCVsxbLk/g== dependencies: "@types/react" "*" -"@types/react@*", "@types/react@^16.9.53": +"@types/react@*": version "16.9.53" resolved "https://registry.yarnpkg.com/@types/react/-/react-16.9.53.tgz#40cd4f8b8d6b9528aedd1fff8fcffe7a112a3d23" integrity sha512-4nW60Sd4L7+WMXH1D6jCdVftuW7j4Za6zdp6tJ33Rqv0nk1ZAmQKML9ZLD4H0dehA3FZxXR/GM8gXplf82oNGw== @@ -1171,6 +1171,14 @@ "@types/prop-types" "*" csstype "^3.0.2" +"@types/react@^17": + version "17.0.0" + resolved "https://registry.yarnpkg.com/@types/react/-/react-17.0.0.tgz#5af3eb7fad2807092f0046a1302b7823e27919b8" + integrity sha512-aj/L7RIMsRlWML3YB6KZiXB3fV2t41+5RBGYF8z+tAKU43Px8C3cYUZsDvf1/+Bm4FK21QWBrDutu8ZJ/70qOw== + dependencies: + "@types/prop-types" "*" + csstype "^3.0.2" + "@types/semver@^7.3.1": version "7.3.4" resolved "https://registry.yarnpkg.com/@types/semver/-/semver-7.3.4.tgz#43d7168fec6fa0988bb1a513a697b29296721afb" @@ -1844,11 +1852,6 @@ atomically@^1.3.1: resolved "https://registry.yarnpkg.com/atomically/-/atomically-1.6.0.tgz#d8d47f99834dbb88bd6266cc69a1447e2f3675ec" integrity sha512-mu394MH+yY2TSKMyH+978PcGMZ8sRNks2PuVeH6c2ED4mimR2LEE039MVcIGVhtmG54cKEMh4gKhxKL/CLaX/w== -audio-activity@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/audio-activity/-/audio-activity-1.0.0.tgz#f653b9668582e7fd6a4c9b9997abe26607bcc456" - integrity sha1-9lO5ZoWC5/1qTJuZl6viZge8xFY= - audio-frequency-to-index@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/audio-frequency-to-index/-/audio-frequency-to-index-2.0.0.tgz#4c4bca9f3bfec38c773aa6b5604c117adc982d45" From 1416cdd9fbf99bf2c37164b8baeba09c9b79c2a9 Mon Sep 17 00:00:00 2001 From: sad-squid Date: Mon, 21 Dec 2020 12:35:29 -0800 Subject: [PATCH 2/3] chore(deps): bump type deps, fix lock, add node engine --- yarn.lock | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/yarn.lock b/yarn.lock index e1e8be1c..db374fc9 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1156,7 +1156,7 @@ resolved "https://registry.yarnpkg.com/@types/prop-types/-/prop-types-15.7.3.tgz#2ab0d5da2e5815f94b0b9d4b95d1e5f243ab2ca7" integrity sha512-KfRL3PuHmqQLOG+2tGpRO26Ctg+Cq1E01D2DMriKEATHgWLfeNDmq9e29Q9WIky0dQ3NPkd1mzYH8Lm936Z9qw== -"@types/react-dom@^17": +"@types/react-dom@^17.0.0": version "17.0.0" resolved "https://registry.yarnpkg.com/@types/react-dom/-/react-dom-17.0.0.tgz#b3b691eb956c4b3401777ee67b900cb28415d95a" integrity sha512-lUqY7OlkF/RbNtD5nIq7ot8NquXrdFrjSOR6+w9a9RFQevGi1oZO1dcJbXMeONAPKtZ2UrZOEJ5UOCVsxbLk/g== @@ -1171,7 +1171,7 @@ "@types/prop-types" "*" csstype "^3.0.2" -"@types/react@^17": +"@types/react@^17.0.0": version "17.0.0" resolved "https://registry.yarnpkg.com/@types/react/-/react-17.0.0.tgz#5af3eb7fad2807092f0046a1302b7823e27919b8" integrity sha512-aj/L7RIMsRlWML3YB6KZiXB3fV2t41+5RBGYF8z+tAKU43Px8C3cYUZsDvf1/+Bm4FK21QWBrDutu8ZJ/70qOw== From 721eae48b41d6971d74f494de918f686701f074d Mon Sep 17 00:00:00 2001 From: sad-squid Date: Mon, 21 Dec 2020 12:51:25 -0800 Subject: [PATCH 3/3] Adjust node engine to 14 and upgrade types --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index ffc7ce5f..efc53feb 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "version": "1.1.6", "license": "GPL-3.0-or-later", "description": "Free, open, Among Us proximity voice chat", - "engines": { "node": "~12" }, + "engines": { "node": "~14" }, "repository": { "type": "git", "url": "https://github.com/ottomated/crewlink.git" @@ -52,7 +52,7 @@ "@types/color": "^3.0.1", "@types/cross-spawn": "^6.0.2", "@types/js-yaml": "^3.12.5", - "@types/node": "12", + "@types/node": "^14.14.14", "@types/react": "^17.0.0", "@types/react-dom": "^17.0.0", "@types/simple-peer": "^9.6.1",