lody 0.70.0 → 0.70.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -2,6 +2,7 @@ import { createRequire } from "module";
|
|
|
2
2
|
import require$$1, { execFile as execFile$1, spawn } from "node:child_process";
|
|
3
3
|
import { createRequire as createRequire$1 } from "node:module";
|
|
4
4
|
import { Writable, Readable } from "node:stream";
|
|
5
|
+
import { StringDecoder } from "node:string_decoder";
|
|
5
6
|
import fs__default from "node:fs";
|
|
6
7
|
import path__default from "node:path";
|
|
7
8
|
import fs__default$1, { readFile, constants } from "node:fs/promises";
|
|
@@ -20651,8 +20652,9 @@ function createJSONRPCReader(readable) {
|
|
|
20651
20652
|
return {
|
|
20652
20653
|
listen(callback) {
|
|
20653
20654
|
let buf = "";
|
|
20655
|
+
const decoder = new StringDecoder("utf8");
|
|
20654
20656
|
const onData = (chunk) => {
|
|
20655
|
-
buf +=
|
|
20657
|
+
buf += decoder.write(chunk);
|
|
20656
20658
|
for (; ; ) {
|
|
20657
20659
|
const i = buf.indexOf("\n");
|
|
20658
20660
|
if (i < 0) break;
|
|
@@ -3,7 +3,7 @@ import { readFile, mkdir, writeFile, rename } from "node:fs/promises";
|
|
|
3
3
|
import os__default from "node:os";
|
|
4
4
|
import path__default from "node:path";
|
|
5
5
|
import process from "node:process";
|
|
6
|
-
const reviewViewerVersion = "0.70.
|
|
6
|
+
const reviewViewerVersion = "0.70.1";
|
|
7
7
|
const reviewViewerSha256 = "104f9704142897f65c7477ec9e68dccd8a109536123a4cda9b8cfb28d28ce361";
|
|
8
8
|
const reviewViewerFileName = "standalone.html";
|
|
9
9
|
const DEFAULT_CDN_BASES = ["https://cdn.jsdelivr.net/npm", "https://unpkg.com"];
|
package/dist/codex-acp.js
CHANGED