{"draft":null,"from":169,"to":170,"files":[{"path":"scripts/build-client.mjs","added":6,"removed":1,"diff":"--- a/scripts/build-client.mjs\n+++ b/scripts/build-client.mjs\n@@ -43,7 +43,12 @@\n \t\t\t].join(\"\\n\"),\n \t\t},\n \t});\n-\treturn result.outputFiles[0].text;\n+\t// esbuild leaves control characters in string literals as they are (yaml's lexer has \\x02, \\x18 and \\x1f).\n+\t// Escaped, the file is plain text that every tool shows and stores as it is.\n+\treturn result.outputFiles[0].text.replace(\n+\t\t/[\\x00-\\x08\\x0b\\x0c\\x0e-\\x1f\\x7f]/g,\n+\t\t(c) => `\\\\x${c.charCodeAt(0).toString(16).padStart(2, \"0\")}`,\n+\t);\n }\n \n if (process.argv[1] && resolve(process.argv[1]) === fileURLToPath(import.meta.url)) {"}],"unmatched":[]}