Skip to content

Commit 62a47ce

Browse files
chore(internal): share typescript helpers
1 parent b25bfa6 commit 62a47ce

File tree

3 files changed

+71
-71
lines changed

3 files changed

+71
-71
lines changed

package.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@
3030
"@swc/jest": "^0.2.29",
3131
"@types/jest": "^29.4.0",
3232
"@types/node": "^20.17.6",
33-
"typescript-eslint": "^8.24.0",
34-
"@typescript-eslint/eslint-plugin": "^8.24.0",
35-
"@typescript-eslint/parser": "^8.24.0",
33+
"typescript-eslint": "8.31.1",
34+
"@typescript-eslint/eslint-plugin": "8.31.1",
35+
"@typescript-eslint/parser": "8.31.1",
3636
"eslint": "^9.20.1",
3737
"eslint-plugin-prettier": "^5.2.3",
3838
"eslint-plugin-unused-imports": "^4.1.4",
@@ -42,9 +42,9 @@
4242
"publint": "^0.2.12",
4343
"ts-jest": "^29.1.0",
4444
"ts-node": "^10.5.0",
45-
"tsc-multi": "https://github.com/stainless-api/tsc-multi/releases/download/v1.1.3/tsc-multi.tgz",
45+
"tsc-multi": "https://github.com/stainless-api/tsc-multi/releases/download/v1.1.4/tsc-multi-1.1.4.tgz",
4646
"tsconfig-paths": "^4.0.0",
47-
"typescript": "^4.8.2"
47+
"typescript": "5.8.3"
4848
},
4949
"resolutions": {
5050
"synckit": "0.8.8"

tsc-multi.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"targets": [
3-
{ "extname": ".js", "module": "commonjs" },
4-
{ "extname": ".mjs", "module": "esnext" }
3+
{ "extname": ".js", "module": "commonjs", "shareHelpers": "internal/tslib.js" },
4+
{ "extname": ".mjs", "module": "esnext", "shareHelpers": "internal/tslib.mjs" }
55
],
66
"projects": ["tsconfig.build.json"]
77
}

yarn.lock

+64-64
Original file line numberDiff line numberDiff line change
@@ -961,85 +961,85 @@
961961
dependencies:
962962
"@types/yargs-parser" "*"
963963

964-
"@typescript-eslint/eslint-plugin@8.24.0", "@typescript-eslint/eslint-plugin@^8.24.0":
965-
version "8.24.0"
966-
resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.24.0.tgz#574a95d67660a1e4544ae131d672867a5b40abb3"
967-
integrity sha512-aFcXEJJCI4gUdXgoo/j9udUYIHgF23MFkg09LFz2dzEmU0+1Plk4rQWv/IYKvPHAtlkkGoB3m5e6oUp+JPsNaQ==
964+
"@typescript-eslint/eslint-plugin@8.31.1":
965+
version "8.31.1"
966+
resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.31.1.tgz#62f1befe59647524994e89de4516d8dcba7a850a"
967+
integrity sha512-oUlH4h1ABavI4F0Xnl8/fOtML/eu8nI2A1nYd+f+55XI0BLu+RIqKoCiZKNo6DtqZBEQm5aNKA20G3Z5w3R6GQ==
968968
dependencies:
969969
"@eslint-community/regexpp" "^4.10.0"
970-
"@typescript-eslint/scope-manager" "8.24.0"
971-
"@typescript-eslint/type-utils" "8.24.0"
972-
"@typescript-eslint/utils" "8.24.0"
973-
"@typescript-eslint/visitor-keys" "8.24.0"
970+
"@typescript-eslint/scope-manager" "8.31.1"
971+
"@typescript-eslint/type-utils" "8.31.1"
972+
"@typescript-eslint/utils" "8.31.1"
973+
"@typescript-eslint/visitor-keys" "8.31.1"
974974
graphemer "^1.4.0"
975975
ignore "^5.3.1"
976976
natural-compare "^1.4.0"
977977
ts-api-utils "^2.0.1"
978978

