@materializeinc/sql-parser 26.36.0-dev.0.23257 → 26.36.0-dev.0.23259
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/LICENSE +2 -2
- package/mz_sql_parser_wasm.js +1 -1
- package/mz_sql_parser_wasm_bg.js +6 -10
- package/mz_sql_parser_wasm_bg.wasm +0 -0
- package/package.json +1 -1
package/LICENSE
CHANGED
|
@@ -13,7 +13,7 @@ Business Source License 1.1
|
|
|
13
13
|
|
|
14
14
|
Licensor: Materialize, Inc.
|
|
15
15
|
|
|
16
|
-
Licensed Work: Materialize Version
|
|
16
|
+
Licensed Work: Materialize Version 20260727
|
|
17
17
|
The Licensed Work is © 2026 Materialize, Inc.
|
|
18
18
|
|
|
19
19
|
Additional Use Grant: Within a single installation of the Licensed Work,
|
|
@@ -39,7 +39,7 @@ Additional Use Grant: Within a single installation of the Licensed Work,
|
|
|
39
39
|
whose definitions are controlled by such third
|
|
40
40
|
parties.
|
|
41
41
|
|
|
42
|
-
Change Date: July
|
|
42
|
+
Change Date: July 27, 2030
|
|
43
43
|
|
|
44
44
|
Change License: Apache License, Version 2.0
|
|
45
45
|
|
package/mz_sql_parser_wasm.js
CHANGED
package/mz_sql_parser_wasm_bg.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
export class ParseError {
|
|
2
2
|
static __wrap(ptr) {
|
|
3
|
-
ptr = ptr >>> 0;
|
|
4
3
|
const obj = Object.create(ParseError.prototype);
|
|
5
4
|
obj.__wbg_ptr = ptr;
|
|
6
5
|
ParseErrorFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -66,7 +65,6 @@ if (Symbol.dispose) ParseError.prototype[Symbol.dispose] = ParseError.prototype.
|
|
|
66
65
|
|
|
67
66
|
export class ParseResult {
|
|
68
67
|
static __wrap(ptr) {
|
|
69
|
-
ptr = ptr >>> 0;
|
|
70
68
|
const obj = Object.create(ParseResult.prototype);
|
|
71
69
|
obj.__wbg_ptr = ptr;
|
|
72
70
|
ParseResultFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -126,7 +124,6 @@ if (Symbol.dispose) ParseResult.prototype[Symbol.dispose] = ParseResult.prototyp
|
|
|
126
124
|
|
|
127
125
|
export class ParsedStatement {
|
|
128
126
|
static __wrap(ptr) {
|
|
129
|
-
ptr = ptr >>> 0;
|
|
130
127
|
const obj = Object.create(ParsedStatement.prototype);
|
|
131
128
|
obj.__wbg_ptr = ptr;
|
|
132
129
|
ParsedStatementFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -287,11 +284,11 @@ export function parse(sql) {
|
|
|
287
284
|
const ret = wasm.parse(ptr0, len0);
|
|
288
285
|
return ParseResult.__wrap(ret);
|
|
289
286
|
}
|
|
290
|
-
export function
|
|
287
|
+
export function __wbg_Error_92b29b0548f8b746(arg0, arg1) {
|
|
291
288
|
const ret = Error(getStringFromWasm0(arg0, arg1));
|
|
292
289
|
return ret;
|
|
293
290
|
}
|
|
294
|
-
export function
|
|
291
|
+
export function __wbg___wbindgen_throw_344f42d3211c4765(arg0, arg1) {
|
|
295
292
|
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
296
293
|
}
|
|
297
294
|
export function __wbg_parsedstatement_new(arg0) {
|
|
@@ -313,13 +310,13 @@ export function __wbindgen_init_externref_table() {
|
|
|
313
310
|
}
|
|
314
311
|
const ParseErrorFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
315
312
|
? { register: () => {}, unregister: () => {} }
|
|
316
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_parseerror_free(ptr
|
|
313
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_parseerror_free(ptr, 1));
|
|
317
314
|
const ParseResultFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
318
315
|
? { register: () => {}, unregister: () => {} }
|
|
319
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_parseresult_free(ptr
|
|
316
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_parseresult_free(ptr, 1));
|
|
320
317
|
const ParsedStatementFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
321
318
|
? { register: () => {}, unregister: () => {} }
|
|
322
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_parsedstatement_free(ptr
|
|
319
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_parsedstatement_free(ptr, 1));
|
|
323
320
|
|
|
324
321
|
function addToExternrefTable0(obj) {
|
|
325
322
|
const idx = wasm.__externref_table_alloc();
|
|
@@ -347,8 +344,7 @@ function getDataViewMemory0() {
|
|
|
347
344
|
}
|
|
348
345
|
|
|
349
346
|
function getStringFromWasm0(ptr, len) {
|
|
350
|
-
|
|
351
|
-
return decodeText(ptr, len);
|
|
347
|
+
return decodeText(ptr >>> 0, len);
|
|
352
348
|
}
|
|
353
349
|
|
|
354
350
|
let cachedUint8ArrayMemory0 = null;
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@materializeinc/sql-parser",
|
|
3
3
|
"type": "module",
|
|
4
4
|
"description": "The parser for Materialize's SQL dialect, with wasm build targets.",
|
|
5
|
-
"version": "26.36.0-dev.0.
|
|
5
|
+
"version": "26.36.0-dev.0.23259",
|
|
6
6
|
"files": [
|
|
7
7
|
"mz_sql_parser_wasm_bg.wasm",
|
|
8
8
|
"mz_sql_parser_wasm.js",
|