float-pigment-css 0.8.2 → 0.9.8

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.
@@ -4,11 +4,11 @@
4
4
  * Serialize CSS to the binary format.
5
5
  */
6
6
  export function compileStyleSheetToBincode(filename: string, style_text: string): Uint8Array;
7
+ export function wasm_main(): void;
7
8
  /**
8
9
  * Deserialize bincode from the binary format.
9
10
  */
10
11
  export function styleSheetFromBincode(bincode: Uint8Array): StyleSheetGroup;
11
- export function wasm_main(): void;
12
12
  /**
13
13
  * A group of ordered style sheets.
14
14
  */
@@ -188,6 +188,10 @@ module.exports.compileStyleSheetToBincode = function(filename, style_text) {
188
188
  return v3;
189
189
  };
190
190
 
191
+ module.exports.wasm_main = function() {
192
+ wasm.wasm_main();
193
+ };
194
+
191
195
  function passArray8ToWasm0(arg, malloc) {
192
196
  const ptr = malloc(arg.length * 1, 1) >>> 0;
193
197
  getUint8ArrayMemory0().set(arg, ptr / 1);
@@ -206,10 +210,6 @@ module.exports.styleSheetFromBincode = function(bincode) {
206
210
  return StyleSheetGroup.__wrap(ret);
207
211
  };
208
212
 
209
- module.exports.wasm_main = function() {
210
- wasm.wasm_main();
211
- };
212
-
213
213
  function getArrayJsValueFromWasm0(ptr, len) {
214
214
  ptr = ptr >>> 0;
215
215
  const mem = getDataViewMemory0();
Binary file
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "TtTRz <romc1224@gmail.com>"
6
6
  ],
7
7
  "description": "The CSS parser for the float-pigment project.",
8
- "version": "0.8.2",
8
+ "version": "0.9.8",
9
9
  "license": "MIT",
10
10
  "repository": {
11
11
  "type": "git",