From 01412aafc126a93151e66df0a85fd233fb1f8768 Mon Sep 17 00:00:00 2001 From: Kalle <38327916+Sendouc@users.noreply.github.com> Date: Sat, 23 May 2026 07:20:41 +0300 Subject: [PATCH] Silence unhelpful Kysely log --- patches/kysely@0.29.0.patch | 12 ++++++++++++ pnpm-lock.yaml | 7 +++++-- pnpm-workspace.yaml | 2 ++ 3 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 patches/kysely@0.29.0.patch diff --git a/patches/kysely@0.29.0.patch b/patches/kysely@0.29.0.patch new file mode 100644 index 000000000..6fb170e76 --- /dev/null +++ b/patches/kysely@0.29.0.patch @@ -0,0 +1,12 @@ +diff --git a/dist/plugin/parse-json-results/parse-json-results-plugin.js b/dist/plugin/parse-json-results/parse-json-results-plugin.js +index f5d150373a5e36034044b6ba4e5840a7f7a3e725..7700d5ca3888c6ab8c8fad8494ba9dced24e258a 100644 +--- a/dist/plugin/parse-json-results/parse-json-results-plugin.js ++++ b/dist/plugin/parse-json-results/parse-json-results-plugin.js +@@ -114,7 +114,6 @@ function parseString(str, jsonPath, options) { + throw error; + } + // built-in naive heuristic should keep going despite errors given there might be false positives in detection. +- console.error(error); + return str; + } + } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 0fe58b4ce..c50180c51 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -4,6 +4,9 @@ settings: autoInstallPeers: true excludeLinksFromLockfile: false +patchedDependencies: + kysely@0.29.0: 6f395b25414c1ef852485fa3a03d2d521816064697d8c4bff337e2b24d19daa6 + importers: .: @@ -100,7 +103,7 @@ importers: version: 1.1.8 kysely: specifier: 0.29.0 - version: 0.29.0 + version: 0.29.0(patch_hash=6f395b25414c1ef852485fa3a03d2d521816064697d8c4bff337e2b24d19daa6) lru-cache: specifier: 11.3.6 version: 11.3.6 @@ -8476,7 +8479,7 @@ snapshots: - '@emnapi/core' - '@emnapi/runtime' - kysely@0.29.0: {} + kysely@0.29.0(patch_hash=6f395b25414c1ef852485fa3a03d2d521816064697d8c4bff337e2b24d19daa6): {} ley@0.8.1: dependencies: diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index b647a8802..bbee46292 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -4,3 +4,5 @@ allowBuilds: better-sqlite3: true core-js: false esbuild: true +patchedDependencies: + kysely@0.29.0: patches/kysely@0.29.0.patch