@swc/wasm 1.2.124 → 1.2.128
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/wasm.js +25 -28
- package/wasm_bg.wasm +0 -0
package/package.json
CHANGED
package/wasm.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
let imports = {};
|
|
2
2
|
imports['__wbindgen_placeholder__'] = module.exports;
|
|
3
3
|
let wasm;
|
|
4
|
-
const { TextDecoder, TextEncoder } = require(
|
|
4
|
+
const { TextDecoder, TextEncoder } = require(`util`);
|
|
5
5
|
|
|
6
6
|
let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
|
|
7
7
|
|
|
@@ -172,15 +172,12 @@ module.exports.browserslist = function(query, opts) {
|
|
|
172
172
|
return takeObject(ret);
|
|
173
173
|
};
|
|
174
174
|
|
|
175
|
-
function handleError(f) {
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
wasm.__wbindgen_exn_store(addHeapObject(e));
|
|
182
|
-
}
|
|
183
|
-
};
|
|
175
|
+
function handleError(f, args) {
|
|
176
|
+
try {
|
|
177
|
+
return f.apply(this, args);
|
|
178
|
+
} catch (e) {
|
|
179
|
+
wasm.__wbindgen_exn_store(addHeapObject(e));
|
|
180
|
+
}
|
|
184
181
|
}
|
|
185
182
|
|
|
186
183
|
module.exports.__wbindgen_json_parse = function(arg0, arg1) {
|
|
@@ -206,65 +203,65 @@ module.exports.__wbindgen_string_new = function(arg0, arg1) {
|
|
|
206
203
|
return addHeapObject(ret);
|
|
207
204
|
};
|
|
208
205
|
|
|
209
|
-
module.exports.
|
|
206
|
+
module.exports.__wbg_new0_fd3a3a290b25cdac = function() {
|
|
210
207
|
var ret = new Date();
|
|
211
208
|
return addHeapObject(ret);
|
|
212
209
|
};
|
|
213
210
|
|
|
214
|
-
module.exports.
|
|
211
|
+
module.exports.__wbg_getTime_10d33f4f2959e5dd = function(arg0) {
|
|
215
212
|
var ret = getObject(arg0).getTime();
|
|
216
213
|
return ret;
|
|
217
214
|
};
|
|
218
215
|
|
|
219
|
-
module.exports.
|
|
216
|
+
module.exports.__wbg_getTimezoneOffset_d3e5a22a1b7fb1d8 = function(arg0) {
|
|
220
217
|
var ret = getObject(arg0).getTimezoneOffset();
|
|
221
218
|
return ret;
|
|
222
219
|
};
|
|
223
220
|
|
|
224
|
-
module.exports.
|
|
221
|
+
module.exports.__wbg_self_c6fbdfc2918d5e58 = function() { return handleError(function () {
|
|
225
222
|
var ret = self.self;
|
|
226
223
|
return addHeapObject(ret);
|
|
227
|
-
});
|
|
224
|
+
}, arguments) };
|
|
228
225
|
|
|
229
|
-
module.exports.
|
|
226
|
+
module.exports.__wbg_window_baec038b5ab35c54 = function() { return handleError(function () {
|
|
230
227
|
var ret = window.window;
|
|
231
228
|
return addHeapObject(ret);
|
|
232
|
-
});
|
|
229
|
+
}, arguments) };
|
|
233
230
|
|
|
234
|
-
module.exports.
|
|
231
|
+
module.exports.__wbg_globalThis_3f735a5746d41fbd = function() { return handleError(function () {
|
|
235
232
|
var ret = globalThis.globalThis;
|
|
236
233
|
return addHeapObject(ret);
|
|
237
|
-
});
|
|
234
|
+
}, arguments) };
|
|
238
235
|
|
|
239
|
-
module.exports.
|
|
236
|
+
module.exports.__wbg_global_1bc0b39582740e95 = function() { return handleError(function () {
|
|
240
237
|
var ret = global.global;
|
|
241
238
|
return addHeapObject(ret);
|
|
242
|
-
});
|
|
239
|
+
}, arguments) };
|
|
243
240
|
|
|
244
241
|
module.exports.__wbindgen_is_undefined = function(arg0) {
|
|
245
242
|
var ret = getObject(arg0) === undefined;
|
|
246
243
|
return ret;
|
|
247
244
|
};
|
|
248
245
|
|
|
249
|
-
module.exports.
|
|
246
|
+
module.exports.__wbg_newnoargs_be86524d73f67598 = function(arg0, arg1) {
|
|
250
247
|
var ret = new Function(getStringFromWasm0(arg0, arg1));
|
|
251
248
|
return addHeapObject(ret);
|
|
252
249
|
};
|
|
253
250
|
|
|
254
|
-
module.exports.
|
|
251
|
+
module.exports.__wbg_call_888d259a5fefc347 = function() { return handleError(function (arg0, arg1) {
|
|
255
252
|
var ret = getObject(arg0).call(getObject(arg1));
|
|
256
253
|
return addHeapObject(ret);
|
|
257
|
-
});
|
|
254
|
+
}, arguments) };
|
|
258
255
|
|
|
259
256
|
module.exports.__wbindgen_object_clone_ref = function(arg0) {
|
|
260
257
|
var ret = getObject(arg0);
|
|
261
258
|
return addHeapObject(ret);
|
|
262
259
|
};
|
|
263
260
|
|
|
264
|
-
module.exports.
|
|
261
|
+
module.exports.__wbg_get_4d0f21c2f823742e = function() { return handleError(function (arg0, arg1) {
|
|
265
262
|
var ret = Reflect.get(getObject(arg0), getObject(arg1));
|
|
266
263
|
return addHeapObject(ret);
|
|
267
|
-
});
|
|
264
|
+
}, arguments) };
|
|
268
265
|
|
|
269
266
|
module.exports.__wbindgen_string_get = function(arg0, arg1) {
|
|
270
267
|
const obj = getObject(arg1);
|
|
@@ -275,12 +272,12 @@ module.exports.__wbindgen_string_get = function(arg0, arg1) {
|
|
|
275
272
|
getInt32Memory0()[arg0 / 4 + 0] = ptr0;
|
|
276
273
|
};
|
|
277
274
|
|
|
278
|
-
module.exports.
|
|
275
|
+
module.exports.__wbg_new_949bbc1147195c4e = function() {
|
|
279
276
|
var ret = new Array();
|
|
280
277
|
return addHeapObject(ret);
|
|
281
278
|
};
|
|
282
279
|
|
|
283
|
-
module.exports.
|
|
280
|
+
module.exports.__wbg_push_284486ca27c6aa8b = function(arg0, arg1) {
|
|
284
281
|
var ret = getObject(arg0).push(getObject(arg1));
|
|
285
282
|
return ret;
|
|
286
283
|
};
|
package/wasm_bg.wasm
CHANGED
|
Binary file
|