1
0
mirror of https://github.com/bitwarden/directory-connector synced 2026-01-19 17:03:39 +00:00

add missing polyfils for TextEncoder & TextDecoder

This commit is contained in:
Brandon
2026-01-13 16:07:30 -05:00
parent 98484a5762
commit 5a68f7af48

View File

@@ -1,5 +1,7 @@
import { webcrypto } from "crypto";
import { TextEncoder, TextDecoder } from "util";
Object.assign(globalThis, { TextEncoder, TextDecoder });
Object.defineProperty(window, "CSS", { value: null });
Object.defineProperty(window, "getComputedStyle", {
value: () => {