@shgysk8zer0/polyfills 0.3.13 → 0.3.14
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.
- package/CHANGELOG.md +5 -0
- package/all.min.js +2 -2
- package/all.min.js.map +1 -1
- package/array.js +2 -1
- package/package.json +1 -1
package/array.js
CHANGED
|
@@ -361,7 +361,8 @@ if (! (Uint8Array.fromBase64 instanceof Function)) {
|
|
|
361
361
|
// Already checked for valid `lastChunkHandling`
|
|
362
362
|
}
|
|
363
363
|
} else {
|
|
364
|
-
return new TextEncoder().encode(atob(str));
|
|
364
|
+
// return new TextEncoder().encode(atob(str));
|
|
365
|
+
return Uint8Array.from(atob(str), char => char.charCodeAt(0));
|
|
365
366
|
}
|
|
366
367
|
} else {
|
|
367
368
|
return Uint8Array.fromBase64(
|