Skip to content

Commit

Permalink
Workaround for node bug 56219
Browse files Browse the repository at this point in the history
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 project-chip#1516
  • Loading branch information
lauckhart committed Dec 15, 2024
1 parent 723aacb commit 2b1b783
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/general/src/codec/Base64Codec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export namespace Base64 {
}
}

return new TextDecoder("iso-8859-1").decode(out);
return new TextDecoder().decode(out);
}

/**
Expand Down

0 comments on commit 2b1b783

Please sign in to comment.