panrelease 0.12.1 → 0.12.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "panrelease",
3
- "version": "0.12.1",
3
+ "version": "0.12.3",
4
4
  "description": "Utility to release software",
5
5
  "keywords": [ "cli", "tool", "git", "release" ],
6
6
  "homepage": "https://github.com/dghilardi/panrelease",
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,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_1caff8de11390f3d = function() { return handleError(function (arg0, arg1, arg2, arg3) {
319
- writeFileSync(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3));
320
- }, arguments) };
321
-
322
- module.exports.__wbg_existsSync_bb1028e809e4fb0a = 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,11 +335,30 @@ module.exports.__wbg_error_f851667af71bcfc6 = function(arg0, arg1) {
349
335
  }
350
336
  };
351
337
 
352
- module.exports.__wbg_log_fbe18a741a9f2c25 = function(arg0, arg1) {
338
+ module.exports.__wbindgen_error_new = function(arg0, arg1) {
339
+ const ret = new Error(getStringFromWasm0(arg0, arg1));
340
+ return addHeapObject(ret);
341
+ };
342
+
343
+ module.exports.__wbg_log_3e524f752740eaf7 = function(arg0, arg1) {
353
344
  console.log(getStringFromWasm0(arg0, arg1));
354
345
  };
355
346
 
356
- module.exports.__wbg_readFileSync_0e0b7cd114631550 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
347
+ module.exports.__wbindgen_bigint_from_i64 = function(arg0) {
348
+ const ret = arg0;
349
+ return addHeapObject(ret);
350
+ };
351
+
352
+ module.exports.__wbindgen_bigint_from_u64 = function(arg0) {
353
+ const ret = BigInt.asUintN(64, arg0);
354
+ return addHeapObject(ret);
355
+ };
356
+
357
+ module.exports.__wbg_set_bd72c078edfa51ad = function(arg0, arg1, arg2) {
358
+ getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
359
+ };
360
+
361
+ module.exports.__wbg_readFileSync_229b094c61be3337 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
357
362
  const ret = readFileSync(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
358
363
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
359
364
  const len1 = WASM_VECTOR_LEN;
@@ -361,7 +366,16 @@ module.exports.__wbg_readFileSync_0e0b7cd114631550 = function() { return handleE
361
366
  getInt32Memory0()[arg0 / 4 + 0] = ptr1;
362
367
  }, arguments) };
363
368
 
364
- module.exports.__wbg_execSync_217ba9c2dabcaeb4 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
369
+ module.exports.__wbg_writeFileSync_1707ec2a6a20b259 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
370
+ writeFileSync(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3));
371
+ }, arguments) };
372
+
373
+ module.exports.__wbg_existsSync_2522b4a8c64b32a8 = function() { return handleError(function (arg0, arg1) {
374
+ const ret = existsSync(getStringFromWasm0(arg0, arg1));
375
+ return ret;
376
+ }, arguments) };
377
+
378
+ module.exports.__wbg_execSync_3f974956a51fdcf5 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
365
379
  let deferred0_0;
366
380
  let deferred0_1;
367
381
  try {
@@ -377,21 +391,7 @@ module.exports.__wbg_execSync_217ba9c2dabcaeb4 = function() { return handleError
377
391
  }
378
392
  }, arguments) };
379
393
 
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) {
394
+ module.exports.__wbg_cwd_7170ae6f0742a472 = 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;
Binary file