panrelease 0.11.2 → 0.12.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 +1 -1
- package/pkg/panrelease.js +30 -30
- package/pkg/panrelease_bg.wasm +0 -0
package/package.json
CHANGED
package/pkg/panrelease.js
CHANGED
|
@@ -185,6 +185,12 @@ function takeObject(idx) {
|
|
|
185
185
|
function isLikeNone(x) {
|
|
186
186
|
return x === undefined || x === null;
|
|
187
187
|
}
|
|
188
|
+
/**
|
|
189
|
+
* @param {Array<any>} js_args
|
|
190
|
+
*/
|
|
191
|
+
module.exports.run = function(js_args) {
|
|
192
|
+
wasm.run(addHeapObject(js_args));
|
|
193
|
+
};
|
|
188
194
|
|
|
189
195
|
function handleError(f, args) {
|
|
190
196
|
try {
|
|
@@ -200,12 +206,6 @@ function passArray8ToWasm0(arg, malloc) {
|
|
|
200
206
|
WASM_VECTOR_LEN = arg.length;
|
|
201
207
|
return ptr;
|
|
202
208
|
}
|
|
203
|
-
/**
|
|
204
|
-
* @param {Array<any>} js_args
|
|
205
|
-
*/
|
|
206
|
-
module.exports.run = function(js_args) {
|
|
207
|
-
wasm.run(addHeapObject(js_args));
|
|
208
|
-
};
|
|
209
209
|
|
|
210
210
|
const ReifyRunArgsFinalization = new FinalizationRegistry(ptr => wasm.__wbg_reifyrunargs_free(ptr >>> 0));
|
|
211
211
|
/**
|
|
@@ -310,6 +310,20 @@ module.exports.__wbg_new0_d2a7d711adb0fe0f = function() {
|
|
|
310
310
|
return addHeapObject(ret);
|
|
311
311
|
};
|
|
312
312
|
|
|
313
|
+
module.exports.__wbindgen_error_new = function(arg0, arg1) {
|
|
314
|
+
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
315
|
+
return addHeapObject(ret);
|
|
316
|
+
};
|
|
317
|
+
|
|
318
|
+
module.exports.__wbg_writeFileSync_90cbe67c4db97235 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
319
|
+
writeFileSync(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3));
|
|
320
|
+
}, arguments) };
|
|
321
|
+
|
|
322
|
+
module.exports.__wbg_existsSync_8d2fead20520da0b = function() { return handleError(function (arg0, arg1) {
|
|
323
|
+
const ret = existsSync(getStringFromWasm0(arg0, arg1));
|
|
324
|
+
return ret;
|
|
325
|
+
}, arguments) };
|
|
326
|
+
|
|
313
327
|
module.exports.__wbg_new_abda76e883ba8a5f = function() {
|
|
314
328
|
const ret = new Error();
|
|
315
329
|
return addHeapObject(ret);
|
|
@@ -335,9 +349,8 @@ module.exports.__wbg_error_f851667af71bcfc6 = function(arg0, arg1) {
|
|
|
335
349
|
}
|
|
336
350
|
};
|
|
337
351
|
|
|
338
|
-
module.exports.
|
|
339
|
-
|
|
340
|
-
return addHeapObject(ret);
|
|
352
|
+
module.exports.__wbg_log_1cc96779338b6c07 = function(arg0, arg1) {
|
|
353
|
+
console.log(getStringFromWasm0(arg0, arg1));
|
|
341
354
|
};
|
|
342
355
|
|
|
343
356
|
module.exports.__wbindgen_bigint_from_i64 = function(arg0) {
|
|
@@ -354,20 +367,15 @@ module.exports.__wbg_set_841ac57cff3d672b = function(arg0, arg1, arg2) {
|
|
|
354
367
|
getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
|
|
355
368
|
};
|
|
356
369
|
|
|
357
|
-
module.exports.
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
return ret;
|
|
364
|
-
}, arguments) };
|
|
365
|
-
|
|
366
|
-
module.exports.__wbg_log_64ecb53a6f5850ea = function(arg0, arg1) {
|
|
367
|
-
console.log(getStringFromWasm0(arg0, arg1));
|
|
370
|
+
module.exports.__wbg_cwd_83a4231711e0551e = function(arg0) {
|
|
371
|
+
const ret = cwd();
|
|
372
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
373
|
+
const len1 = WASM_VECTOR_LEN;
|
|
374
|
+
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
375
|
+
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
368
376
|
};
|
|
369
377
|
|
|
370
|
-
module.exports.
|
|
378
|
+
module.exports.__wbg_readFileSync_0e210f8caa2e82c1 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
371
379
|
const ret = readFileSync(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
372
380
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
373
381
|
const len1 = WASM_VECTOR_LEN;
|
|
@@ -375,7 +383,7 @@ module.exports.__wbg_readFileSync_dacc5f3648bc2dab = function() { return handleE
|
|
|
375
383
|
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
376
384
|
}, arguments) };
|
|
377
385
|
|
|
378
|
-
module.exports.
|
|
386
|
+
module.exports.__wbg_execSync_cc74b6c1dd9e9633 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
379
387
|
let deferred0_0;
|
|
380
388
|
let deferred0_1;
|
|
381
389
|
try {
|
|
@@ -391,14 +399,6 @@ module.exports.__wbg_execSync_b69fc7868373590a = function() { return handleError
|
|
|
391
399
|
}
|
|
392
400
|
}, arguments) };
|
|
393
401
|
|
|
394
|
-
module.exports.__wbg_cwd_afee1b787d8a783f = function(arg0) {
|
|
395
|
-
const ret = cwd();
|
|
396
|
-
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
397
|
-
const len1 = WASM_VECTOR_LEN;
|
|
398
|
-
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
399
|
-
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
400
|
-
};
|
|
401
|
-
|
|
402
402
|
const path = require('path').join(__dirname, 'panrelease_bg.wasm');
|
|
403
403
|
const bytes = require('fs').readFileSync(path);
|
|
404
404
|
|
package/pkg/panrelease_bg.wasm
CHANGED
|
Binary file
|