Skip to content

Commit bf25e1f

Browse files
frostebiteclaude
andcommitted
fix: downgrade yargs to ^17.7.2 for Node 18 compatibility
yargs@18 requires Node >=20.19.0. Downgrade to yargs@17.7.2 to maintain Node 18 support. Revert integrity-check.yml back to Node 18. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 0633ca9 commit bf25e1f

3 files changed

Lines changed: 21 additions & 65 deletions

File tree

.github/workflows/integrity-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- uses: actions/checkout@v4
2525
- uses: actions/setup-node@v4
2626
with:
27-
node-version: '20'
27+
node-version: '18'
2828
- run: yarn
2929
- run: yarn lint
3030
- run: yarn test:ci --coverage

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
"unity-changeset": "^3.1.0",
7575
"uuid": "^9.0.0",
7676
"yaml": "^2.2.2",
77-
"yargs": "^18.0.0"
77+
"yargs": "^17.7.2"
7878
},
7979
"devDependencies": {
8080
"@types/base-64": "^1.0.0",

yarn.lock

Lines changed: 19 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -3003,11 +3003,6 @@ ansi-regex@^5.0.1:
30033003
resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-5.0.1.tgz#082cb2c89c9fe8659a311a53bd6a4dc5301db304"
30043004
integrity sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==
30053005

3006-
ansi-regex@^6.2.2:
3007-
version "6.2.2"
3008-
resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-6.2.2.tgz#60216eea464d864597ce2832000738a0589650c1"
3009-
integrity sha512-Bq3SmSpyFHaWjPk8If9yc6svM8c56dB5BAtW4Qbw5jHTwwXXcTLoRMkpDJp6VL0XzlWaCHTXrkFURMYmD0sLqg==
3010-
30113006
ansi-styles@^3.2.1:
30123007
version "3.2.1"
30133008
resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-3.2.1.tgz#41fbb20243e50b12be0f04b8dedbf07520ce841d"
@@ -3027,11 +3022,6 @@ ansi-styles@^5.0.0:
30273022
resolved "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz"
30283023
integrity sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==
30293024

3030-
ansi-styles@^6.2.1:
3031-
version "6.2.3"
3032-
resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-6.2.3.tgz#c044d5dcc521a076413472597a1acb1f103c4041"
3033-
integrity sha512-4Dj6M28JB+oAH8kFkTLUo+a2jwOFkuqb3yucU0CANcRRUbxS0cP0nZYCGjcc3BNXwRIsUVmDGgzawme7zvJHvg==
3034-
30353025
anymatch@^3.0.3:
30363026
version "3.1.3"
30373027
resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-3.1.3.tgz#790c58b19ba1720a84205b57c618d5ad8524973e"
@@ -3589,14 +3579,14 @@ cliui@^7.0.2:
35893579
strip-ansi "^6.0.0"
35903580
wrap-ansi "^7.0.0"
35913581

3592-
cliui@^9.0.1:
3593-
version "9.0.1"
3594-
resolved "https://registry.yarnpkg.com/cliui/-/cliui-9.0.1.tgz#6f7890f386f6f1f79953adc1f78dec46fcc2d291"
3595-
integrity sha512-k7ndgKhwoQveBL+/1tqGJYNz097I7WOvwbmmU2AR5+magtbjPWQTS1C5vzGkBC8Ym8UWRzfKUzUUqFLypY4Q+w==
3582+
cliui@^8.0.1:
3583+
version "8.0.1"
3584+
resolved "https://registry.yarnpkg.com/cliui/-/cliui-8.0.1.tgz#0c04b075db02cbfe60dc8e6cf2f5486b1a3608aa"
3585+
integrity sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==
35963586
dependencies:
3597-
string-width "^7.2.0"
3598-
strip-ansi "^7.1.0"
3599-
wrap-ansi "^9.0.0"
3587+
string-width "^4.2.0"
3588+
strip-ansi "^6.0.1"
3589+
wrap-ansi "^7.0.0"
36003590

36013591
clone-response@^1.0.2:
36023592
version "1.0.3"
@@ -3991,11 +3981,6 @@ emittery@^0.8.1:
39913981
resolved "https://registry.npmjs.org/emittery/-/emittery-0.8.1.tgz"
39923982
integrity sha512-uDfvUjVrfGJJhymx/kz6prltenw1u7WrCg1oa94zYY8xxVpLLUu045LAT0dhDZdXG58/EpPL/5kA180fQ/qudg==
39933983

3994-
emoji-regex@^10.3.0:
3995-
version "10.6.0"
3996-
resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-10.6.0.tgz#bf3d6e8f7f8fd22a65d9703475bc0147357a6b0d"
3997-
integrity sha512-toUI84YS5YmxW219erniWD0CIVOo46xGKColeNQRgOzDorgBi1v4D71/OFzgD9GO2UGKIv1C3Sp8DAn0+j5w7A==
3998-
39993984
emoji-regex@^8.0.0:
40003985
version "8.0.0"
40013986
resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-8.0.0.tgz#e818fd69ce5ccfcb404594f842963bf53164cc37"
@@ -4796,11 +4781,6 @@ get-caller-file@^2.0.5:
47964781
resolved "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz"
47974782
integrity sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==
47984783

4799-
get-east-asian-width@^1.0.0:
4800-
version "1.5.0"
4801-
resolved "https://registry.yarnpkg.com/get-east-asian-width/-/get-east-asian-width-1.5.0.tgz#ce7008fe345edcf5497a6f557cfa54bc318a9ce7"
4802-
integrity sha512-CQ+bEO+Tva/qlmw24dCejulK5pMzVnUOFOijVogd3KQs07HnRIgp8TGipvCCRT06xeYEbpbgwaCxglFyiuIcmA==
4803-
48044784
get-intrinsic@^1.0.2, get-intrinsic@^1.1.1, get-intrinsic@^1.1.3, get-intrinsic@^1.2.0, get-intrinsic@^1.2.1:
48054785
version "1.2.1"
48064786
resolved "https://registry.yarnpkg.com/get-intrinsic/-/get-intrinsic-1.2.1.tgz#d295644fed4505fc9cde952c37ee12b477a83d82"
@@ -7548,15 +7528,6 @@ string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3:
75487528
is-fullwidth-code-point "^3.0.0"
75497529
strip-ansi "^6.0.1"
75507530

7551-
string-width@^7.0.0, string-width@^7.2.0:
7552-
version "7.2.0"
7553-
resolved "https://registry.yarnpkg.com/string-width/-/string-width-7.2.0.tgz#b5bb8e2165ce275d4d43476dd2700ad9091db6dc"
7554-
integrity sha512-tsaTIkKW9b4N+AEj+SVA+WhJzV7/zMhcSu78mLKWSk7cXMOSHsBKFWUs0fWwq8QyK3MgJBQRX6Gbi4kYbdvGkQ==
7555-
dependencies:
7556-
emoji-regex "^10.3.0"
7557-
get-east-asian-width "^1.0.0"
7558-
strip-ansi "^7.1.0"
7559-
75607531
string.prototype.trim@^1.2.7:
75617532
version "1.2.7"
75627533
resolved "https://registry.yarnpkg.com/string.prototype.trim/-/string.prototype.trim-1.2.7.tgz#a68352740859f6893f14ce3ef1bb3037f7a90533"
@@ -7605,13 +7576,6 @@ strip-ansi@^6.0.0, strip-ansi@^6.0.1:
76057576
dependencies:
76067577
ansi-regex "^5.0.1"
76077578

7608-
strip-ansi@^7.1.0:
7609-
version "7.2.0"
7610-
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-7.2.0.tgz#d22a269522836a627af8d04b5c3fd2c7fa3e32e3"
7611-
integrity sha512-yDPMNjp4WyfYBkHnjIRLfca1i6KMyGCtsVgoKe/z1+6vukgaENdgGBZt+ZmKPc4gavvEZ5OgHfHdrazhgNyG7w==
7612-
dependencies:
7613-
ansi-regex "^6.2.2"
7614-
76157579
strip-bom@^3.0.0:
76167580
version "3.0.0"
76177581
resolved "https://registry.yarnpkg.com/strip-bom/-/strip-bom-3.0.0.tgz#2334c18e9c759f7bdd56fdef7e9ae3d588e68ed3"
@@ -8353,15 +8317,6 @@ wrap-ansi@^7.0.0:
83538317
string-width "^4.1.0"
83548318
strip-ansi "^6.0.0"
83558319

8356-
wrap-ansi@^9.0.0:
8357-
version "9.0.2"
8358-
resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-9.0.2.tgz#956832dea9494306e6d209eb871643bb873d7c98"
8359-
integrity sha512-42AtmgqjV+X1VpdOfyTGOYRi0/zsoLqtXQckTmqTeybT+BDIbM/Guxo7x3pE2vtpr1ok6xRqM9OpBe+Jyoqyww==
8360-
dependencies:
8361-
ansi-styles "^6.2.1"
8362-
string-width "^7.0.0"
8363-
strip-ansi "^7.1.0"
8364-
83658320
wrappy@1:
83668321
version "1.0.2"
83678322
resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f"
@@ -8447,10 +8402,10 @@ yargs-parser@20.x, yargs-parser@^20.2.2:
84478402
resolved "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz"
84488403
integrity sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==
84498404

8450-
yargs-parser@^22.0.0:
8451-
version "22.0.0"
8452-
resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-22.0.0.tgz#87b82094051b0567717346ecd00fd14804b357c8"
8453-
integrity sha512-rwu/ClNdSMpkSrUb+d6BRsSkLUq1fmfsY6TOpYzTwvwkg1/NRG85KBy3kq++A8LKQwX6lsu+aWad+2khvuXrqw==
8405+
yargs-parser@^21.1.1:
8406+
version "21.1.1"
8407+
resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-21.1.1.tgz#9096bceebf990d21bb31fa9516e0ede294a77d35"
8408+
integrity sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==
84548409

84558410
yargs@^16.2.0:
84568411
version "16.2.0"
@@ -8465,17 +8420,18 @@ yargs@^16.2.0:
84658420
y18n "^5.0.5"
84668421
yargs-parser "^20.2.2"
84678422

8468-
yargs@^18.0.0:
8469-
version "18.0.0"
8470-
resolved "https://registry.yarnpkg.com/yargs/-/yargs-18.0.0.tgz#6c84259806273a746b09f579087b68a3c2d25bd1"
8471-
integrity sha512-4UEqdc2RYGHZc7Doyqkrqiln3p9X2DZVxaGbwhn2pi7MrRagKaOcIKe8L3OxYcbhXLgLFUS3zAYuQjKBQgmuNg==
8423+
yargs@^17.7.2:
8424+
version "17.7.2"
8425+
resolved "https://registry.yarnpkg.com/yargs/-/yargs-17.7.2.tgz#991df39aca675a192b816e1e0363f9d75d2aa269"
8426+
integrity sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==
84728427
dependencies:
8473-
cliui "^9.0.1"
8428+
cliui "^8.0.1"
84748429
escalade "^3.1.1"
84758430
get-caller-file "^2.0.5"
8476-
string-width "^7.2.0"
8431+
require-directory "^2.1.1"
8432+
string-width "^4.2.3"
84778433
y18n "^5.0.5"
8478-
yargs-parser "^22.0.0"
8434+
yargs-parser "^21.1.1"
84798435

84808436
yarn-audit-fix@^9.3.8:
84818437
version "9.3.12"

0 commit comments

Comments
 (0)