Skip to content

Commit 20195c2

Browse files
committed
FIx
1 parent f260d3e commit 20195c2

4 files changed

Lines changed: 88 additions & 2 deletions

File tree

eslint.config.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ export default [{
2222
"scripts/generator-adapter",
2323
"**/.yarn",
2424
"**/.vscode",
25+
"**/srcdocs",
2526
],
2627
}, ...compat.extends("eslint:recommended", "plugin:@typescript-eslint/recommended", "prettier"), {
2728
plugins: {

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@
3737
"create-external-adapter": "adapter-generator.js"
3838
},
3939
"devDependencies": {
40+
"@eslint/eslintrc": "3.3.5",
41+
"@eslint/js": "10.0.1",
4042
"@sinonjs/fake-timers": "15.3.2",
4143
"@types/node": "24.12.2",
4244
"@types/sinonjs__fake-timers": "15.0.1",

src/util/logger.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ export const loggingContextMiddleware = (
217217
// Obj is typed as "any" because it could be a variety of structures in the logger
218218
// eslint-disable-next-line @typescript-eslint/no-explicit-any
219219
export function censor(obj: any, censorList: CensorKeyValue[], throwOnError = false) {
220-
let stringified: string | undefined = ''
220+
let stringified: string | undefined
221221
try {
222222
// JSON.stringify(obj) will fail if obj contains a circular reference.
223223
// If it fails, we fall back to replacing it with "[Unknown]".

yarn.lock

Lines changed: 84 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,26 @@
5454
dependencies:
5555
"@types/json-schema" "^7.0.15"
5656

57+
"@eslint/eslintrc@3.3.5":
58+
version "3.3.5"
59+
resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-3.3.5.tgz#c131793cfc1a7b96f24a83e0a8bbd4b881558c60"
60+
integrity sha512-4IlJx0X0qftVsN5E+/vGujTRIFtwuLbNsVUe7TO6zYPDR1O6nFwvwhIKEKSrl6dZchmYBITazxKoUYOjdtjlRg==
61+
dependencies:
62+
ajv "^6.14.0"
63+
debug "^4.3.2"
64+
espree "^10.0.1"
65+
globals "^14.0.0"
66+
ignore "^5.2.0"
67+
import-fresh "^3.2.1"
68+
js-yaml "^4.1.1"
69+
minimatch "^3.1.5"
70+
strip-json-comments "^3.1.1"
71+
72+
"@eslint/js@10.0.1":
73+
version "10.0.1"
74+
resolved "https://registry.yarnpkg.com/@eslint/js/-/js-10.0.1.tgz#1e8a876f50117af8ab67e47d5ad94d38d6622583"
75+
integrity sha512-zeR9k5pd4gxjZ0abRoIaxdc7I3nDktoXZk2qOv9gCNWx3mVwEn32VRhyLaRsDiJjTs0xq/T8mfPtyuXu7GWBcA==
76+
5777
"@eslint/object-schema@^3.0.5":
5878
version "3.0.5"
5979
resolved "https://registry.yarnpkg.com/@eslint/object-schema/-/object-schema-3.0.5.tgz#88e9bf4d11d2b19c082e78ebe7ce88724a5eb091"
@@ -608,7 +628,7 @@ acorn@^8.11.0, acorn@^8.4.1, acorn@^8.6.0:
608628
resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.15.0.tgz#a360898bc415edaac46c8241f6383975b930b816"
609629
integrity sha512-NZyJarBfL7nWwIq+FDL6Zp/yHEhePMNnnJ0y3qfieCrmNvYct8uvtiV41UvlSe6apAfk0fY1FbWx+NwfmpvtTg==
610630

611-
acorn@^8.16.0:
631+
acorn@^8.15.0, acorn@^8.16.0:
612632
version "8.16.0"
613633
resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.16.0.tgz#4ce79c89be40afe7afe8f3adb902a1f1ce9ac08a"
614634
integrity sha512-UVJyE9MttOsBQIDKw1skb9nAwQuR5wuGD3+82K6JgJlm/Y+KI92oNsMNGZCYdDsVtRHSak0pcV5Dno5+4jh9sw==
@@ -893,6 +913,11 @@ call-bind-apply-helpers@^1.0.1, call-bind-apply-helpers@^1.0.2:
893913
es-errors "^1.3.0"
894914
function-bind "^1.1.2"
895915

916+
callsites@^3.0.0:
917+
version "3.1.0"
918+
resolved "https://registry.yarnpkg.com/callsites/-/callsites-3.1.0.tgz#b3630abd8943432f54b3f0519238e33cd7df2f73"
919+
integrity sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==
920+
896921
callsites@^4.2.0:
897922
version "4.2.0"
898923
resolved "https://registry.yarnpkg.com/callsites/-/callsites-4.2.0.tgz#98761d5be3ce092e4b9c92f7fb8c8eb9b83cadc8"
@@ -1240,6 +1265,11 @@ eslint-visitor-keys@^3.4.3:
12401265
resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz#0cd72fe8550e3c2eae156a96a4dddcd1c8ac5800"
12411266
integrity sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==
12421267

1268+
eslint-visitor-keys@^4.2.1:
1269+
version "4.2.1"
1270+
resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-4.2.1.tgz#4cfea60fe7dd0ad8e816e1ed026c1d5251b512c1"
1271+
integrity sha512-Uhdk5sfqcee/9H/rCOJikYz67o0a2Tw2hGRPOG2Y1R2dg7brRe1uG0yaNQDHu+TO/uQPF/5eCapvYSmHUjt7JQ==
1272+
12431273
eslint-visitor-keys@^5.0.0, eslint-visitor-keys@^5.0.1:
12441274
version "5.0.1"
12451275
resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-5.0.1.tgz#9e3c9489697824d2d4ce3a8ad12628f91e9f59be"
@@ -1281,6 +1311,15 @@ eslint@10.2.1:
12811311
natural-compare "^1.4.0"
12821312
optionator "^0.9.3"
12831313

1314+
espree@^10.0.1:
1315+
version "10.4.0"
1316+
resolved "https://registry.yarnpkg.com/espree/-/espree-10.4.0.tgz#d54f4949d4629005a1fa168d937c3ff1f7e2a837"
1317+
integrity sha512-j6PAQ2uUr79PZhBjP5C5fhl8e39FmRnOjsD5lGnWrFU8i2G776tBK7+nP8KuQUTTyAZUwfQqXAgrVH5MbH9CYQ==
1318+
dependencies:
1319+
acorn "^8.15.0"
1320+
acorn-jsx "^5.3.2"
1321+
eslint-visitor-keys "^4.2.1"
1322+
12841323
espree@^11.2.0:
12851324
version "11.2.0"
12861325
resolved "https://registry.yarnpkg.com/espree/-/espree-11.2.0.tgz#01d5e47dc332aaba3059008362454a8cc34ccaa5"
@@ -1613,6 +1652,11 @@ glob@^7.1.3:
16131652
once "^1.3.0"
16141653
path-is-absolute "^1.0.0"
16151654

1655+
globals@^14.0.0:
1656+
version "14.0.0"
1657+
resolved "https://registry.yarnpkg.com/globals/-/globals-14.0.0.tgz#898d7413c29babcf6bafe56fcadded858ada724e"
1658+
integrity sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ==
1659+
16161660
globby@^16.1.1:
16171661
version "16.1.1"
16181662
resolved "https://registry.yarnpkg.com/globby/-/globby-16.1.1.tgz#a26012f57b819f0491c834dbf09f89b0ce6ba104"
@@ -1692,6 +1736,14 @@ ignore@^7.0.5:
16921736
resolved "https://registry.yarnpkg.com/ignore/-/ignore-7.0.5.tgz#4cb5f6cd7d4c7ab0365738c7aea888baa6d7efd9"
16931737
integrity sha512-Hs59xBNfUIunMFgWAbGX5cq6893IbWg4KnrjbYwX3tx0ztorVgTDA6B2sxf8ejHJ4wz8BqGUMYlnzNBer5NvGg==
16941738

1739+
import-fresh@^3.2.1:
1740+
version "3.3.1"
1741+
resolved "https://registry.yarnpkg.com/import-fresh/-/import-fresh-3.3.1.tgz#9cecb56503c0ada1f2741dbbd6546e4b13b57ccf"
1742+
integrity sha512-TR3KfrTZTYLPB6jUjfx6MF9WcWrHL9su5TObK4ZkYgBdWKPOFoSoQIdEuTuR82pmtxH2spWG9h6etwfr1pLBqQ==
1743+
dependencies:
1744+
parent-module "^1.0.0"
1745+
resolve-from "^4.0.0"
1746+
16951747
imurmurhash@^0.1.4:
16961748
version "0.1.4"
16971749
resolved "https://registry.yarnpkg.com/imurmurhash/-/imurmurhash-0.1.4.tgz#9218b9b2b928a238b13dc4fb6b6d576f231453ea"
@@ -1858,6 +1910,13 @@ js-yaml@^3.14.1:
18581910
argparse "^1.0.7"
18591911
esprima "^4.0.0"
18601912

1913+
js-yaml@^4.1.1:
1914+
version "4.1.1"
1915+
resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-4.1.1.tgz#854c292467705b699476e1a2decc0c8a3458806b"
1916+
integrity sha512-qQKT4zQxXl8lLwBtHMWwaTcGfFOZviOJet3Oy/xmGk2gZH677CJM9EvtfdSkgWcATZhj/55JZ0rmy3myCT5lsA==
1917+
dependencies:
1918+
argparse "^2.0.1"
1919+
18611920
json-buffer@3.0.1:
18621921
version "3.0.1"
18631922
resolved "https://registry.yarnpkg.com/json-buffer/-/json-buffer-3.0.1.tgz#9338802a30d3b6605fbe0613e094008ca8c05a13"
@@ -2059,6 +2118,13 @@ minimatch@^3.1.1:
20592118
dependencies:
20602119
brace-expansion "^1.1.7"
20612120

2121+
minimatch@^3.1.5:
2122+
version "3.1.5"
2123+
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.1.5.tgz#580c88f8d5445f2bd6aa8f3cadefa0de79fbd69e"
2124+
integrity sha512-VgjWUsnnT6n+NUk6eZq77zeFdpW2LWDzP6zFGrCbHXiYNul5Dzqk2HHQ5uFH2DNW5Xbp8+jVzaeNt94ssEEl4w==
2125+
dependencies:
2126+
brace-expansion "^1.1.7"
2127+
20622128
minimist@^1.2.6:
20632129
version "1.2.8"
20642130
resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.8.tgz#c1a464e7693302e082a075cee0c057741ac4772c"
@@ -2191,6 +2257,13 @@ package-config@^5.0.0:
21912257
find-up-simple "^1.0.0"
21922258
load-json-file "^7.0.1"
21932259

2260+
parent-module@^1.0.0:
2261+
version "1.0.1"
2262+
resolved "https://registry.yarnpkg.com/parent-module/-/parent-module-1.0.1.tgz#691d2709e78c79fae3a156622452d00762caaaa2"
2263+
integrity sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==
2264+
dependencies:
2265+
callsites "^3.0.0"
2266+
21942267
parse-ms@^4.0.0:
21952268
version "4.0.0"
21962269
resolved "https://registry.yarnpkg.com/parse-ms/-/parse-ms-4.0.0.tgz#c0c058edd47c2a590151a718990533fd62803df4"
@@ -2405,6 +2478,11 @@ resolve-cwd@^3.0.0:
24052478
dependencies:
24062479
resolve-from "^5.0.0"
24072480

2481+
resolve-from@^4.0.0:
2482+
version "4.0.0"
2483+
resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-4.0.0.tgz#4abcd852ad32dd7baabfe9b40e00a36db5f392e6"
2484+
integrity sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==
2485+
24082486
resolve-from@^5.0.0:
24092487
version "5.0.0"
24102488
resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-5.0.0.tgz#c35225843df8f776df21c57557bc087e9dfdfc69"
@@ -2611,6 +2689,11 @@ strip-json-comments@^2.0.0:
26112689
resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-2.0.1.tgz#3c531942e908c2697c0ec344858c286c7ca0a60a"
26122690
integrity sha512-4gB8na07fecVVkOI6Rs4e7T6NOTki5EmL7TUduTs6bu3EdnSycntVJ4re8kgZA+wx9IueI2Y11bfbgwtzuE0KQ==
26132691

2692+
strip-json-comments@^3.1.1:
2693+
version "3.1.1"
2694+
resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-3.1.1.tgz#31f1281b3832630434831c310c01cccda8cbe006"
2695+
integrity sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==
2696+
26142697
strip-json-comments@^5.0.2:
26152698
version "5.0.3"
26162699
resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-5.0.3.tgz#b7304249dd402ee67fd518ada993ab3593458bcf"

0 commit comments

Comments
 (0)