panrelease 0.13.9 → 0.14.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 +19 -19
- package/pkg/panrelease_bg.wasm +0 -0
- package/pkg/panrelease_bg.wasm.d.ts +1 -1
package/package.json
CHANGED
package/pkg/panrelease.js
CHANGED
|
@@ -186,12 +186,13 @@ 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
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
189
|
+
|
|
190
|
+
function passArray8ToWasm0(arg, malloc) {
|
|
191
|
+
const ptr = malloc(arg.length * 1, 1) >>> 0;
|
|
192
|
+
getUint8Memory0().set(arg, ptr / 1);
|
|
193
|
+
WASM_VECTOR_LEN = arg.length;
|
|
194
|
+
return ptr;
|
|
195
|
+
}
|
|
195
196
|
|
|
196
197
|
function handleError(f, args) {
|
|
197
198
|
try {
|
|
@@ -200,13 +201,12 @@ function handleError(f, args) {
|
|
|
200
201
|
wasm.__wbindgen_exn_store(addHeapObject(e));
|
|
201
202
|
}
|
|
202
203
|
}
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
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: () => {} }
|
|
@@ -233,11 +233,11 @@ module.exports.__wbindgen_object_drop_ref = function(arg0) {
|
|
|
233
233
|
takeObject(arg0);
|
|
234
234
|
};
|
|
235
235
|
|
|
236
|
-
module.exports.
|
|
236
|
+
module.exports.__wbg_writeFileSync_dfa398d60f0576e5 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
237
237
|
writeFileSync(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3));
|
|
238
238
|
}, arguments) };
|
|
239
239
|
|
|
240
|
-
module.exports.
|
|
240
|
+
module.exports.__wbg_log_e9b70fc156898f33 = function(arg0, arg1) {
|
|
241
241
|
console.log(getStringFromWasm0(arg0, arg1));
|
|
242
242
|
};
|
|
243
243
|
|
|
@@ -255,7 +255,7 @@ module.exports.__wbindgen_error_new = function(arg0, arg1) {
|
|
|
255
255
|
return addHeapObject(ret);
|
|
256
256
|
};
|
|
257
257
|
|
|
258
|
-
module.exports.
|
|
258
|
+
module.exports.__wbg_execSync_3821530c3c68494c = function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
259
259
|
let deferred0_0;
|
|
260
260
|
let deferred0_1;
|
|
261
261
|
try {
|
|
@@ -271,12 +271,12 @@ module.exports.__wbg_execSync_d2d024c804aee339 = function() { return handleError
|
|
|
271
271
|
}
|
|
272
272
|
}, arguments) };
|
|
273
273
|
|
|
274
|
-
module.exports.
|
|
274
|
+
module.exports.__wbg_existsSync_67f2bec9d1cdcdf0 = function() { return handleError(function (arg0, arg1) {
|
|
275
275
|
const ret = existsSync(getStringFromWasm0(arg0, arg1));
|
|
276
276
|
return ret;
|
|
277
277
|
}, arguments) };
|
|
278
278
|
|
|
279
|
-
module.exports.
|
|
279
|
+
module.exports.__wbg_cwd_910b2c84dc4c2152 = function(arg0) {
|
|
280
280
|
const ret = cwd();
|
|
281
281
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
282
282
|
const len1 = WASM_VECTOR_LEN;
|
|
@@ -284,7 +284,7 @@ module.exports.__wbg_cwd_6c59f4d1ce2d767a = function(arg0) {
|
|
|
284
284
|
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
285
285
|
};
|
|
286
286
|
|
|
287
|
-
module.exports.
|
|
287
|
+
module.exports.__wbg_readFileSync_59db60323489d25b = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
288
288
|
const ret = readFileSync(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
289
289
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
290
290
|
const len1 = WASM_VECTOR_LEN;
|
package/pkg/panrelease_bg.wasm
CHANGED
|
Binary file
|
|
@@ -5,5 +5,5 @@ export function __wbg_reifyrunargs_free(a: number): void;
|
|
|
5
5
|
export function run(a: number): void;
|
|
6
6
|
export function __wbindgen_malloc(a: number, b: number): number;
|
|
7
7
|
export function __wbindgen_realloc(a: number, b: number, c: number, d: number): number;
|
|
8
|
-
export function __wbindgen_exn_store(a: number): void;
|
|
9
8
|
export function __wbindgen_free(a: number, b: number, c: number): void;
|
|
9
|
+
export function __wbindgen_exn_store(a: number): void;
|