979-
"@typescript-eslint/parser@8.24.0", "@typescript-eslint/parser@^8.24.0":
980-
version "8.24.0"
981-
resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-8.24.0.tgz#bba837f9ee125b78f459ad947ff9b61be8139085"
982-
integrity sha512-MFDaO9CYiard9j9VepMNa9MTcqVvSny2N4hkY6roquzj8pdCBRENhErrteaQuu7Yjn1ppk0v1/ZF9CG3KIlrTA==
979+
"@typescript-eslint/parser@8.31.1":
980+
version "8.31.1"
981+
resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-8.31.1.tgz#e9b0ccf30d37dde724ee4d15f4dbc195995cce1b"
982+
integrity sha512-oU/OtYVydhXnumd0BobL9rkJg7wFJ9bFFPmSmB/bf/XWN85hlViji59ko6bSKBXyseT9V8l+CN1nwmlbiN0G7Q==
983983
dependencies:
984-
"@typescript-eslint/scope-manager" "8.24.0"
985-
"@typescript-eslint/types" "8.24.0"
986-
"@typescript-eslint/typescript-estree" "8.24.0"
987-
"@typescript-eslint/visitor-keys" "8.24.0"
984+
"@typescript-eslint/scope-manager" "8.31.1"
985+
"@typescript-eslint/types" "8.31.1"
986+
"@typescript-eslint/typescript-estree" "8.31.1"
987+
"@typescript-eslint/visitor-keys" "8.31.1"
988988
debug "^4.3.4"
989989

990-
"@typescript-eslint/scope-manager@8.24.0":
991-
version "8.24.0"
992-
resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-8.24.0.tgz#2e34b3eb2ce768f2ffb109474174ced5417002b1"
993-
integrity sha512-HZIX0UByphEtdVBKaQBgTDdn9z16l4aTUz8e8zPQnyxwHBtf5vtl1L+OhH+m1FGV9DrRmoDuYKqzVrvWDcDozw==
990+
"@typescript-eslint/scope-manager@8.31.1":
991+
version "8.31.1"
992+
resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-8.31.1.tgz#1eb52e76878f545e4add142e0d8e3e97e7aa443b"
993+
integrity sha512-BMNLOElPxrtNQMIsFHE+3P0Yf1z0dJqV9zLdDxN/xLlWMlXK/ApEsVEKzpizg9oal8bAT5Sc7+ocal7AC1HCVw==
994994
dependencies:
995-
"@typescript-eslint/types" "8.24.0"
996-
"@typescript-eslint/visitor-keys" "8.24.0"
995+
"@typescript-eslint/types" "8.31.1"
996+
"@typescript-eslint/visitor-keys" "8.31.1"
997997

998-
"@typescript-eslint/type-utils@8.24.0":
999-
version "8.24.0"
1000-
resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-8.24.0.tgz#6ee3ec4db06f9e5e7b01ca6c2b5dd5843a9fd1e8"
1001-
integrity sha512-8fitJudrnY8aq0F1wMiPM1UUgiXQRJ5i8tFjq9kGfRajU+dbPyOuHbl0qRopLEidy0MwqgTHDt6CnSeXanNIwA==
998+
"@typescript-eslint/type-utils@8.31.1":
999+
version "8.31.1"
1000+
resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-8.31.1.tgz#be0f438fb24b03568e282a0aed85f776409f970c"
1001+
integrity sha512-fNaT/m9n0+dpSp8G/iOQ05GoHYXbxw81x+yvr7TArTuZuCA6VVKbqWYVZrV5dVagpDTtj/O8k5HBEE/p/HM5LA==
10021002
dependencies:
1003-
"@typescript-eslint/typescript-estree" "8.24.0"
1004-
"@typescript-eslint/utils" "8.24.0"
1003+
"@typescript-eslint/typescript-estree" "8.31.1"
1004+
"@typescript-eslint/utils" "8.31.1"
10051005
debug "^4.3.4"
10061006
ts-api-utils "^2.0.1"
10071007

1008-
"@typescript-eslint/types@8.24.0":
1009-
version "8.24.0"
1010-
resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-8.24.0.tgz#694e7fb18d70506c317b816de9521300b0f72c8e"
1011-
integrity sha512-VacJCBTyje7HGAw7xp11q439A+zeGG0p0/p2zsZwpnMzjPB5WteaWqt4g2iysgGFafrqvyLWqq6ZPZAOCoefCw==
1008+
"@typescript-eslint/types@8.31.1":
1009+
version "8.31.1"
1010+
resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-8.31.1.tgz#478ed6f7e8aee1be7b63a60212b6bffe1423b5d4"
1011+
integrity sha512-SfepaEFUDQYRoA70DD9GtytljBePSj17qPxFHA/h3eg6lPTqGJ5mWOtbXCk1YrVU1cTJRd14nhaXWFu0l2troQ==
10121012

