panrelease 0.16.0 → 0.17.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 +31 -31
- package/pkg/panrelease_bg.wasm +0 -0
package/package.json
CHANGED
package/pkg/panrelease.js
CHANGED
|
@@ -186,6 +186,12 @@ function debugString(val) {
|
|
|
186
186
|
// TODO we could test for more things here, like `Set`s and `Map`s.
|
|
187
187
|
return className;
|
|
188
188
|
}
|
|
189
|
+
/**
|
|
190
|
+
* @param {Array<any>} js_args
|
|
191
|
+
*/
|
|
192
|
+
module.exports.run = function(js_args) {
|
|
193
|
+
wasm.run(addHeapObject(js_args));
|
|
194
|
+
};
|
|
189
195
|
|
|
190
196
|
function passArray8ToWasm0(arg, malloc) {
|
|
191
197
|
const ptr = malloc(arg.length * 1, 1) >>> 0;
|
|
@@ -201,12 +207,6 @@ function handleError(f, args) {
|
|
|
201
207
|
wasm.__wbindgen_exn_store(addHeapObject(e));
|
|
202
208
|
}
|
|
203
209
|
}
|
|
204
|
-
/**
|
|
205
|
-
* @param {Array<any>} js_args
|
|
206
|
-
*/
|
|
207
|
-
module.exports.run = function(js_args) {
|
|
208
|
-
wasm.run(addHeapObject(js_args));
|
|
209
|
-
};
|
|
210
210
|
|
|
211
211
|
const ReifyRunArgsFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
212
212
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -229,7 +229,7 @@ class ReifyRunArgs {
|
|
|
229
229
|
}
|
|
230
230
|
module.exports.ReifyRunArgs = ReifyRunArgs;
|
|
231
231
|
|
|
232
|
-
module.exports.
|
|
232
|
+
module.exports.__wbg_log_0c84599224558073 = function(arg0, arg1) {
|
|
233
233
|
console.log(getStringFromWasm0(arg0, arg1));
|
|
234
234
|
};
|
|
235
235
|
|
|
@@ -237,32 +237,25 @@ module.exports.__wbindgen_object_drop_ref = function(arg0) {
|
|
|
237
237
|
takeObject(arg0);
|
|
238
238
|
};
|
|
239
239
|
|
|
240
|
-
module.exports.__wbg_cwd_97cbc341b723986a = function(arg0) {
|
|
241
|
-
const ret = cwd();
|
|
242
|
-
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
243
|
-
const len1 = WASM_VECTOR_LEN;
|
|
244
|
-
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
245
|
-
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
246
|
-
};
|
|
247
|
-
|
|
248
240
|
module.exports.__wbindgen_error_new = function(arg0, arg1) {
|
|
249
241
|
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
250
242
|
return addHeapObject(ret);
|
|
251
243
|
};
|
|
252
244
|
|
|
253
|
-
module.exports.
|
|
254
|
-
const ret = readFileSync(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
255
|
-
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
256
|
-
const len1 = WASM_VECTOR_LEN;
|
|
257
|
-
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
258
|
-
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
259
|
-
}, arguments) };
|
|
260
|
-
|
|
261
|
-
module.exports.__wbg_writeFileSync_28b9dd4359b74ebe = function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
245
|
+
module.exports.__wbg_writeFileSync_1e8929252aac3e13 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
262
246
|
writeFileSync(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3));
|
|
263
247
|
}, arguments) };
|
|
264
248
|
|
|
265
|
-
module.exports.
|
|
249
|
+
module.exports.__wbindgen_string_get = function(arg0, arg1) {
|
|
250
|
+
const obj = getObject(arg1);
|
|
251
|
+
const ret = typeof(obj) === 'string' ? obj : undefined;
|
|
252
|
+
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
253
|
+
var len1 = WASM_VECTOR_LEN;
|
|
254
|
+
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
255
|
+
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
256
|
+
};
|
|
257
|
+
|
|
258
|
+
module.exports.__wbg_execSync_84f1d68dba7a4b2b = function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
266
259
|
let deferred0_0;
|
|
267
260
|
let deferred0_1;
|
|
268
261
|
try {
|
|
@@ -278,20 +271,27 @@ module.exports.__wbg_execSync_09b5de8ef8d0e5d9 = function() { return handleError
|
|
|
278
271
|
}
|
|
279
272
|
}, arguments) };
|
|
280
273
|
|
|
281
|
-
module.exports.
|
|
274
|
+
module.exports.__wbg_existsSync_5dc7cd7d9dacf618 = function() { return handleError(function (arg0, arg1) {
|
|
282
275
|
const ret = existsSync(getStringFromWasm0(arg0, arg1));
|
|
283
276
|
return ret;
|
|
284
277
|
}, arguments) };
|
|
285
278
|
|
|
286
|
-
module.exports.
|
|
287
|
-
const
|
|
288
|
-
const
|
|
289
|
-
|
|
290
|
-
var len1 = WASM_VECTOR_LEN;
|
|
279
|
+
module.exports.__wbg_cwd_d763a5d7e7454291 = function(arg0) {
|
|
280
|
+
const ret = cwd();
|
|
281
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
282
|
+
const len1 = WASM_VECTOR_LEN;
|
|
291
283
|
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
292
284
|
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
293
285
|
};
|
|
294
286
|
|
|
287
|
+
module.exports.__wbg_readFileSync_dac3cb40541720e4 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
288
|
+
const ret = readFileSync(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
289
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
290
|
+
const len1 = WASM_VECTOR_LEN;
|
|
291
|
+
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
292
|
+
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
293
|
+
}, arguments) };
|
|
294
|
+
|
|
295
295
|
module.exports.__wbg_set_f975102236d3c502 = function(arg0, arg1, arg2) {
|
|
296
296
|
getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
|
|
297
297
|
};
|
package/pkg/panrelease_bg.wasm
CHANGED
|
Binary file
|