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:
@@ -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: () => {
|
||||
|
||||
Reference in New Issue
Block a user