1013-
"@typescript-eslint/typescript-estree@8.24.0":
1014-
version "8.24.0"
1015-
resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-8.24.0.tgz#0487349be174097bb329a58273100a9629e03c6c"
1016-
integrity sha512-ITjYcP0+8kbsvT9bysygfIfb+hBj6koDsu37JZG7xrCiy3fPJyNmfVtaGsgTUSEuTzcvME5YI5uyL5LD1EV5ZQ==
1013+
"@typescript-eslint/typescript-estree@8.31.1":
1014+
version "8.31.1"
1015+
resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-8.31.1.tgz#37792fe7ef4d3021c7580067c8f1ae66daabacdf"
1016+
integrity sha512-kaA0ueLe2v7KunYOyWYtlf/QhhZb7+qh4Yw6Ni5kgukMIG+iP773tjgBiLWIXYumWCwEq3nLW+TUywEp8uEeag==
10171017
dependencies:
1018-
"@typescript-eslint/types" "8.24.0"
1019-
"@typescript-eslint/visitor-keys" "8.24.0"
1018+
"@typescript-eslint/types" "8.31.1"
1019+
"@typescript-eslint/visitor-keys" "8.31.1"
10201020
debug "^4.3.4"
10211021
fast-glob "^3.3.2"
10221022
is-glob "^4.0.3"
10231023
minimatch "^9.0.4"
10241024
semver "^7.6.0"
10251025
ts-api-utils "^2.0.1"
10261026

1027-
"@typescript-eslint/utils@8.24.0":
1028-
version "8.24.0"
1029-
resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-8.24.0.tgz#21cb1195ae79230af825bfeed59574f5cb70a749"
1030-
integrity sha512-07rLuUBElvvEb1ICnafYWr4hk8/U7X9RDCOqd9JcAMtjh/9oRmcfN4yGzbPVirgMR0+HLVHehmu19CWeh7fsmQ==
1027+
"@typescript-eslint/utils@8.31.1":
1028+
version "8.31.1"
1029+
resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-8.31.1.tgz#5628ea0393598a0b2f143d0fc6d019f0dee9dd14"
1030+
integrity sha512-2DSI4SNfF5T4oRveQ4nUrSjUqjMND0nLq9rEkz0gfGr3tg0S5KB6DhwR+WZPCjzkZl3cH+4x2ce3EsL50FubjQ==
10311031
dependencies:
10321032
"@eslint-community/eslint-utils" "^4.4.0"
1033-
"@typescript-eslint/scope-manager" "8.24.0"
1034-
"@typescript-eslint/types" "8.24.0"
1035-
"@typescript-eslint/typescript-estree" "8.24.0"
1033+
"@typescript-eslint/scope-manager" "8.31.1"
1034+
"@typescript-eslint/types" "8.31.1"
1035+
"@typescript-eslint/typescript-estree" "8.31.1"
10361036

1037-
"@typescript-eslint/visitor-keys@8.24.0":
1038-
version "8.24.0"
1039-
resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-8.24.0.tgz#36ecf0b9b1d819ad88a3bd4157ab7d594cb797c9"
1040-
integrity sha512-kArLq83QxGLbuHrTMoOEWO+l2MwsNS2TGISEdx8xgqpkbytB07XmlQyQdNDrCc1ecSqx0cnmhGvpX+VBwqqSkg==
1037+
"@typescript-eslint/visitor-keys@8.31.1":
1038+
version "8.31.1"
1039+
resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-8.31.1.tgz#6742b0e3ba1e0c1e35bdaf78c03e759eb8dd8e75"
1040+
integrity sha512-I+/rgqOVBn6f0o7NDTmAPWWC6NuqhV174lfYvAm9fUaWeiefLdux9/YI3/nLugEn9L8fcSi0XmpKi/r5u0nmpw==
10411041
dependencies:
1042-
"@typescript-eslint/types" "8.24.0"
1042+
"@typescript-eslint/types" "8.31.1"
10431043
eslint-visitor-keys "^4.2.0"
10441044

