@rollup/rollup-win32-arm64-msvc 4.0.0-9 → 4.0.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
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rollup/rollup-win32-arm64-msvc",
|
|
3
|
-
"version": "4.0.0
|
|
3
|
+
"version": "4.0.0",
|
|
4
4
|
"os": [
|
|
5
5
|
"win32"
|
|
6
6
|
],
|
|
@@ -8,22 +8,12 @@
|
|
|
8
8
|
"arm64"
|
|
9
9
|
],
|
|
10
10
|
"files": [
|
|
11
|
-
"rollup.win32-arm64-msvc.node"
|
|
12
|
-
"wasm-node"
|
|
11
|
+
"rollup.win32-arm64-msvc.node"
|
|
13
12
|
],
|
|
14
13
|
"description": "Native bindings for Rollup",
|
|
15
14
|
"author": "Lukas Taegert-Atkinson",
|
|
16
15
|
"homepage": "https://rollupjs.org/",
|
|
17
16
|
"license": "MIT",
|
|
18
|
-
"engines": {
|
|
19
|
-
"node": ">=18.0.0",
|
|
20
|
-
"npm": ">=8.0.0"
|
|
21
|
-
},
|
|
22
17
|
"repository": "rollup/rollup",
|
|
23
|
-
"
|
|
24
|
-
".": {
|
|
25
|
-
"node-addons": "./rollup.win32-arm64-msvc.node",
|
|
26
|
-
"default": "./wasm-node/bindings_wasm.js"
|
|
27
|
-
}
|
|
28
|
-
}
|
|
18
|
+
"main": "./rollup.win32-arm64-msvc.node"
|
|
29
19
|
}
|
|
Binary file
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* @param {string} code
|
|
5
|
-
* @returns {Uint8Array}
|
|
6
|
-
*/
|
|
7
|
-
export function parse(code: string): Uint8Array;
|
|
8
|
-
/**
|
|
9
|
-
* @param {string} query
|
|
10
|
-
* @param {any} opts
|
|
11
|
-
* @returns {any}
|
|
12
|
-
*/
|
|
13
|
-
export function browserslist(query: string, opts: any): any;
|
|
@@ -1,509 +0,0 @@
|
|
|
1
|
-
let imports = {};
|
|
2
|
-
imports['__wbindgen_placeholder__'] = module.exports;
|
|
3
|
-
let wasm;
|
|
4
|
-
const { TextEncoder, TextDecoder } = require(`util`);
|
|
5
|
-
|
|
6
|
-
const heap = new Array(128).fill(undefined);
|
|
7
|
-
|
|
8
|
-
heap.push(undefined, null, true, false);
|
|
9
|
-
|
|
10
|
-
function getObject(idx) { return heap[idx]; }
|
|
11
|
-
|
|
12
|
-
let heap_next = heap.length;
|
|
13
|
-
|
|
14
|
-
function dropObject(idx) {
|
|
15
|
-
if (idx < 132) return;
|
|
16
|
-
heap[idx] = heap_next;
|
|
17
|
-
heap_next = idx;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
function takeObject(idx) {
|
|
21
|
-
const ret = getObject(idx);
|
|
22
|
-
dropObject(idx);
|
|
23
|
-
return ret;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
let WASM_VECTOR_LEN = 0;
|
|
27
|
-
|
|
28
|
-
let cachedUint8Memory0 = null;
|
|
29
|
-
|
|
30
|
-
function getUint8Memory0() {
|
|
31
|
-
if (cachedUint8Memory0 === null || cachedUint8Memory0.byteLength === 0) {
|
|
32
|
-
cachedUint8Memory0 = new Uint8Array(wasm.memory.buffer);
|
|
33
|
-
}
|
|
34
|
-
return cachedUint8Memory0;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
let cachedTextEncoder = new TextEncoder('utf-8');
|
|
38
|
-
|
|
39
|
-
const encodeString = (typeof cachedTextEncoder.encodeInto === 'function'
|
|
40
|
-
? function (arg, view) {
|
|
41
|
-
return cachedTextEncoder.encodeInto(arg, view);
|
|
42
|
-
}
|
|
43
|
-
: function (arg, view) {
|
|
44
|
-
const buf = cachedTextEncoder.encode(arg);
|
|
45
|
-
view.set(buf);
|
|
46
|
-
return {
|
|
47
|
-
read: arg.length,
|
|
48
|
-
written: buf.length
|
|
49
|
-
};
|
|
50
|
-
});
|
|
51
|
-
|
|
52
|
-
function passStringToWasm0(arg, malloc, realloc) {
|
|
53
|
-
|
|
54
|
-
if (realloc === undefined) {
|
|
55
|
-
const buf = cachedTextEncoder.encode(arg);
|
|
56
|
-
const ptr = malloc(buf.length, 1) >>> 0;
|
|
57
|
-
getUint8Memory0().subarray(ptr, ptr + buf.length).set(buf);
|
|
58
|
-
WASM_VECTOR_LEN = buf.length;
|
|
59
|
-
return ptr;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
let len = arg.length;
|
|
63
|
-
let ptr = malloc(len, 1) >>> 0;
|
|
64
|
-
|
|
65
|
-
const mem = getUint8Memory0();
|
|
66
|
-
|
|
67
|
-
let offset = 0;
|
|
68
|
-
|
|
69
|
-
for (; offset < len; offset++) {
|
|
70
|
-
const code = arg.charCodeAt(offset);
|
|
71
|
-
if (code > 0x7F) break;
|
|
72
|
-
mem[ptr + offset] = code;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
if (offset !== len) {
|
|
76
|
-
if (offset !== 0) {
|
|
77
|
-
arg = arg.slice(offset);
|
|
78
|
-
}
|
|
79
|
-
ptr = realloc(ptr, len, len = offset + arg.length * 3, 1) >>> 0;
|
|
80
|
-
const view = getUint8Memory0().subarray(ptr + offset, ptr + len);
|
|
81
|
-
const ret = encodeString(arg, view);
|
|
82
|
-
|
|
83
|
-
offset += ret.written;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
WASM_VECTOR_LEN = offset;
|
|
87
|
-
return ptr;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
function isLikeNone(x) {
|
|
91
|
-
return x === undefined || x === null;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
let cachedInt32Memory0 = null;
|
|
95
|
-
|
|
96
|
-
function getInt32Memory0() {
|
|
97
|
-
if (cachedInt32Memory0 === null || cachedInt32Memory0.byteLength === 0) {
|
|
98
|
-
cachedInt32Memory0 = new Int32Array(wasm.memory.buffer);
|
|
99
|
-
}
|
|
100
|
-
return cachedInt32Memory0;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
|
|
104
|
-
|
|
105
|
-
cachedTextDecoder.decode();
|
|
106
|
-
|
|
107
|
-
function getStringFromWasm0(ptr, len) {
|
|
108
|
-
ptr = ptr >>> 0;
|
|
109
|
-
return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len));
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
function addHeapObject(obj) {
|
|
113
|
-
if (heap_next === heap.length) heap.push(heap.length + 1);
|
|
114
|
-
const idx = heap_next;
|
|
115
|
-
heap_next = heap[idx];
|
|
116
|
-
|
|
117
|
-
heap[idx] = obj;
|
|
118
|
-
return idx;
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
let cachedFloat64Memory0 = null;
|
|
122
|
-
|
|
123
|
-
function getFloat64Memory0() {
|
|
124
|
-
if (cachedFloat64Memory0 === null || cachedFloat64Memory0.byteLength === 0) {
|
|
125
|
-
cachedFloat64Memory0 = new Float64Array(wasm.memory.buffer);
|
|
126
|
-
}
|
|
127
|
-
return cachedFloat64Memory0;
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
function debugString(val) {
|
|
131
|
-
// primitive types
|
|
132
|
-
const type = typeof val;
|
|
133
|
-
if (type == 'number' || type == 'boolean' || val == null) {
|
|
134
|
-
return `${val}`;
|
|
135
|
-
}
|
|
136
|
-
if (type == 'string') {
|
|
137
|
-
return `"${val}"`;
|
|
138
|
-
}
|
|
139
|
-
if (type == 'symbol') {
|
|
140
|
-
const description = val.description;
|
|
141
|
-
if (description == null) {
|
|
142
|
-
return 'Symbol';
|
|
143
|
-
} else {
|
|
144
|
-
return `Symbol(${description})`;
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
if (type == 'function') {
|
|
148
|
-
const name = val.name;
|
|
149
|
-
if (typeof name == 'string' && name.length > 0) {
|
|
150
|
-
return `Function(${name})`;
|
|
151
|
-
} else {
|
|
152
|
-
return 'Function';
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
// objects
|
|
156
|
-
if (Array.isArray(val)) {
|
|
157
|
-
const length = val.length;
|
|
158
|
-
let debug = '[';
|
|
159
|
-
if (length > 0) {
|
|
160
|
-
debug += debugString(val[0]);
|
|
161
|
-
}
|
|
162
|
-
for(let i = 1; i < length; i++) {
|
|
163
|
-
debug += ', ' + debugString(val[i]);
|
|
164
|
-
}
|
|
165
|
-
debug += ']';
|
|
166
|
-
return debug;
|
|
167
|
-
}
|
|
168
|
-
// Test for built-in
|
|
169
|
-
const builtInMatches = /\[object ([^\]]+)\]/.exec(toString.call(val));
|
|
170
|
-
let className;
|
|
171
|
-
if (builtInMatches.length > 1) {
|
|
172
|
-
className = builtInMatches[1];
|
|
173
|
-
} else {
|
|
174
|
-
// Failed to match the standard '[object ClassName]'
|
|
175
|
-
return toString.call(val);
|
|
176
|
-
}
|
|
177
|
-
if (className == 'Object') {
|
|
178
|
-
// we're a user defined class or Object
|
|
179
|
-
// JSON.stringify avoids problems with cycles, and is generally much
|
|
180
|
-
// easier than looping through ownProperties of `val`.
|
|
181
|
-
try {
|
|
182
|
-
return 'Object(' + JSON.stringify(val) + ')';
|
|
183
|
-
} catch (_) {
|
|
184
|
-
return 'Object';
|
|
185
|
-
}
|
|
186
|
-
}
|
|
187
|
-
// errors
|
|
188
|
-
if (val instanceof Error) {
|
|
189
|
-
return `${val.name}: ${val.message}\n${val.stack}`;
|
|
190
|
-
}
|
|
191
|
-
// TODO we could test for more things here, like `Set`s and `Map`s.
|
|
192
|
-
return className;
|
|
193
|
-
}
|
|
194
|
-
|
|
195
|
-
function getArrayU8FromWasm0(ptr, len) {
|
|
196
|
-
ptr = ptr >>> 0;
|
|
197
|
-
return getUint8Memory0().subarray(ptr / 1, ptr / 1 + len);
|
|
198
|
-
}
|
|
199
|
-
/**
|
|
200
|
-
* @param {string} code
|
|
201
|
-
* @returns {Uint8Array}
|
|
202
|
-
*/
|
|
203
|
-
module.exports.parse = function(code) {
|
|
204
|
-
try {
|
|
205
|
-
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
206
|
-
const ptr0 = passStringToWasm0(code, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
207
|
-
const len0 = WASM_VECTOR_LEN;
|
|
208
|
-
wasm.parse(retptr, ptr0, len0);
|
|
209
|
-
var r0 = getInt32Memory0()[retptr / 4 + 0];
|
|
210
|
-
var r1 = getInt32Memory0()[retptr / 4 + 1];
|
|
211
|
-
var v2 = getArrayU8FromWasm0(r0, r1).slice();
|
|
212
|
-
wasm.__wbindgen_free(r0, r1 * 1);
|
|
213
|
-
return v2;
|
|
214
|
-
} finally {
|
|
215
|
-
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
216
|
-
}
|
|
217
|
-
};
|
|
218
|
-
|
|
219
|
-
/**
|
|
220
|
-
* @param {string} query
|
|
221
|
-
* @param {any} opts
|
|
222
|
-
* @returns {any}
|
|
223
|
-
*/
|
|
224
|
-
module.exports.browserslist = function(query, opts) {
|
|
225
|
-
try {
|
|
226
|
-
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
227
|
-
const ptr0 = passStringToWasm0(query, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
228
|
-
const len0 = WASM_VECTOR_LEN;
|
|
229
|
-
wasm.browserslist(retptr, ptr0, len0, addHeapObject(opts));
|
|
230
|
-
var r0 = getInt32Memory0()[retptr / 4 + 0];
|
|
231
|
-
var r1 = getInt32Memory0()[retptr / 4 + 1];
|
|
232
|
-
var r2 = getInt32Memory0()[retptr / 4 + 2];
|
|
233
|
-
if (r2) {
|
|
234
|
-
throw takeObject(r1);
|
|
235
|
-
}
|
|
236
|
-
return takeObject(r0);
|
|
237
|
-
} finally {
|
|
238
|
-
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
239
|
-
}
|
|
240
|
-
};
|
|
241
|
-
|
|
242
|
-
function handleError(f, args) {
|
|
243
|
-
try {
|
|
244
|
-
return f.apply(this, args);
|
|
245
|
-
} catch (e) {
|
|
246
|
-
wasm.__wbindgen_exn_store(addHeapObject(e));
|
|
247
|
-
}
|
|
248
|
-
}
|
|
249
|
-
|
|
250
|
-
module.exports.__wbindgen_boolean_get = function(arg0) {
|
|
251
|
-
const v = getObject(arg0);
|
|
252
|
-
const ret = typeof(v) === 'boolean' ? (v ? 1 : 0) : 2;
|
|
253
|
-
return ret;
|
|
254
|
-
};
|
|
255
|
-
|
|
256
|
-
module.exports.__wbindgen_object_drop_ref = function(arg0) {
|
|
257
|
-
takeObject(arg0);
|
|
258
|
-
};
|
|
259
|
-
|
|
260
|
-
module.exports.__wbindgen_string_get = function(arg0, arg1) {
|
|
261
|
-
const obj = getObject(arg1);
|
|
262
|
-
const ret = typeof(obj) === 'string' ? obj : undefined;
|
|
263
|
-
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
264
|
-
var len1 = WASM_VECTOR_LEN;
|
|
265
|
-
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
266
|
-
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
267
|
-
};
|
|
268
|
-
|
|
269
|
-
module.exports.__wbindgen_string_new = function(arg0, arg1) {
|
|
270
|
-
const ret = getStringFromWasm0(arg0, arg1);
|
|
271
|
-
return addHeapObject(ret);
|
|
272
|
-
};
|
|
273
|
-
|
|
274
|
-
module.exports.__wbindgen_error_new = function(arg0, arg1) {
|
|
275
|
-
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
276
|
-
return addHeapObject(ret);
|
|
277
|
-
};
|
|
278
|
-
|
|
279
|
-
module.exports.__wbindgen_is_object = function(arg0) {
|
|
280
|
-
const val = getObject(arg0);
|
|
281
|
-
const ret = typeof(val) === 'object' && val !== null;
|
|
282
|
-
return ret;
|
|
283
|
-
};
|
|
284
|
-
|
|
285
|
-
module.exports.__wbindgen_is_undefined = function(arg0) {
|
|
286
|
-
const ret = getObject(arg0) === undefined;
|
|
287
|
-
return ret;
|
|
288
|
-
};
|
|
289
|
-
|
|
290
|
-
module.exports.__wbindgen_in = function(arg0, arg1) {
|
|
291
|
-
const ret = getObject(arg0) in getObject(arg1);
|
|
292
|
-
return ret;
|
|
293
|
-
};
|
|
294
|
-
|
|
295
|
-
module.exports.__wbindgen_object_clone_ref = function(arg0) {
|
|
296
|
-
const ret = getObject(arg0);
|
|
297
|
-
return addHeapObject(ret);
|
|
298
|
-
};
|
|
299
|
-
|
|
300
|
-
module.exports.__wbindgen_jsval_loose_eq = function(arg0, arg1) {
|
|
301
|
-
const ret = getObject(arg0) == getObject(arg1);
|
|
302
|
-
return ret;
|
|
303
|
-
};
|
|
304
|
-
|
|
305
|
-
module.exports.__wbindgen_number_get = function(arg0, arg1) {
|
|
306
|
-
const obj = getObject(arg1);
|
|
307
|
-
const ret = typeof(obj) === 'number' ? obj : undefined;
|
|
308
|
-
getFloat64Memory0()[arg0 / 8 + 1] = isLikeNone(ret) ? 0 : ret;
|
|
309
|
-
getInt32Memory0()[arg0 / 4 + 0] = !isLikeNone(ret);
|
|
310
|
-
};
|
|
311
|
-
|
|
312
|
-
module.exports.__wbg_getwithrefkey_15c62c2b8546208d = function(arg0, arg1) {
|
|
313
|
-
const ret = getObject(arg0)[getObject(arg1)];
|
|
314
|
-
return addHeapObject(ret);
|
|
315
|
-
};
|
|
316
|
-
|
|
317
|
-
module.exports.__wbg_crypto_c48a774b022d20ac = function(arg0) {
|
|
318
|
-
const ret = getObject(arg0).crypto;
|
|
319
|
-
return addHeapObject(ret);
|
|
320
|
-
};
|
|
321
|
-
|
|
322
|
-
module.exports.__wbg_process_298734cf255a885d = function(arg0) {
|
|
323
|
-
const ret = getObject(arg0).process;
|
|
324
|
-
return addHeapObject(ret);
|
|
325
|
-
};
|
|
326
|
-
|
|
327
|
-
module.exports.__wbg_versions_e2e78e134e3e5d01 = function(arg0) {
|
|
328
|
-
const ret = getObject(arg0).versions;
|
|
329
|
-
return addHeapObject(ret);
|
|
330
|
-
};
|
|
331
|
-
|
|
332
|
-
module.exports.__wbg_node_1cd7a5d853dbea79 = function(arg0) {
|
|
333
|
-
const ret = getObject(arg0).node;
|
|
334
|
-
return addHeapObject(ret);
|
|
335
|
-
};
|
|
336
|
-
|
|
337
|
-
module.exports.__wbindgen_is_string = function(arg0) {
|
|
338
|
-
const ret = typeof(getObject(arg0)) === 'string';
|
|
339
|
-
return ret;
|
|
340
|
-
};
|
|
341
|
-
|
|
342
|
-
module.exports.__wbg_msCrypto_bcb970640f50a1e8 = function(arg0) {
|
|
343
|
-
const ret = getObject(arg0).msCrypto;
|
|
344
|
-
return addHeapObject(ret);
|
|
345
|
-
};
|
|
346
|
-
|
|
347
|
-
module.exports.__wbg_require_8f08ceecec0f4fee = function() { return handleError(function () {
|
|
348
|
-
const ret = module.require;
|
|
349
|
-
return addHeapObject(ret);
|
|
350
|
-
}, arguments) };
|
|
351
|
-
|
|
352
|
-
module.exports.__wbindgen_is_function = function(arg0) {
|
|
353
|
-
const ret = typeof(getObject(arg0)) === 'function';
|
|
354
|
-
return ret;
|
|
355
|
-
};
|
|
356
|
-
|
|
357
|
-
module.exports.__wbg_getRandomValues_37fa2ca9e4e07fab = function() { return handleError(function (arg0, arg1) {
|
|
358
|
-
getObject(arg0).getRandomValues(getObject(arg1));
|
|
359
|
-
}, arguments) };
|
|
360
|
-
|
|
361
|
-
module.exports.__wbg_randomFillSync_dc1e9a60c158336d = function() { return handleError(function (arg0, arg1) {
|
|
362
|
-
getObject(arg0).randomFillSync(takeObject(arg1));
|
|
363
|
-
}, arguments) };
|
|
364
|
-
|
|
365
|
-
module.exports.__wbg_new_898a68150f225f2e = function() {
|
|
366
|
-
const ret = new Array();
|
|
367
|
-
return addHeapObject(ret);
|
|
368
|
-
};
|
|
369
|
-
|
|
370
|
-
module.exports.__wbg_newnoargs_581967eacc0e2604 = function(arg0, arg1) {
|
|
371
|
-
const ret = new Function(getStringFromWasm0(arg0, arg1));
|
|
372
|
-
return addHeapObject(ret);
|
|
373
|
-
};
|
|
374
|
-
|
|
375
|
-
module.exports.__wbg_get_97b561fb56f034b5 = function() { return handleError(function (arg0, arg1) {
|
|
376
|
-
const ret = Reflect.get(getObject(arg0), getObject(arg1));
|
|
377
|
-
return addHeapObject(ret);
|
|
378
|
-
}, arguments) };
|
|
379
|
-
|
|
380
|
-
module.exports.__wbg_call_cb65541d95d71282 = function() { return handleError(function (arg0, arg1) {
|
|
381
|
-
const ret = getObject(arg0).call(getObject(arg1));
|
|
382
|
-
return addHeapObject(ret);
|
|
383
|
-
}, arguments) };
|
|
384
|
-
|
|
385
|
-
module.exports.__wbg_self_1ff1d729e9aae938 = function() { return handleError(function () {
|
|
386
|
-
const ret = self.self;
|
|
387
|
-
return addHeapObject(ret);
|
|
388
|
-
}, arguments) };
|
|
389
|
-
|
|
390
|
-
module.exports.__wbg_window_5f4faef6c12b79ec = function() { return handleError(function () {
|
|
391
|
-
const ret = window.window;
|
|
392
|
-
return addHeapObject(ret);
|
|
393
|
-
}, arguments) };
|
|
394
|
-
|
|
395
|
-
module.exports.__wbg_globalThis_1d39714405582d3c = function() { return handleError(function () {
|
|
396
|
-
const ret = globalThis.globalThis;
|
|
397
|
-
return addHeapObject(ret);
|
|
398
|
-
}, arguments) };
|
|
399
|
-
|
|
400
|
-
module.exports.__wbg_global_651f05c6a0944d1c = function() { return handleError(function () {
|
|
401
|
-
const ret = global.global;
|
|
402
|
-
return addHeapObject(ret);
|
|
403
|
-
}, arguments) };
|
|
404
|
-
|
|
405
|
-
module.exports.__wbg_set_502d29070ea18557 = function(arg0, arg1, arg2) {
|
|
406
|
-
getObject(arg0)[arg1 >>> 0] = takeObject(arg2);
|
|
407
|
-
};
|
|
408
|
-
|
|
409
|
-
module.exports.__wbg_instanceof_ArrayBuffer_39ac22089b74fddb = function(arg0) {
|
|
410
|
-
let result;
|
|
411
|
-
try {
|
|
412
|
-
result = getObject(arg0) instanceof ArrayBuffer;
|
|
413
|
-
} catch {
|
|
414
|
-
result = false;
|
|
415
|
-
}
|
|
416
|
-
const ret = result;
|
|
417
|
-
return ret;
|
|
418
|
-
};
|
|
419
|
-
|
|
420
|
-
module.exports.__wbg_call_01734de55d61e11d = function() { return handleError(function (arg0, arg1, arg2) {
|
|
421
|
-
const ret = getObject(arg0).call(getObject(arg1), getObject(arg2));
|
|
422
|
-
return addHeapObject(ret);
|
|
423
|
-
}, arguments) };
|
|
424
|
-
|
|
425
|
-
module.exports.__wbg_getTime_5e2054f832d82ec9 = function(arg0) {
|
|
426
|
-
const ret = getObject(arg0).getTime();
|
|
427
|
-
return ret;
|
|
428
|
-
};
|
|
429
|
-
|
|
430
|
-
module.exports.__wbg_getTimezoneOffset_8aee3445f323973e = function(arg0) {
|
|
431
|
-
const ret = getObject(arg0).getTimezoneOffset();
|
|
432
|
-
return ret;
|
|
433
|
-
};
|
|
434
|
-
|
|
435
|
-
module.exports.__wbg_new0_c0be7df4b6bd481f = function() {
|
|
436
|
-
const ret = new Date();
|
|
437
|
-
return addHeapObject(ret);
|
|
438
|
-
};
|
|
439
|
-
|
|
440
|
-
module.exports.__wbg_buffer_085ec1f694018c4f = function(arg0) {
|
|
441
|
-
const ret = getObject(arg0).buffer;
|
|
442
|
-
return addHeapObject(ret);
|
|
443
|
-
};
|
|
444
|
-
|
|
445
|
-
module.exports.__wbg_newwithbyteoffsetandlength_6da8e527659b86aa = function(arg0, arg1, arg2) {
|
|
446
|
-
const ret = new Uint8Array(getObject(arg0), arg1 >>> 0, arg2 >>> 0);
|
|
447
|
-
return addHeapObject(ret);
|
|
448
|
-
};
|
|
449
|
-
|
|
450
|
-
module.exports.__wbg_new_8125e318e6245eed = function(arg0) {
|
|
451
|
-
const ret = new Uint8Array(getObject(arg0));
|
|
452
|
-
return addHeapObject(ret);
|
|
453
|
-
};
|
|
454
|
-
|
|
455
|
-
module.exports.__wbg_set_5cf90238115182c3 = function(arg0, arg1, arg2) {
|
|
456
|
-
getObject(arg0).set(getObject(arg1), arg2 >>> 0);
|
|
457
|
-
};
|
|
458
|
-
|
|
459
|
-
module.exports.__wbg_length_72e2208bbc0efc61 = function(arg0) {
|
|
460
|
-
const ret = getObject(arg0).length;
|
|
461
|
-
return ret;
|
|
462
|
-
};
|
|
463
|
-
|
|
464
|
-
module.exports.__wbg_instanceof_Uint8Array_d8d9cb2b8e8ac1d4 = function(arg0) {
|
|
465
|
-
let result;
|
|
466
|
-
try {
|
|
467
|
-
result = getObject(arg0) instanceof Uint8Array;
|
|
468
|
-
} catch {
|
|
469
|
-
result = false;
|
|
470
|
-
}
|
|
471
|
-
const ret = result;
|
|
472
|
-
return ret;
|
|
473
|
-
};
|
|
474
|
-
|
|
475
|
-
module.exports.__wbg_newwithlength_e5d69174d6984cd7 = function(arg0) {
|
|
476
|
-
const ret = new Uint8Array(arg0 >>> 0);
|
|
477
|
-
return addHeapObject(ret);
|
|
478
|
-
};
|
|
479
|
-
|
|
480
|
-
module.exports.__wbg_subarray_13db269f57aa838d = function(arg0, arg1, arg2) {
|
|
481
|
-
const ret = getObject(arg0).subarray(arg1 >>> 0, arg2 >>> 0);
|
|
482
|
-
return addHeapObject(ret);
|
|
483
|
-
};
|
|
484
|
-
|
|
485
|
-
module.exports.__wbindgen_debug_string = function(arg0, arg1) {
|
|
486
|
-
const ret = debugString(getObject(arg1));
|
|
487
|
-
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
488
|
-
const len1 = WASM_VECTOR_LEN;
|
|
489
|
-
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
490
|
-
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
491
|
-
};
|
|
492
|
-
|
|
493
|
-
module.exports.__wbindgen_throw = function(arg0, arg1) {
|
|
494
|
-
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
495
|
-
};
|
|
496
|
-
|
|
497
|
-
module.exports.__wbindgen_memory = function() {
|
|
498
|
-
const ret = wasm.memory;
|
|
499
|
-
return addHeapObject(ret);
|
|
500
|
-
};
|
|
501
|
-
|
|
502
|
-
const path = require('path').join(__dirname, 'bindings_wasm_bg.wasm');
|
|
503
|
-
const bytes = require('fs').readFileSync(path);
|
|
504
|
-
|
|
505
|
-
const wasmModule = new WebAssembly.Module(bytes);
|
|
506
|
-
const wasmInstance = new WebAssembly.Instance(wasmModule, imports);
|
|
507
|
-
wasm = wasmInstance.exports;
|
|
508
|
-
module.exports.__wasm = wasm;
|
|
509
|
-
|
|
Binary file
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
export const memory: WebAssembly.Memory;
|
|
4
|
-
export function parse(a: number, b: number, c: number): void;
|
|
5
|
-
export function browserslist(a: number, b: number, c: number, d: number): void;
|
|
6
|
-
export function __wbindgen_malloc(a: number, b: number): number;
|
|
7
|
-
export function __wbindgen_realloc(a: number, b: number, c: number, d: number): number;
|
|
8
|
-
export function __wbindgen_add_to_stack_pointer(a: number): number;
|
|
9
|
-
export function __wbindgen_free(a: number, b: number, c: number): void;
|
|
10
|
-
export function __wbindgen_exn_store(a: number): void;
|