@materializeinc/sql-lexer 26.36.0-dev.0.23257 → 26.36.0-dev.0.23258

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.
@@ -1,7 +1,7 @@
1
1
  /* @ts-self-types="./mz_sql_lexer_wasm.d.ts" */
2
-
3
2
  import * as wasm from "./mz_sql_lexer_wasm_bg.wasm";
4
3
  import { __wbg_set_wasm } from "./mz_sql_lexer_wasm_bg.js";
4
+
5
5
  __wbg_set_wasm(wasm);
6
6
  wasm.__wbindgen_start();
7
7
  export {
@@ -1,6 +1,5 @@
1
1
  export class PosToken {
2
2
  static __wrap(ptr) {
3
- ptr = ptr >>> 0;
4
3
  const obj = Object.create(PosToken.prototype);
5
4
  obj.__wbg_ptr = ptr;
6
5
  PosTokenFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -96,11 +95,11 @@ export function lex(query) {
96
95
  wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
97
96
  return v2;
98
97
  }
99
- export function __wbg_Error_83742b46f01ce22d(arg0, arg1) {
98
+ export function __wbg_Error_92b29b0548f8b746(arg0, arg1) {
100
99
  const ret = Error(getStringFromWasm0(arg0, arg1));
101
100
  return ret;
102
101
  }
103
- export function __wbg___wbindgen_throw_6ddd609b62940d55(arg0, arg1) {
102
+ export function __wbg___wbindgen_throw_344f42d3211c4765(arg0, arg1) {
104
103
  throw new Error(getStringFromWasm0(arg0, arg1));
105
104
  }
106
105
  export function __wbg_postoken_new(arg0) {
@@ -123,7 +122,7 @@ export function __wbindgen_init_externref_table() {
123
122
  }
124
123
  const PosTokenFinalization = (typeof FinalizationRegistry === 'undefined')
125
124
  ? { register: () => {}, unregister: () => {} }
126
- : new FinalizationRegistry(ptr => wasm.__wbg_postoken_free(ptr >>> 0, 1));
125
+ : new FinalizationRegistry(ptr => wasm.__wbg_postoken_free(ptr, 1));
127
126
 
128
127
  function getArrayJsValueFromWasm0(ptr, len) {
129
128
  ptr = ptr >>> 0;
@@ -145,8 +144,7 @@ function getDataViewMemory0() {
145
144
  }
146
145
 
147
146
  function getStringFromWasm0(ptr, len) {
148
- ptr = ptr >>> 0;
149
- return decodeText(ptr, len);
147
+ return decodeText(ptr >>> 0, len);
150
148
  }
151
149
 
152
150
  let cachedUint8ArrayMemory0 = null;
Binary file
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@materializeinc/sql-lexer",
3
3
  "type": "module",
4
4
  "description": "The lexer for Materialize's SQL dialect, with wasm build targets.",
5
- "version": "26.36.0-dev.0.23257",
5
+ "version": "26.36.0-dev.0.23258",
6
6
  "files": [
7
7
  "mz_sql_lexer_wasm_bg.wasm",
8
8
  "mz_sql_lexer_wasm.js",