We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f88a7b commit a2f7067Copy full SHA for a2f7067
lib/loader/index.js
@@ -47,7 +47,7 @@ function getStringImpl(buffer, ptr) {
47
const wtf16 = new Uint16Array(buffer, ptr, len);
48
if (len <= STRING_SMALLSIZE) return String.fromCharCode.apply(String, wtf16);
49
try {
50
- return utf16.decode(wtf16, { fatal: true });
+ return utf16.decode(wtf16);
51
} catch {
52
let str = "";
53
let off = 0;
0 commit comments