panrelease 0.11.3 → 0.12.1
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 +29 -29
- package/pkg/panrelease_bg.wasm +0 -0
package/package.json
CHANGED
package/pkg/panrelease.js
CHANGED
|
@@ -185,12 +185,6 @@ 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
|
-
};
|
|
194
188
|
|
|
195
189
|
function handleError(f, args) {
|
|
196
190
|
try {
|
|
@@ -206,6 +200,12 @@ function passArray8ToWasm0(arg, malloc) {
|
|
|
206
200
|
WASM_VECTOR_LEN = arg.length;
|
|
207
201
|
return ptr;
|
|
208
202
|
}
|
|
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
|
/**
|
|
@@ -315,33 +315,15 @@ module.exports.__wbindgen_error_new = function(arg0, arg1) {
|
|
|
315
315
|
return addHeapObject(ret);
|
|
316
316
|
};
|
|
317
317
|
|
|
318
|
-
module.exports.
|
|
318
|
+
module.exports.__wbg_writeFileSync_1caff8de11390f3d = function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
319
319
|
writeFileSync(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3));
|
|
320
320
|
}, arguments) };
|
|
321
321
|
|
|
322
|
-
module.exports.
|
|
322
|
+
module.exports.__wbg_existsSync_bb1028e809e4fb0a = function() { return handleError(function (arg0, arg1) {
|
|
323
323
|
const ret = existsSync(getStringFromWasm0(arg0, arg1));
|
|
324
324
|
return ret;
|
|
325
325
|
}, arguments) };
|
|
326
326
|
|
|
327
|
-
module.exports.__wbg_log_79c592926e6ae811 = function(arg0, arg1) {
|
|
328
|
-
console.log(getStringFromWasm0(arg0, arg1));
|
|
329
|
-
};
|
|
330
|
-
|
|
331
|
-
module.exports.__wbindgen_bigint_from_i64 = function(arg0) {
|
|
332
|
-
const ret = arg0;
|
|
333
|
-
return addHeapObject(ret);
|
|
334
|
-
};
|
|
335
|
-
|
|
336
|
-
module.exports.__wbindgen_bigint_from_u64 = function(arg0) {
|
|
337
|
-
const ret = BigInt.asUintN(64, arg0);
|
|
338
|
-
return addHeapObject(ret);
|
|
339
|
-
};
|
|
340
|
-
|
|
341
|
-
module.exports.__wbg_set_841ac57cff3d672b = function(arg0, arg1, arg2) {
|
|
342
|
-
getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
|
|
343
|
-
};
|
|
344
|
-
|
|
345
327
|
module.exports.__wbg_new_abda76e883ba8a5f = function() {
|
|
346
328
|
const ret = new Error();
|
|
347
329
|
return addHeapObject(ret);
|
|
@@ -367,7 +349,11 @@ module.exports.__wbg_error_f851667af71bcfc6 = function(arg0, arg1) {
|
|
|
367
349
|
}
|
|
368
350
|
};
|
|
369
351
|
|
|
370
|
-
module.exports.
|
|
352
|
+
module.exports.__wbg_log_fbe18a741a9f2c25 = function(arg0, arg1) {
|
|
353
|
+
console.log(getStringFromWasm0(arg0, arg1));
|
|
354
|
+
};
|
|
355
|
+
|
|
356
|
+
module.exports.__wbg_readFileSync_0e0b7cd114631550 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
371
357
|
const ret = readFileSync(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
372
358
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
373
359
|
const len1 = WASM_VECTOR_LEN;
|
|
@@ -375,7 +361,7 @@ module.exports.__wbg_readFileSync_2c0664f01ce87ab5 = function() { return handleE
|
|
|
375
361
|
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
376
362
|
}, arguments) };
|
|
377
363
|
|
|
378
|
-
module.exports.
|
|
364
|
+
module.exports.__wbg_execSync_217ba9c2dabcaeb4 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
379
365
|
let deferred0_0;
|
|
380
366
|
let deferred0_1;
|
|
381
367
|
try {
|
|
@@ -391,7 +377,21 @@ module.exports.__wbg_execSync_0ebe03bda3e97091 = function() { return handleError
|
|
|
391
377
|
}
|
|
392
378
|
}, arguments) };
|
|
393
379
|
|
|
394
|
-
module.exports.
|
|
380
|
+
module.exports.__wbindgen_bigint_from_i64 = function(arg0) {
|
|
381
|
+
const ret = arg0;
|
|
382
|
+
return addHeapObject(ret);
|
|
383
|
+
};
|
|
384
|
+
|
|
385
|
+
module.exports.__wbindgen_bigint_from_u64 = function(arg0) {
|
|
386
|
+
const ret = BigInt.asUintN(64, arg0);
|
|
387
|
+
return addHeapObject(ret);
|
|
388
|
+
};
|
|
389
|
+
|
|
390
|
+
module.exports.__wbg_set_bd72c078edfa51ad = function(arg0, arg1, arg2) {
|
|
391
|
+
getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
|
|
392
|
+
};
|
|
393
|
+
|
|
394
|
+
module.exports.__wbg_cwd_c2807434f3b80c0e = function(arg0) {
|
|
395
395
|
const ret = cwd();
|
|
396
396
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
397
397
|
const len1 = WASM_VECTOR_LEN;
|
package/pkg/panrelease_bg.wasm
CHANGED
|
Binary file
|