| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 1de9e13 commit f128008
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -192,7 +192,9 @@ if (!config.noBrowserGlobals) { | |||
| 192 | 192 | // https://url.spec.whatwg.org/#urlsearchparams | |
| 193 | 193 | exposeInterface(global, 'URLSearchParams', URLSearchParams); | |
| 194 | 194 | ||
| 195 | - const { TextEncoder, TextDecoder } = NativeModule.require('util'); | ||
| 195 | + const { | ||
| 196 | + TextEncoder, TextDecoder | ||
| 197 | + } = NativeModule.require('internal/encoding'); | ||
| 196 | 198 | // https://encoding.spec.whatwg.org/#textencoder | |
| 197 | 199 | exposeInterface(global, 'TextEncoder', TextEncoder); | |
| 198 | 200 | // https://encoding.spec.whatwg.org/#textdecoder | |
| Back | FazBrowse Home | New Git URL |
0 commit comments