mirror of
https://github.com/SukkaW/Surge.git
synced 2026-07-29 18:11:46 +08:00
Refactor: migrate to hntrie
This commit is contained in:
@@ -30,6 +30,7 @@ export const createReadlineInterfaceFromResponse: ((resp: UndiciResponseData | U
|
||||
}
|
||||
|
||||
const resultStream = webStream
|
||||
// @ts-expect-error -- mismatched Node.js and web types
|
||||
.pipeThrough(new TextDecoderStream())
|
||||
.pipeThrough(new TextLineStream({ skipEmptyLines: processLine }));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user