diff options
author | 2023-01-10 15:29:06 +0100 | |
---|---|---|
committer | 2023-01-10 15:29:06 +0100 | |
commit | c55fbcb8edca1fe118a44f68c9f9436a4719d171 (patch) | |
tree | 2bde21dfe19aee8a984a3f5b678b2ee6603876da /packages/webapi/src/lib/Base64.ts | |
parent | cf5dc2adae04c1ab3fcf95bb2426e82733737852 (diff) | |
download | astro-c55fbcb8edca1fe118a44f68c9f9436a4719d171.tar.gz astro-c55fbcb8edca1fe118a44f68c9f9436a4719d171.tar.zst astro-c55fbcb8edca1fe118a44f68c9f9436a4719d171.zip |
Remove more unnecessary polyfills from webapi for Node 16 (#5814)
* feat(webapi): Remove unnecessary polyfills now that we dropped support for Node 14
* feat(webapi): Removed more unnecessary polyfills for Node 16
* chore: changeset
Diffstat (limited to 'packages/webapi/src/lib/Base64.ts')
-rw-r--r-- | packages/webapi/src/lib/Base64.ts | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/packages/webapi/src/lib/Base64.ts b/packages/webapi/src/lib/Base64.ts deleted file mode 100644 index 593c56ae0..000000000 --- a/packages/webapi/src/lib/Base64.ts +++ /dev/null @@ -1,7 +0,0 @@ -export function atob(data: string): string { - return Buffer.from(data, 'base64').toString('binary') -} - -export function btoa(data: string): string { - return Buffer.from(data, 'binary').toString('base64') -} |