panrelease 0.12.0 → 0.12.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/package.json +1 -1
- package/pkg/panrelease.js +26 -26
- 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
|
/**
|
|
@@ -310,20 +310,6 @@ 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
|
-
|
|
327
313
|
module.exports.__wbg_new_abda76e883ba8a5f = function() {
|
|
328
314
|
const ret = new Error();
|
|
329
315
|
return addHeapObject(ret);
|
|
@@ -349,8 +335,9 @@ module.exports.__wbg_error_f851667af71bcfc6 = function(arg0, arg1) {
|
|
|
349
335
|
}
|
|
350
336
|
};
|
|
351
337
|
|
|
352
|
-
module.exports.
|
|
353
|
-
|
|
338
|
+
module.exports.__wbindgen_error_new = function(arg0, arg1) {
|
|
339
|
+
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
340
|
+
return addHeapObject(ret);
|
|
354
341
|
};
|
|
355
342
|
|
|
356
343
|
module.exports.__wbindgen_bigint_from_i64 = function(arg0) {
|
|
@@ -363,11 +350,24 @@ module.exports.__wbindgen_bigint_from_u64 = function(arg0) {
|
|
|
363
350
|
return addHeapObject(ret);
|
|
364
351
|
};
|
|
365
352
|
|
|
366
|
-
module.exports.
|
|
353
|
+
module.exports.__wbg_set_bd72c078edfa51ad = function(arg0, arg1, arg2) {
|
|
367
354
|
getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
|
|
368
355
|
};
|
|
369
356
|
|
|
370
|
-
module.exports.
|
|
357
|
+
module.exports.__wbg_writeFileSync_895f70fb25b6eb38 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
358
|
+
writeFileSync(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3));
|
|
359
|
+
}, arguments) };
|
|
360
|
+
|
|
361
|
+
module.exports.__wbg_existsSync_a726ca5c2e9d6edd = function() { return handleError(function (arg0, arg1) {
|
|
362
|
+
const ret = existsSync(getStringFromWasm0(arg0, arg1));
|
|
363
|
+
return ret;
|
|
364
|
+
}, arguments) };
|
|
365
|
+
|
|
366
|
+
module.exports.__wbg_log_60ec10830f37296b = function(arg0, arg1) {
|
|
367
|
+
console.log(getStringFromWasm0(arg0, arg1));
|
|
368
|
+
};
|
|
369
|
+
|
|
370
|
+
module.exports.__wbg_cwd_6d4103aef4b4171b = function(arg0) {
|
|
371
371
|
const ret = cwd();
|
|
372
372
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
373
373
|
const len1 = WASM_VECTOR_LEN;
|
|
@@ -375,7 +375,7 @@ module.exports.__wbg_cwd_83a4231711e0551e = function(arg0) {
|
|
|
375
375
|
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
376
376
|
};
|
|
377
377
|
|
|
378
|
-
module.exports.
|
|
378
|
+
module.exports.__wbg_readFileSync_c24156fef4803b37 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
379
379
|
const ret = readFileSync(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
380
380
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
381
381
|
const len1 = WASM_VECTOR_LEN;
|
|
@@ -383,7 +383,7 @@ module.exports.__wbg_readFileSync_0e210f8caa2e82c1 = function() { return handleE
|
|
|
383
383
|
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
384
384
|
}, arguments) };
|
|
385
385
|
|
|
386
|
-
module.exports.
|
|
386
|
+
module.exports.__wbg_execSync_d8268e844972718d = function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
387
387
|
let deferred0_0;
|
|
388
388
|
let deferred0_1;
|
|
389
389
|
try {
|
package/pkg/panrelease_bg.wasm
CHANGED
|
Binary file
|