@lynx-js/tasm 0.0.24 → 0.0.25

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/CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # CHANGELOG
2
2
 
3
+ # 0.0.25
4
+ * fix `Module.__malloc` not found issue. #5150
5
+
3
6
  # 0.0.24
4
7
  * Optimize the encoding process of CSS, unsupported CSS properties will not stop the encoding process.
5
8
 
Binary file
Binary file
package/lepus.d.ts CHANGED
@@ -28,6 +28,7 @@ declare namespace RuntimeExports {
28
28
  * @return {string}
29
29
  */
30
30
  function UTF8ToString(ptr: number, maxBytesToRead?: number, ignoreNul?: boolean): string;
31
+ const HEAPU8: any;
31
32
  }
32
33
  interface WasmModule {
33
34
  _quickjsCheck(_0: number): void;
@@ -37,6 +38,8 @@ interface WasmModule {
37
38
  _readBufferPool_len(_0: number, _1: number): number;
38
39
  _reencode_template_debug(_0: number, _1: number, _2: number, _3: number): number;
39
40
  _lepusCheck(_0: number, _1: number, _2: number): number;
41
+ _malloc(_0: number): number;
42
+ _free(_0: number): void;
40
43
  }
41
44
 
42
45
  type EmbindString = ArrayBuffer|Uint8Array|Uint8ClampedArray|Int8Array|string;