@ibearua/bitmask-core-dev 1.0.0-beta.14 → 1.0.0-beta.15
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/bitmask_core_bg.js +2 -2
- package/package.json +1 -1
package/bitmask_core_bg.js
CHANGED
|
@@ -15,7 +15,7 @@ function getUint8ArrayMemory0() {
|
|
|
15
15
|
return cachedUint8ArrayMemory0;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
const lTextEncoder =
|
|
18
|
+
const lTextEncoder = new TextEncoder('utf-8');
|
|
19
19
|
|
|
20
20
|
let cachedTextEncoder = new lTextEncoder('utf-8');
|
|
21
21
|
|
|
@@ -80,7 +80,7 @@ function getDataViewMemory0() {
|
|
|
80
80
|
return cachedDataViewMemory0;
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
const lTextDecoder =
|
|
83
|
+
const lTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
|
|
84
84
|
|
|
85
85
|
let cachedTextDecoder = new lTextDecoder('utf-8', { ignoreBOM: true, fatal: true });
|
|
86
86
|
|
package/package.json
CHANGED