bq2cst 0.5.0 → 0.5.2

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/bq2cst.d.ts CHANGED
@@ -98,6 +98,7 @@ export type UnknownNode =
98
98
  | PivotOperator
99
99
  | PivotConfig
100
100
  | RaiseStatement
101
+ | RangeLiteral
101
102
  | RenameColumnClause
102
103
  | RepeatStatement
103
104
  | RevokeStatement
@@ -866,7 +867,7 @@ export type GroupByExprs = BaseNode & {
866
867
  children: {
867
868
  by: NodeChild;
868
869
  how?: NodeVecChild;
869
- exprs: { NodeVec: Expr[] & UnknownNode[] };
870
+ exprs?: { NodeVec: Expr[] & UnknownNode[] };
870
871
  };
871
872
  };
872
873
 
@@ -1167,6 +1168,13 @@ export type RaiseStatement = XXXStatement & {
1167
1168
  };
1168
1169
  };
1169
1170
 
1171
+ export type RangeLiteral = Expr & {
1172
+ node_type: "RangeLiteral";
1173
+ children: {
1174
+ type: NodeChild;
1175
+ };
1176
+ };
1177
+
1170
1178
  export type RenameColumnClause = BaseNode & {
1171
1179
  token: Token;
1172
1180
  node_type: "RenameColumnClause";
package/bq2cst.js CHANGED
@@ -164,6 +164,7 @@ function passStringToWasm0(arg, malloc, realloc) {
164
164
  const ret = encodeString(arg, view);
165
165
 
166
166
  offset += ret.written;
167
+ ptr = realloc(ptr, len, offset, 1) >>> 0;
167
168
  }
168
169
 
169
170
  WASM_VECTOR_LEN = offset;
@@ -281,21 +282,21 @@ module.exports.__wbindgen_string_new = function(arg0, arg1) {
281
282
  return addHeapObject(ret);
282
283
  };
283
284
 
284
- module.exports.__wbg_set_9182712abebf82ef = function(arg0, arg1, arg2) {
285
+ module.exports.__wbg_set_2e973e6a06d4c5c3 = function(arg0, arg1, arg2) {
285
286
  getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
286
287
  };
287
288
 
288
- module.exports.__wbg_new_1d9a920c6bfc44a8 = function() {
289
+ module.exports.__wbg_new_75208e29bddfd88c = function() {
289
290
  const ret = new Array();
290
291
  return addHeapObject(ret);
291
292
  };
292
293
 
293
- module.exports.__wbg_new_268f7b7dd3430798 = function() {
294
+ module.exports.__wbg_new_d1cc518eff6805bb = function() {
294
295
  const ret = new Map();
295
296
  return addHeapObject(ret);
296
297
  };
297
298
 
298
- module.exports.__wbg_new_0b9bfdd97583284e = function() {
299
+ module.exports.__wbg_new_632630b5cec17f21 = function() {
299
300
  const ret = new Object();
300
301
  return addHeapObject(ret);
301
302
  };
@@ -305,11 +306,11 @@ module.exports.__wbindgen_is_string = function(arg0) {
305
306
  return ret;
306
307
  };
307
308
 
308
- module.exports.__wbg_set_a68214f35c417fa9 = function(arg0, arg1, arg2) {
309
+ module.exports.__wbg_set_79c308ecd9a1d091 = function(arg0, arg1, arg2) {
309
310
  getObject(arg0)[arg1 >>> 0] = takeObject(arg2);
310
311
  };
311
312
 
312
- module.exports.__wbg_set_933729cf5b66ac11 = function(arg0, arg1, arg2) {
313
+ module.exports.__wbg_set_e4cfc2763115ffc7 = function(arg0, arg1, arg2) {
313
314
  const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
314
315
  return addHeapObject(ret);
315
316
  };
package/bq2cst_bg.wasm CHANGED
Binary file
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "collaborators": [
4
4
  "kitta65 <skndr666m1@gmail.com>"
5
5
  ],
6
- "version": "0.5.0",
6
+ "version": "0.5.2",
7
7
  "license": "MIT",
8
8
  "files": [
9
9
  "bq2cst_bg.wasm",