@vizejs/wasm 0.287.0 → 0.288.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vizejs/wasm",
3
- "version": "0.287.0",
3
+ "version": "0.288.0",
4
4
  "description": "Vize WASM bindings for browser environments",
5
5
  "homepage": "https://github.com/ubugeeei-prod/vize",
6
6
  "bugs": {
package/vize_vitrine.d.ts CHANGED
@@ -27,7 +27,7 @@ export class Compiler {
27
27
  /**
28
28
  * Parse template to AST
29
29
  */
30
- parse(template: string, _options: any): any;
30
+ parse(template: string, options: any): any;
31
31
  /**
32
32
  * Parse CSS into a serialized LightningCSS AST.
33
33
  */
package/vize_vitrine.js CHANGED
@@ -83,13 +83,13 @@ export class Compiler {
83
83
  /**
84
84
  * Parse template to AST
85
85
  * @param {string} template
86
- * @param {any} _options
86
+ * @param {any} options
87
87
  * @returns {any}
88
88
  */
89
- parse(template, _options) {
89
+ parse(template, options) {
90
90
  const ptr0 = passStringToWasm0(template, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
91
91
  const len0 = WASM_VECTOR_LEN;
92
- const ret = wasm.compiler_parse(this.__wbg_ptr, ptr0, len0, _options);
92
+ const ret = wasm.compiler_parse(this.__wbg_ptr, ptr0, len0, options);
93
93
  if (ret[2]) {
94
94
  throw takeFromExternrefTable0(ret[1]);
95
95
  }
Binary file