ndjson parsing: ingore invalid JSON lines (#544)

use parse function from https://github.com/mash/fetch-ndjson but add
try/catch to ignore pages with invalid JSON
This commit is contained in:
Ilya Kreymer
2026-08-11 13:00:28 -07:00
committed by GitHub
parent 71f2a65479
commit 7123eedee3
3 changed files with 46 additions and 11 deletions
-1
View File
@@ -26,7 +26,6 @@
"bulma": "^0.9.3",
"electron-log": "^4.4.1",
"electron-updater": "^6.8.9",
"fetch-ndjson": "^1.1.6",
"flexsearch": "^0.7.31",
"keyword-mark-element": "^0.2.0",
"lit": "3.1.1",