panrelease 0.11.2 → 0.11.3
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 +41 -41
- 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,34 +310,22 @@ module.exports.__wbg_new0_d2a7d711adb0fe0f = function() {
|
|
|
310
310
|
return addHeapObject(ret);
|
|
311
311
|
};
|
|
312
312
|
|
|
313
|
-
module.exports.
|
|
314
|
-
const ret = new Error();
|
|
313
|
+
module.exports.__wbindgen_error_new = function(arg0, arg1) {
|
|
314
|
+
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
315
315
|
return addHeapObject(ret);
|
|
316
316
|
};
|
|
317
317
|
|
|
318
|
-
module.exports.
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
const len1 = WASM_VECTOR_LEN;
|
|
322
|
-
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
323
|
-
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
324
|
-
};
|
|
318
|
+
module.exports.__wbg_writeFileSync_a4dff4dc2a74734d = function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
319
|
+
writeFileSync(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3));
|
|
320
|
+
}, arguments) };
|
|
325
321
|
|
|
326
|
-
module.exports.
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
deferred0_0 = arg0;
|
|
331
|
-
deferred0_1 = arg1;
|
|
332
|
-
console.error(getStringFromWasm0(arg0, arg1));
|
|
333
|
-
} finally {
|
|
334
|
-
wasm.__wbindgen_free(deferred0_0, deferred0_1);
|
|
335
|
-
}
|
|
336
|
-
};
|
|
322
|
+
module.exports.__wbg_existsSync_ab83f5f9e0ce73bf = function() { return handleError(function (arg0, arg1) {
|
|
323
|
+
const ret = existsSync(getStringFromWasm0(arg0, arg1));
|
|
324
|
+
return ret;
|
|
325
|
+
}, arguments) };
|
|
337
326
|
|
|
338
|
-
module.exports.
|
|
339
|
-
|
|
340
|
-
return addHeapObject(ret);
|
|
327
|
+
module.exports.__wbg_log_79c592926e6ae811 = function(arg0, arg1) {
|
|
328
|
+
console.log(getStringFromWasm0(arg0, arg1));
|
|
341
329
|
};
|
|
342
330
|
|
|
343
331
|
module.exports.__wbindgen_bigint_from_i64 = function(arg0) {
|
|
@@ -354,20 +342,32 @@ module.exports.__wbg_set_841ac57cff3d672b = function(arg0, arg1, arg2) {
|
|
|
354
342
|
getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
|
|
355
343
|
};
|
|
356
344
|
|
|
357
|
-
module.exports.
|
|
358
|
-
|
|
359
|
-
|
|
345
|
+
module.exports.__wbg_new_abda76e883ba8a5f = function() {
|
|
346
|
+
const ret = new Error();
|
|
347
|
+
return addHeapObject(ret);
|
|
348
|
+
};
|
|
360
349
|
|
|
361
|
-
module.exports.
|
|
362
|
-
const ret =
|
|
363
|
-
|
|
364
|
-
|
|
350
|
+
module.exports.__wbg_stack_658279fe44541cf6 = function(arg0, arg1) {
|
|
351
|
+
const ret = getObject(arg1).stack;
|
|
352
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
353
|
+
const len1 = WASM_VECTOR_LEN;
|
|
354
|
+
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
355
|
+
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
356
|
+
};
|
|
365
357
|
|
|
366
|
-
module.exports.
|
|
367
|
-
|
|
358
|
+
module.exports.__wbg_error_f851667af71bcfc6 = function(arg0, arg1) {
|
|
359
|
+
let deferred0_0;
|
|
360
|
+
let deferred0_1;
|
|
361
|
+
try {
|
|
362
|
+
deferred0_0 = arg0;
|
|
363
|
+
deferred0_1 = arg1;
|
|
364
|
+
console.error(getStringFromWasm0(arg0, arg1));
|
|
365
|
+
} finally {
|
|
366
|
+
wasm.__wbindgen_free(deferred0_0, deferred0_1);
|
|
367
|
+
}
|
|
368
368
|
};
|
|
369
369
|
|
|
370
|
-
module.exports.
|
|
370
|
+
module.exports.__wbg_readFileSync_2c0664f01ce87ab5 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
371
371
|
const ret = readFileSync(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
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_readFileSync_dacc5f3648bc2dab = function() { return handleE
|
|
|
375
375
|
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
376
376
|
}, arguments) };
|
|
377
377
|
|
|
378
|
-
module.exports.
|
|
378
|
+
module.exports.__wbg_execSync_0ebe03bda3e97091 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
379
379
|
let deferred0_0;
|
|
380
380
|
let deferred0_1;
|
|
381
381
|
try {
|
|
@@ -391,7 +391,7 @@ module.exports.__wbg_execSync_b69fc7868373590a = function() { return handleError
|
|
|
391
391
|
}
|
|
392
392
|
}, arguments) };
|
|
393
393
|
|
|
394
|
-
module.exports.
|
|
394
|
+
module.exports.__wbg_cwd_54fd9ec17adf7ca6 = 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
|