@goplasmatic/datalogic 4.0.18 → 4.0.20
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/bundler/datalogic_wasm.js +1 -1
- package/bundler/datalogic_wasm_bg.js +8 -8
- package/bundler/datalogic_wasm_bg.wasm +0 -0
- package/nodejs/datalogic_wasm.js +9 -10
- package/nodejs/datalogic_wasm_bg.wasm +0 -0
- package/package.json +1 -1
- package/web/datalogic_wasm.js +8 -9
- package/web/datalogic_wasm_bg.wasm +0 -0
|
@@ -193,10 +193,10 @@ export function evaluate_with_trace(logic, data, preserve_structure) {
|
|
|
193
193
|
export function init() {
|
|
194
194
|
wasm.init();
|
|
195
195
|
}
|
|
196
|
-
export function
|
|
196
|
+
export function __wbg___wbindgen_throw_6b64449b9b9ed33c(arg0, arg1) {
|
|
197
197
|
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
198
198
|
}
|
|
199
|
-
export function
|
|
199
|
+
export function __wbg_error_a6fa202b58aa1cd3(arg0, arg1) {
|
|
200
200
|
let deferred0_0;
|
|
201
201
|
let deferred0_1;
|
|
202
202
|
try {
|
|
@@ -207,19 +207,19 @@ export function __wbg_error_7534b8e9a36f1ab4(arg0, arg1) {
|
|
|
207
207
|
wasm.__wbindgen_export(deferred0_0, deferred0_1, 1);
|
|
208
208
|
}
|
|
209
209
|
}
|
|
210
|
-
export function
|
|
210
|
+
export function __wbg_getTime_da7c55f52b71e8c6(arg0) {
|
|
211
211
|
const ret = getObject(arg0).getTime();
|
|
212
212
|
return ret;
|
|
213
213
|
}
|
|
214
|
-
export function
|
|
214
|
+
export function __wbg_new_0_4d657201ced14de3() {
|
|
215
215
|
const ret = new Date();
|
|
216
216
|
return addHeapObject(ret);
|
|
217
217
|
}
|
|
218
|
-
export function
|
|
218
|
+
export function __wbg_new_227d7c05414eb861() {
|
|
219
219
|
const ret = new Error();
|
|
220
220
|
return addHeapObject(ret);
|
|
221
221
|
}
|
|
222
|
-
export function
|
|
222
|
+
export function __wbg_stack_3b0d974bbf31e44f(arg0, arg1) {
|
|
223
223
|
const ret = getObject(arg1).stack;
|
|
224
224
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export2, wasm.__wbindgen_export3);
|
|
225
225
|
const len1 = WASM_VECTOR_LEN;
|
|
@@ -248,7 +248,7 @@ function addHeapObject(obj) {
|
|
|
248
248
|
}
|
|
249
249
|
|
|
250
250
|
function dropObject(idx) {
|
|
251
|
-
if (idx <
|
|
251
|
+
if (idx < 1028) return;
|
|
252
252
|
heap[idx] = heap_next;
|
|
253
253
|
heap_next = idx;
|
|
254
254
|
}
|
|
@@ -276,7 +276,7 @@ function getUint8ArrayMemory0() {
|
|
|
276
276
|
|
|
277
277
|
function getObject(idx) { return heap[idx]; }
|
|
278
278
|
|
|
279
|
-
let heap = new Array(
|
|
279
|
+
let heap = new Array(1024).fill(undefined);
|
|
280
280
|
heap.push(undefined, null, true, false);
|
|
281
281
|
|
|
282
282
|
let heap_next = heap.length;
|
|
Binary file
|
package/nodejs/datalogic_wasm.js
CHANGED
|
@@ -199,14 +199,13 @@ function init() {
|
|
|
199
199
|
wasm.init();
|
|
200
200
|
}
|
|
201
201
|
exports.init = init;
|
|
202
|
-
|
|
203
202
|
function __wbg_get_imports() {
|
|
204
203
|
const import0 = {
|
|
205
204
|
__proto__: null,
|
|
206
|
-
|
|
205
|
+
__wbg___wbindgen_throw_6b64449b9b9ed33c: function(arg0, arg1) {
|
|
207
206
|
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
208
207
|
},
|
|
209
|
-
|
|
208
|
+
__wbg_error_a6fa202b58aa1cd3: function(arg0, arg1) {
|
|
210
209
|
let deferred0_0;
|
|
211
210
|
let deferred0_1;
|
|
212
211
|
try {
|
|
@@ -217,19 +216,19 @@ function __wbg_get_imports() {
|
|
|
217
216
|
wasm.__wbindgen_export(deferred0_0, deferred0_1, 1);
|
|
218
217
|
}
|
|
219
218
|
},
|
|
220
|
-
|
|
219
|
+
__wbg_getTime_da7c55f52b71e8c6: function(arg0) {
|
|
221
220
|
const ret = getObject(arg0).getTime();
|
|
222
221
|
return ret;
|
|
223
222
|
},
|
|
224
|
-
|
|
223
|
+
__wbg_new_0_4d657201ced14de3: function() {
|
|
225
224
|
const ret = new Date();
|
|
226
225
|
return addHeapObject(ret);
|
|
227
226
|
},
|
|
228
|
-
|
|
227
|
+
__wbg_new_227d7c05414eb861: function() {
|
|
229
228
|
const ret = new Error();
|
|
230
229
|
return addHeapObject(ret);
|
|
231
230
|
},
|
|
232
|
-
|
|
231
|
+
__wbg_stack_3b0d974bbf31e44f: function(arg0, arg1) {
|
|
233
232
|
const ret = getObject(arg1).stack;
|
|
234
233
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export2, wasm.__wbindgen_export3);
|
|
235
234
|
const len1 = WASM_VECTOR_LEN;
|
|
@@ -265,7 +264,7 @@ function addHeapObject(obj) {
|
|
|
265
264
|
}
|
|
266
265
|
|
|
267
266
|
function dropObject(idx) {
|
|
268
|
-
if (idx <
|
|
267
|
+
if (idx < 1028) return;
|
|
269
268
|
heap[idx] = heap_next;
|
|
270
269
|
heap_next = idx;
|
|
271
270
|
}
|
|
@@ -293,7 +292,7 @@ function getUint8ArrayMemory0() {
|
|
|
293
292
|
|
|
294
293
|
function getObject(idx) { return heap[idx]; }
|
|
295
294
|
|
|
296
|
-
let heap = new Array(
|
|
295
|
+
let heap = new Array(1024).fill(undefined);
|
|
297
296
|
heap.push(undefined, null, true, false);
|
|
298
297
|
|
|
299
298
|
let heap_next = heap.length;
|
|
@@ -365,5 +364,5 @@ let WASM_VECTOR_LEN = 0;
|
|
|
365
364
|
const wasmPath = `${__dirname}/datalogic_wasm_bg.wasm`;
|
|
366
365
|
const wasmBytes = require('fs').readFileSync(wasmPath);
|
|
367
366
|
const wasmModule = new WebAssembly.Module(wasmBytes);
|
|
368
|
-
|
|
367
|
+
let wasm = new WebAssembly.Instance(wasmModule, __wbg_get_imports()).exports;
|
|
369
368
|
wasm.__wbindgen_start();
|
|
Binary file
|
package/package.json
CHANGED
package/web/datalogic_wasm.js
CHANGED
|
@@ -195,14 +195,13 @@ export function evaluate_with_trace(logic, data, preserve_structure) {
|
|
|
195
195
|
export function init() {
|
|
196
196
|
wasm.init();
|
|
197
197
|
}
|
|
198
|
-
|
|
199
198
|
function __wbg_get_imports() {
|
|
200
199
|
const import0 = {
|
|
201
200
|
__proto__: null,
|
|
202
|
-
|
|
201
|
+
__wbg___wbindgen_throw_6b64449b9b9ed33c: function(arg0, arg1) {
|
|
203
202
|
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
204
203
|
},
|
|
205
|
-
|
|
204
|
+
__wbg_error_a6fa202b58aa1cd3: function(arg0, arg1) {
|
|
206
205
|
let deferred0_0;
|
|
207
206
|
let deferred0_1;
|
|
208
207
|
try {
|
|
@@ -213,19 +212,19 @@ function __wbg_get_imports() {
|
|
|
213
212
|
wasm.__wbindgen_export(deferred0_0, deferred0_1, 1);
|
|
214
213
|
}
|
|
215
214
|
},
|
|
216
|
-
|
|
215
|
+
__wbg_getTime_da7c55f52b71e8c6: function(arg0) {
|
|
217
216
|
const ret = getObject(arg0).getTime();
|
|
218
217
|
return ret;
|
|
219
218
|
},
|
|
220
|
-
|
|
219
|
+
__wbg_new_0_4d657201ced14de3: function() {
|
|
221
220
|
const ret = new Date();
|
|
222
221
|
return addHeapObject(ret);
|
|
223
222
|
},
|
|
224
|
-
|
|
223
|
+
__wbg_new_227d7c05414eb861: function() {
|
|
225
224
|
const ret = new Error();
|
|
226
225
|
return addHeapObject(ret);
|
|
227
226
|
},
|
|
228
|
-
|
|
227
|
+
__wbg_stack_3b0d974bbf31e44f: function(arg0, arg1) {
|
|
229
228
|
const ret = getObject(arg1).stack;
|
|
230
229
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export2, wasm.__wbindgen_export3);
|
|
231
230
|
const len1 = WASM_VECTOR_LEN;
|
|
@@ -261,7 +260,7 @@ function addHeapObject(obj) {
|
|
|
261
260
|
}
|
|
262
261
|
|
|
263
262
|
function dropObject(idx) {
|
|
264
|
-
if (idx <
|
|
263
|
+
if (idx < 1028) return;
|
|
265
264
|
heap[idx] = heap_next;
|
|
266
265
|
heap_next = idx;
|
|
267
266
|
}
|
|
@@ -289,7 +288,7 @@ function getUint8ArrayMemory0() {
|
|
|
289
288
|
|
|
290
289
|
function getObject(idx) { return heap[idx]; }
|
|
291
290
|
|
|
292
|
-
let heap = new Array(
|
|
291
|
+
let heap = new Array(1024).fill(undefined);
|
|
293
292
|
heap.push(undefined, null, true, false);
|
|
294
293
|
|
|
295
294
|
let heap_next = heap.length;
|
|
Binary file
|