10451045
acorn-jsx@^5.3.2:
@@ -3284,9 +3284,9 @@ ts-node@^10.5.0:
32843284
v8-compile-cache-lib "^3.0.0"
32853285
yn "3.1.1"
32863286

3287-
"tsc-multi@https://github.com/stainless-api/tsc-multi/releases/download/v1.1.3/tsc-multi.tgz":
3288-
version "1.1.3"
3289-
resolved "https://github.com/stainless-api/tsc-multi/releases/download/v1.1.3/tsc-multi.tgz#8fc21fc95b247b86721b95fabfb10c6a436134c3"
3287+
"tsc-multi@https://github.com/stainless-api/tsc-multi/releases/download/v1.1.4/tsc-multi-1.1.4.tgz":
3288+
version "1.1.4"
3289+
resolved "https://github.com/stainless-api/tsc-multi/releases/download/v1.1.4/tsc-multi-1.1.4.tgz#cbed459a9e902f5295ec3daaf1c7aa3b10427e55"
32903290
dependencies:
32913291
debug "^4.3.7"
32923292
fast-glob "^3.3.2"
@@ -3335,24 +3335,24 @@ type-fest@^0.21.3:
33353335
resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.21.3.tgz#d260a24b0198436e133fa26a524a6d65fa3b2e37"
33363336
integrity sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==
33373337

3338-
typescript-eslint@^8.24.0:
3339-
version "8.24.0"
3340-
resolved "https://registry.yarnpkg.com/typescript-eslint/-/typescript-eslint-8.24.0.tgz#cc655e71885ecb8280342b422ad839a2e2e46a96"
3341-
integrity sha512-/lmv4366en/qbB32Vz5+kCNZEMf6xYHwh1z48suBwZvAtnXKbP+YhGe8OLE2BqC67LMqKkCNLtjejdwsdW6uOQ==
3338+
typescript-eslint@8.31.1:
3339+
version "8.31.1"
3340+
resolved "https://registry.yarnpkg.com/typescript-eslint/-/typescript-eslint-8.31.1.tgz#b77ab1e48ced2daab9225ff94bab54391a4af69b"
3341+
integrity sha512-j6DsEotD/fH39qKzXTQRwYYWlt7D+0HmfpOK+DVhwJOFLcdmn92hq3mBb7HlKJHbjjI/gTOqEcc9d6JfpFf/VA==
33423342
dependencies:
3343-
"@typescript-eslint/eslint-plugin" "8.24.0"
3344-
"@typescript-eslint/parser" "8.24.0"
3345-
"@typescript-eslint/utils" "8.24.0"
3343+
"@typescript-eslint/eslint-plugin" "8.31.1"
3344+
"@typescript-eslint/parser" "8.31.1"
3345+
"@typescript-eslint/utils" "8.31.1"
33463346

33473347
33483348
version "5.6.1-rc"
33493349
resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.6.1-rc.tgz#d5e4d7d8170174fed607b74cc32aba3d77018e02"
33503350
integrity sha512-E3b2+1zEFu84jB0YQi9BORDjz9+jGbwwy1Zi3G0LUNw7a7cePUrHMRNy8aPh53nXpkFGVHSxIZo5vKTfYaFiBQ==
33513351

3352-
typescript@^4.8.2:
3353-
version "4.9.5"
3354-
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.9.5.tgz#095979f9bcc0d09da324d58d03ce8f8374cbe65a"
3355-
integrity sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==
3352+
typescript@5.8.3:
3353+
version "5.8.3"
3354+
resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.8.3.tgz#92f8a3e5e3cf497356f4178c34cd65a7f5e8440e"
3355+
integrity sha512-p1diW6TqL9L07nNxvRMM7hMMw4c5XOo/1ibL4aAIGmSAt9slTE1Xgw5KWuof2uTOvCg9BY7ZRi+GaF+7sfgPeQ==
33563356

33573357
undici-types@~5.26.4:
33583358
version "5.26.5"

0 commit comments

Comments
 (0)