Skip to content

Commit 01bff7b

Browse files
lauckhartApollon77
andauthored
Workaround for node bug 56219 (#1522)
nodejs/node#56219 breaks our base-64 encoder. Node is off spec and should release fix quickly. Normally I wouldn't patch but in this case workaround is innocuous. Fixes #1516 Co-authored-by: Ingo Fischer <[email protected]>
1 parent 2948a38 commit 01bff7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/general/src/codec/Base64Codec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ export namespace Base64 {
7777
}
7878
}
7979

80-
return new TextDecoder("iso-8859-1").decode(out);
80+
return new TextDecoder().decode(out);
8181
}
8282

8383
/**

0 commit comments

Comments
 (0)