@aws/fully-qualified-names
Advanced tools
Comparing version 2.1.2 to 2.1.3
@@ -54,2 +54,3 @@ import Parser from 'web-tree-sitter'; | ||
function getStringFromWasm0(ptr, len) { | ||
ptr = ptr >>> 0; | ||
return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len)); | ||
@@ -146,3 +147,3 @@ } | ||
const buf = cachedTextEncoder.encode(arg); | ||
const ptr = malloc(buf.length); | ||
const ptr = malloc(buf.length, 1) >>> 0; | ||
getUint8Memory0().subarray(ptr, ptr + buf.length).set(buf); | ||
@@ -154,3 +155,3 @@ WASM_VECTOR_LEN = buf.length; | ||
let len = arg.length; | ||
let ptr = malloc(len); | ||
let ptr = malloc(len, 1) >>> 0; | ||
@@ -171,3 +172,3 @@ const mem = getUint8Memory0(); | ||
} | ||
ptr = realloc(ptr, len, len = offset + arg.length * 3); | ||
ptr = realloc(ptr, len, len = offset + arg.length * 3, 1) >>> 0; | ||
const view = getUint8Memory0().subarray(ptr + offset, ptr + len); | ||
@@ -177,2 +178,3 @@ const ret = encodeString(arg, view); | ||
offset += ret.written; | ||
ptr = realloc(ptr, len, offset, 1) >>> 0; | ||
} | ||
@@ -193,2 +195,8 @@ | ||
const CLOSURE_DTORS = (typeof FinalizationRegistry === 'undefined') | ||
? { register: () => {}, unregister: () => {} } | ||
: new FinalizationRegistry(state => { | ||
wasm.__wbindgen_export_2.get(state.dtor)(state.a, state.b) | ||
}); | ||
function makeMutClosure(arg0, arg1, dtor, f) { | ||
@@ -208,3 +216,3 @@ const state = { a: arg0, b: arg1, cnt: 1, dtor }; | ||
wasm.__wbindgen_export_2.get(state.dtor)(a, state.b); | ||
CLOSURE_DTORS.unregister(state); | ||
} else { | ||
@@ -216,10 +224,18 @@ state.a = a; | ||
real.original = state; | ||
CLOSURE_DTORS.register(real, state, state); | ||
return real; | ||
} | ||
function __wbg_adapter_20(arg0, arg1, arg2) { | ||
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__ha3ec03cb85ebe094(arg0, arg1, addHeapObject(arg2)); | ||
function __wbg_adapter_24(arg0, arg1, arg2) { | ||
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h3ee95b6ecc6204b4(arg0, arg1, addHeapObject(arg2)); | ||
} | ||
function _assertClass(instance, klass) { | ||
if (!(instance instanceof klass)) { | ||
throw new Error(`expected instance of ${klass.name}`); | ||
} | ||
return instance.ptr; | ||
} | ||
function getArrayU8FromWasm0(ptr, len) { | ||
ptr = ptr >>> 0; | ||
return getUint8Memory0().subarray(ptr / 1, ptr / 1 + len); | ||
@@ -232,9 +248,2 @@ } | ||
function _assertClass(instance, klass) { | ||
if (!(instance instanceof klass)) { | ||
throw new Error(`expected instance of ${klass.name}`); | ||
} | ||
return instance.ptr; | ||
} | ||
function handleError(f, args) { | ||
@@ -247,6 +256,9 @@ try { | ||
} | ||
function __wbg_adapter_94(arg0, arg1, arg2, arg3) { | ||
wasm.wasm_bindgen__convert__closures__invoke2_mut__he90dd2c7754530be(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3)); | ||
function __wbg_adapter_106(arg0, arg1, arg2, arg3) { | ||
wasm.wasm_bindgen__convert__closures__invoke2_mut__hccafb5075e088cab(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3)); | ||
} | ||
const ExtentFinalization = (typeof FinalizationRegistry === 'undefined') | ||
? { register: () => {}, unregister: () => {} } | ||
: new FinalizationRegistry(ptr => wasm.__wbg_extent_free(ptr >>> 0)); | ||
/** | ||
@@ -256,13 +268,6 @@ */ | ||
static __wrap(ptr) { | ||
const obj = Object.create(Extent.prototype); | ||
obj.ptr = ptr; | ||
return obj; | ||
} | ||
__destroy_into_raw() { | ||
const ptr = this.ptr; | ||
this.ptr = 0; | ||
const ptr = this.__wbg_ptr; | ||
this.__wbg_ptr = 0; | ||
ExtentFinalization.unregister(this); | ||
return ptr; | ||
@@ -279,3 +284,3 @@ } | ||
get start() { | ||
const ret = wasm.__wbg_get_extent_start(this.ptr); | ||
const ret = wasm.__wbg_get_extent_start(this.__wbg_ptr); | ||
return Location.__wrap(ret); | ||
@@ -289,3 +294,3 @@ } | ||
var ptr0 = arg0.__destroy_into_raw(); | ||
wasm.__wbg_set_extent_start(this.ptr, ptr0); | ||
wasm.__wbg_set_extent_start(this.__wbg_ptr, ptr0); | ||
} | ||
@@ -296,3 +301,3 @@ /** | ||
get end() { | ||
const ret = wasm.__wbg_get_extent_end(this.ptr); | ||
const ret = wasm.__wbg_get_extent_end(this.__wbg_ptr); | ||
return Location.__wrap(ret); | ||
@@ -306,3 +311,3 @@ } | ||
var ptr0 = arg0.__destroy_into_raw(); | ||
wasm.__wbg_set_extent_end(this.ptr, ptr0); | ||
wasm.__wbg_set_extent_end(this.__wbg_ptr, ptr0); | ||
} | ||
@@ -319,3 +324,4 @@ /** | ||
const ret = wasm.extent_new(ptr0, ptr1); | ||
return Extent.__wrap(ret); | ||
this.__wbg_ptr = ret >>> 0; | ||
return this; | ||
} | ||
@@ -329,6 +335,10 @@ /** | ||
_assertClass(other, Extent); | ||
const ret = wasm.extent_overlaps_with(this.ptr, other.ptr); | ||
const ret = wasm.extent_overlaps_with(this.__wbg_ptr, other.__wbg_ptr); | ||
return ret !== 0; | ||
} | ||
} | ||
const JavaFinalization = (typeof FinalizationRegistry === 'undefined') | ||
? { register: () => {}, unregister: () => {} } | ||
: new FinalizationRegistry(ptr => wasm.__wbg_java_free(ptr >>> 0)); | ||
/** | ||
@@ -339,5 +349,5 @@ */ | ||
__destroy_into_raw() { | ||
const ptr = this.ptr; | ||
this.ptr = 0; | ||
const ptr = this.__wbg_ptr; | ||
this.__wbg_ptr = 0; | ||
JavaFinalization.unregister(this); | ||
return ptr; | ||
@@ -374,2 +384,6 @@ } | ||
} | ||
const LocationFinalization = (typeof FinalizationRegistry === 'undefined') | ||
? { register: () => {}, unregister: () => {} } | ||
: new FinalizationRegistry(ptr => wasm.__wbg_location_free(ptr >>> 0)); | ||
/** | ||
@@ -380,5 +394,6 @@ */ | ||
static __wrap(ptr) { | ||
ptr = ptr >>> 0; | ||
const obj = Object.create(Location.prototype); | ||
obj.ptr = ptr; | ||
obj.__wbg_ptr = ptr; | ||
LocationFinalization.register(obj, obj.__wbg_ptr, obj); | ||
return obj; | ||
@@ -388,5 +403,5 @@ } | ||
__destroy_into_raw() { | ||
const ptr = this.ptr; | ||
this.ptr = 0; | ||
const ptr = this.__wbg_ptr; | ||
this.__wbg_ptr = 0; | ||
LocationFinalization.unregister(this); | ||
return ptr; | ||
@@ -403,3 +418,3 @@ } | ||
get line() { | ||
const ret = wasm.__wbg_get_location_line(this.ptr); | ||
const ret = wasm.__wbg_get_location_line(this.__wbg_ptr); | ||
return ret >>> 0; | ||
@@ -411,3 +426,3 @@ } | ||
set line(arg0) { | ||
wasm.__wbg_set_location_line(this.ptr, arg0); | ||
wasm.__wbg_set_location_line(this.__wbg_ptr, arg0); | ||
} | ||
@@ -418,3 +433,3 @@ /** | ||
get character() { | ||
const ret = wasm.__wbg_get_location_character(this.ptr); | ||
const ret = wasm.__wbg_get_location_character(this.__wbg_ptr); | ||
return ret >>> 0; | ||
@@ -426,3 +441,3 @@ } | ||
set character(arg0) { | ||
wasm.__wbg_set_location_character(this.ptr, arg0); | ||
wasm.__wbg_set_location_character(this.__wbg_ptr, arg0); | ||
} | ||
@@ -435,5 +450,10 @@ /** | ||
const ret = wasm.location_new(line, character); | ||
return Location.__wrap(ret); | ||
this.__wbg_ptr = ret >>> 0; | ||
return this; | ||
} | ||
} | ||
const PythonFinalization = (typeof FinalizationRegistry === 'undefined') | ||
? { register: () => {}, unregister: () => {} } | ||
: new FinalizationRegistry(ptr => wasm.__wbg_python_free(ptr >>> 0)); | ||
/** | ||
@@ -444,5 +464,5 @@ */ | ||
__destroy_into_raw() { | ||
const ptr = this.ptr; | ||
this.ptr = 0; | ||
const ptr = this.__wbg_ptr; | ||
this.__wbg_ptr = 0; | ||
PythonFinalization.unregister(this); | ||
return ptr; | ||
@@ -479,2 +499,6 @@ } | ||
} | ||
const TsxFinalization = (typeof FinalizationRegistry === 'undefined') | ||
? { register: () => {}, unregister: () => {} } | ||
: new FinalizationRegistry(ptr => wasm.__wbg_tsx_free(ptr >>> 0)); | ||
/** | ||
@@ -485,5 +509,5 @@ */ | ||
__destroy_into_raw() { | ||
const ptr = this.ptr; | ||
this.ptr = 0; | ||
const ptr = this.__wbg_ptr; | ||
this.__wbg_ptr = 0; | ||
TsxFinalization.unregister(this); | ||
return ptr; | ||
@@ -520,2 +544,6 @@ } | ||
} | ||
const TypeScriptFinalization = (typeof FinalizationRegistry === 'undefined') | ||
? { register: () => {}, unregister: () => {} } | ||
: new FinalizationRegistry(ptr => wasm.__wbg_typescript_free(ptr >>> 0)); | ||
/** | ||
@@ -526,5 +554,5 @@ */ | ||
__destroy_into_raw() { | ||
const ptr = this.ptr; | ||
this.ptr = 0; | ||
const ptr = this.__wbg_ptr; | ||
this.__wbg_ptr = 0; | ||
TypeScriptFinalization.unregister(this); | ||
return ptr; | ||
@@ -562,3 +590,3 @@ } | ||
export function __wbg_currentNode_093a7769336eab7e(arg0) { | ||
export function __wbg_currentNode_7d93152ef5d3895c(arg0) { | ||
const ret = getObject(arg0).currentNode(); | ||
@@ -572,3 +600,3 @@ return addHeapObject(ret); | ||
export function __wbg_gotoFirstChild_7075a897094600e3(arg0) { | ||
export function __wbg_gotoFirstChild_a19aeafce16d5dde(arg0) { | ||
const ret = getObject(arg0).gotoFirstChild(); | ||
@@ -578,11 +606,11 @@ return ret; | ||
export function __wbg_type_e53cae2f7812ceae(arg0, arg1) { | ||
export function __wbg_type_c6e73e96cc72cc4d(arg0, arg1) { | ||
const ret = getObject(arg1).type; | ||
const ptr0 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); | ||
const len0 = WASM_VECTOR_LEN; | ||
getInt32Memory0()[arg0 / 4 + 1] = len0; | ||
getInt32Memory0()[arg0 / 4 + 0] = ptr0; | ||
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); | ||
const len1 = WASM_VECTOR_LEN; | ||
getInt32Memory0()[arg0 / 4 + 1] = len1; | ||
getInt32Memory0()[arg0 / 4 + 0] = ptr1; | ||
}; | ||
export function __wbg_gotoNextSibling_eaa8c640bcca4880(arg0) { | ||
export function __wbg_gotoNextSibling_1d7d2e5b110824fd(arg0) { | ||
const ret = getObject(arg0).gotoNextSibling(); | ||
@@ -592,3 +620,3 @@ return ret; | ||
export function __wbg_gotoParent_59fcc6ec300b4feb(arg0) { | ||
export function __wbg_gotoParent_a1e80aa3f7687ce0(arg0) { | ||
const ret = getObject(arg0).gotoParent(); | ||
@@ -598,3 +626,3 @@ return ret; | ||
export function __wbg_startIndex_26ee6e9b7c1017b6(arg0) { | ||
export function __wbg_startIndex_d281739cb5dac0ae(arg0) { | ||
const ret = getObject(arg0).startIndex; | ||
@@ -604,3 +632,3 @@ return ret; | ||
export function __wbg_endIndex_4148461172075cf3(arg0) { | ||
export function __wbg_endIndex_4137e249cb14210e(arg0) { | ||
const ret = getObject(arg0).endIndex; | ||
@@ -610,3 +638,3 @@ return ret; | ||
export function __wbg_walk_da0aaf07aed690b6(arg0) { | ||
export function __wbg_walk_b49919f23a308fa0(arg0) { | ||
const ret = getObject(arg0).walk(); | ||
@@ -616,3 +644,3 @@ return addHeapObject(ret); | ||
export function __wbg_childForFieldName_119f2680ec7c7efd(arg0, arg1, arg2) { | ||
export function __wbg_childForFieldName_00283b203c25b8c9(arg0, arg1, arg2) { | ||
const ret = getObject(arg0).childForFieldName(getStringFromWasm0(arg1, arg2)); | ||
@@ -622,11 +650,11 @@ return isLikeNone(ret) ? 0 : addHeapObject(ret); | ||
export function __wbg_currentFieldName_c2081e4db340d04d(arg0, arg1) { | ||
export function __wbg_currentFieldName_2aac6f2717e99710(arg0, arg1) { | ||
const ret = getObject(arg1).currentFieldName(); | ||
var ptr0 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); | ||
var len0 = WASM_VECTOR_LEN; | ||
getInt32Memory0()[arg0 / 4 + 1] = len0; | ||
getInt32Memory0()[arg0 / 4 + 0] = ptr0; | ||
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); | ||
var len1 = WASM_VECTOR_LEN; | ||
getInt32Memory0()[arg0 / 4 + 1] = len1; | ||
getInt32Memory0()[arg0 / 4 + 0] = ptr1; | ||
}; | ||
export function __wbg_isNamed_c02c5878050cd675(arg0) { | ||
export function __wbg_isNamed_2b87ab7d125874e0(arg0) { | ||
const ret = getObject(arg0).isNamed(); | ||
@@ -636,3 +664,3 @@ return ret; | ||
export function __wbg_isMissing_3ecdcd46912167d6(arg0) { | ||
export function __wbg_isMissing_e3dc94efa6fe2cfa(arg0) { | ||
const ret = getObject(arg0).isMissing(); | ||
@@ -642,3 +670,3 @@ return ret; | ||
export function __wbg_startPosition_26cf1071c05e022b(arg0) { | ||
export function __wbg_startPosition_62aaa5fa75a5c552(arg0) { | ||
const ret = getObject(arg0).startPosition; | ||
@@ -648,3 +676,3 @@ return addHeapObject(ret); | ||
export function __wbg_endPosition_efa2f728a13ecdd8(arg0) { | ||
export function __wbg_endPosition_9f0bde6ce9adc28d(arg0) { | ||
const ret = getObject(arg0).endPosition; | ||
@@ -654,3 +682,3 @@ return addHeapObject(ret); | ||
export function __wbg_row_875d193d6d1575b2(arg0) { | ||
export function __wbg_row_c4b309d4108cd6bc(arg0) { | ||
const ret = getObject(arg0).row; | ||
@@ -660,3 +688,3 @@ return ret; | ||
export function __wbg_column_d6e901d5d161e70e(arg0) { | ||
export function __wbg_column_be86bdd1e28001b4(arg0) { | ||
const ret = getObject(arg0).column; | ||
@@ -666,13 +694,8 @@ return ret; | ||
export function __wbindgen_cb_drop(arg0) { | ||
const obj = takeObject(arg0).original; | ||
if (obj.cnt-- == 1) { | ||
obj.a = 0; | ||
return true; | ||
} | ||
const ret = false; | ||
return ret; | ||
export function __wbg_walk_4ea52b8152358632(arg0) { | ||
const ret = getObject(arg0).walk(); | ||
return addHeapObject(ret); | ||
}; | ||
export function __wbg_load_a63893bcd0964b6f(arg0, arg1) { | ||
export function __wbg_load_68d6a6183ec11899(arg0, arg1) { | ||
const ret = Parser.Language.load(getArrayU8FromWasm0(arg0, arg1)); | ||
@@ -682,3 +705,3 @@ return addHeapObject(ret); | ||
export function __wbg_new_655b51139b5b0148() { | ||
export function __wbg_new_70db7aebb0b06280() { | ||
const ret = new Parser(); | ||
@@ -688,7 +711,7 @@ return addHeapObject(ret); | ||
export function __wbg_setLanguage_a639a8700e9e27a9(arg0, arg1) { | ||
export function __wbg_setLanguage_8cc13f33cd02f69f(arg0, arg1) { | ||
getObject(arg0).setLanguage(takeObject(arg1)); | ||
}; | ||
export function __wbg_parse_1d43212d8128c427(arg0, arg1, arg2) { | ||
export function __wbg_parse_608674dd6b30b02f(arg0, arg1, arg2) { | ||
const ret = getObject(arg0).parse(getStringFromWasm0(arg1, arg2)); | ||
@@ -698,3 +721,3 @@ return addHeapObject(ret); | ||
export function __wbg_init_6a6d377f285a8436() { | ||
export function __wbg_init_1a7347640085d417() { | ||
const ret = Parser.init(); | ||
@@ -704,5 +727,10 @@ return addHeapObject(ret); | ||
export function __wbg_walk_f8f79cf13a3d77d6(arg0) { | ||
const ret = getObject(arg0).walk(); | ||
return addHeapObject(ret); | ||
export function __wbindgen_cb_drop(arg0) { | ||
const obj = takeObject(arg0).original; | ||
if (obj.cnt-- == 1) { | ||
obj.a = 0; | ||
return true; | ||
} | ||
const ret = false; | ||
return ret; | ||
}; | ||
@@ -730,2 +758,6 @@ | ||
export function __wbg_set_20cbc34131e76824(arg0, arg1, arg2) { | ||
getObject(arg0)[takeObject(arg1)] = takeObject(arg2); | ||
}; | ||
export function __wbindgen_error_new(arg0, arg1) { | ||
@@ -736,7 +768,17 @@ const ret = new Error(getStringFromWasm0(arg0, arg1)); | ||
export function __wbg_set_20cbc34131e76824(arg0, arg1, arg2) { | ||
getObject(arg0)[takeObject(arg1)] = takeObject(arg2); | ||
export function __wbg_queueMicrotask_f61ee94ee663068b(arg0) { | ||
queueMicrotask(getObject(arg0)); | ||
}; | ||
export function __wbg_new_b525de17f44a8943() { | ||
export function __wbg_queueMicrotask_f82fc5d1e8f816ae(arg0) { | ||
const ret = getObject(arg0).queueMicrotask; | ||
return addHeapObject(ret); | ||
}; | ||
export function __wbindgen_is_function(arg0) { | ||
const ret = typeof(getObject(arg0)) === 'function'; | ||
return ret; | ||
}; | ||
export function __wbg_new_75208e29bddfd88c() { | ||
const ret = new Array(); | ||
@@ -746,3 +788,13 @@ return addHeapObject(ret); | ||
export function __wbg_new_f9876326328f45ed() { | ||
export function __wbg_newnoargs_cfecb3965268594c(arg0, arg1) { | ||
const ret = new Function(getStringFromWasm0(arg0, arg1)); | ||
return addHeapObject(ret); | ||
}; | ||
export function __wbg_call_3f093dd26d5569f8() { return handleError(function (arg0, arg1) { | ||
const ret = getObject(arg0).call(getObject(arg1)); | ||
return addHeapObject(ret); | ||
}, arguments) }; | ||
export function __wbg_new_632630b5cec17f21() { | ||
const ret = new Object(); | ||
@@ -752,7 +804,32 @@ return addHeapObject(ret); | ||
export function __wbg_set_17224bc548dd1d7b(arg0, arg1, arg2) { | ||
export function __wbg_self_05040bd9523805b9() { return handleError(function () { | ||
const ret = self.self; | ||
return addHeapObject(ret); | ||
}, arguments) }; | ||
export function __wbg_window_adc720039f2cb14f() { return handleError(function () { | ||
const ret = window.window; | ||
return addHeapObject(ret); | ||
}, arguments) }; | ||
export function __wbg_globalThis_622105db80c1457d() { return handleError(function () { | ||
const ret = globalThis.globalThis; | ||
return addHeapObject(ret); | ||
}, arguments) }; | ||
export function __wbg_global_f56b013ed9bcf359() { return handleError(function () { | ||
const ret = global.global; | ||
return addHeapObject(ret); | ||
}, arguments) }; | ||
export function __wbindgen_is_undefined(arg0) { | ||
const ret = getObject(arg0) === undefined; | ||
return ret; | ||
}; | ||
export function __wbg_set_79c308ecd9a1d091(arg0, arg1, arg2) { | ||
getObject(arg0)[arg1 >>> 0] = takeObject(arg2); | ||
}; | ||
export function __wbg_call_9495de66fdbe016b() { return handleError(function (arg0, arg1, arg2) { | ||
export function __wbg_call_67f2111acd2dfdb6() { return handleError(function (arg0, arg1, arg2) { | ||
const ret = getObject(arg0).call(getObject(arg1), getObject(arg2)); | ||
@@ -762,3 +839,3 @@ return addHeapObject(ret); | ||
export function __wbg_new_9d3a9ce4282a18a8(arg0, arg1) { | ||
export function __wbg_new_70828a4353259d4b(arg0, arg1) { | ||
try { | ||
@@ -770,3 +847,3 @@ var state0 = {a: arg0, b: arg1}; | ||
try { | ||
return __wbg_adapter_94(a, state0.b, arg0, arg1); | ||
return __wbg_adapter_106(a, state0.b, arg0, arg1); | ||
} finally { | ||
@@ -783,3 +860,3 @@ state0.a = a; | ||
export function __wbg_resolve_fd40f858d9db1a04(arg0) { | ||
export function __wbg_resolve_5da6faf2c96fd1d5(arg0) { | ||
const ret = Promise.resolve(getObject(arg0)); | ||
@@ -789,3 +866,3 @@ return addHeapObject(ret); | ||
export function __wbg_then_ec5db6d509eb475f(arg0, arg1) { | ||
export function __wbg_then_f9e58f5a50f43eae(arg0, arg1) { | ||
const ret = getObject(arg0).then(getObject(arg1)); | ||
@@ -795,3 +872,3 @@ return addHeapObject(ret); | ||
export function __wbg_then_f753623316e2873a(arg0, arg1, arg2) { | ||
export function __wbg_then_20a5920e447d1cb1(arg0, arg1, arg2) { | ||
const ret = getObject(arg0).then(getObject(arg1), getObject(arg2)); | ||
@@ -803,6 +880,6 @@ return addHeapObject(ret); | ||
const ret = debugString(getObject(arg1)); | ||
const ptr0 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); | ||
const len0 = WASM_VECTOR_LEN; | ||
getInt32Memory0()[arg0 / 4 + 1] = len0; | ||
getInt32Memory0()[arg0 / 4 + 0] = ptr0; | ||
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); | ||
const len1 = WASM_VECTOR_LEN; | ||
getInt32Memory0()[arg0 / 4 + 1] = len1; | ||
getInt32Memory0()[arg0 / 4 + 0] = ptr1; | ||
}; | ||
@@ -814,6 +891,6 @@ | ||
export function __wbindgen_closure_wrapper1173(arg0, arg1, arg2) { | ||
const ret = makeMutClosure(arg0, arg1, 266, __wbg_adapter_20); | ||
export function __wbindgen_closure_wrapper1821(arg0, arg1, arg2) { | ||
const ret = makeMutClosure(arg0, arg1, 810, __wbg_adapter_24); | ||
return addHeapObject(ret); | ||
}; | ||
@@ -50,2 +50,3 @@ let imports = {}; | ||
function getStringFromWasm0(ptr, len) { | ||
ptr = ptr >>> 0; | ||
return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len)); | ||
@@ -140,3 +141,3 @@ } | ||
const buf = cachedTextEncoder.encode(arg); | ||
const ptr = malloc(buf.length); | ||
const ptr = malloc(buf.length, 1) >>> 0; | ||
getUint8Memory0().subarray(ptr, ptr + buf.length).set(buf); | ||
@@ -148,3 +149,3 @@ WASM_VECTOR_LEN = buf.length; | ||
let len = arg.length; | ||
let ptr = malloc(len); | ||
let ptr = malloc(len, 1) >>> 0; | ||
@@ -165,3 +166,3 @@ const mem = getUint8Memory0(); | ||
} | ||
ptr = realloc(ptr, len, len = offset + arg.length * 3); | ||
ptr = realloc(ptr, len, len = offset + arg.length * 3, 1) >>> 0; | ||
const view = getUint8Memory0().subarray(ptr + offset, ptr + len); | ||
@@ -171,2 +172,3 @@ const ret = encodeString(arg, view); | ||
offset += ret.written; | ||
ptr = realloc(ptr, len, offset, 1) >>> 0; | ||
} | ||
@@ -187,2 +189,8 @@ | ||
const CLOSURE_DTORS = (typeof FinalizationRegistry === 'undefined') | ||
? { register: () => {}, unregister: () => {} } | ||
: new FinalizationRegistry(state => { | ||
wasm.__wbindgen_export_2.get(state.dtor)(state.a, state.b) | ||
}); | ||
function makeMutClosure(arg0, arg1, dtor, f) { | ||
@@ -202,3 +210,3 @@ const state = { a: arg0, b: arg1, cnt: 1, dtor }; | ||
wasm.__wbindgen_export_2.get(state.dtor)(a, state.b); | ||
CLOSURE_DTORS.unregister(state); | ||
} else { | ||
@@ -210,10 +218,18 @@ state.a = a; | ||
real.original = state; | ||
CLOSURE_DTORS.register(real, state, state); | ||
return real; | ||
} | ||
function __wbg_adapter_20(arg0, arg1, arg2) { | ||
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__ha3ec03cb85ebe094(arg0, arg1, addHeapObject(arg2)); | ||
function __wbg_adapter_24(arg0, arg1, arg2) { | ||
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h3ee95b6ecc6204b4(arg0, arg1, addHeapObject(arg2)); | ||
} | ||
function _assertClass(instance, klass) { | ||
if (!(instance instanceof klass)) { | ||
throw new Error(`expected instance of ${klass.name}`); | ||
} | ||
return instance.ptr; | ||
} | ||
function getArrayU8FromWasm0(ptr, len) { | ||
ptr = ptr >>> 0; | ||
return getUint8Memory0().subarray(ptr / 1, ptr / 1 + len); | ||
@@ -226,9 +242,2 @@ } | ||
function _assertClass(instance, klass) { | ||
if (!(instance instanceof klass)) { | ||
throw new Error(`expected instance of ${klass.name}`); | ||
} | ||
return instance.ptr; | ||
} | ||
function handleError(f, args) { | ||
@@ -241,6 +250,9 @@ try { | ||
} | ||
function __wbg_adapter_94(arg0, arg1, arg2, arg3) { | ||
wasm.wasm_bindgen__convert__closures__invoke2_mut__he90dd2c7754530be(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3)); | ||
function __wbg_adapter_106(arg0, arg1, arg2, arg3) { | ||
wasm.wasm_bindgen__convert__closures__invoke2_mut__hccafb5075e088cab(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3)); | ||
} | ||
const ExtentFinalization = (typeof FinalizationRegistry === 'undefined') | ||
? { register: () => {}, unregister: () => {} } | ||
: new FinalizationRegistry(ptr => wasm.__wbg_extent_free(ptr >>> 0)); | ||
/** | ||
@@ -250,13 +262,6 @@ */ | ||
static __wrap(ptr) { | ||
const obj = Object.create(Extent.prototype); | ||
obj.ptr = ptr; | ||
return obj; | ||
} | ||
__destroy_into_raw() { | ||
const ptr = this.ptr; | ||
this.ptr = 0; | ||
const ptr = this.__wbg_ptr; | ||
this.__wbg_ptr = 0; | ||
ExtentFinalization.unregister(this); | ||
return ptr; | ||
@@ -273,3 +278,3 @@ } | ||
get start() { | ||
const ret = wasm.__wbg_get_extent_start(this.ptr); | ||
const ret = wasm.__wbg_get_extent_start(this.__wbg_ptr); | ||
return Location.__wrap(ret); | ||
@@ -283,3 +288,3 @@ } | ||
var ptr0 = arg0.__destroy_into_raw(); | ||
wasm.__wbg_set_extent_start(this.ptr, ptr0); | ||
wasm.__wbg_set_extent_start(this.__wbg_ptr, ptr0); | ||
} | ||
@@ -290,3 +295,3 @@ /** | ||
get end() { | ||
const ret = wasm.__wbg_get_extent_end(this.ptr); | ||
const ret = wasm.__wbg_get_extent_end(this.__wbg_ptr); | ||
return Location.__wrap(ret); | ||
@@ -300,3 +305,3 @@ } | ||
var ptr0 = arg0.__destroy_into_raw(); | ||
wasm.__wbg_set_extent_end(this.ptr, ptr0); | ||
wasm.__wbg_set_extent_end(this.__wbg_ptr, ptr0); | ||
} | ||
@@ -313,3 +318,4 @@ /** | ||
const ret = wasm.extent_new(ptr0, ptr1); | ||
return Extent.__wrap(ret); | ||
this.__wbg_ptr = ret >>> 0; | ||
return this; | ||
} | ||
@@ -323,3 +329,3 @@ /** | ||
_assertClass(other, Extent); | ||
const ret = wasm.extent_overlaps_with(this.ptr, other.ptr); | ||
const ret = wasm.extent_overlaps_with(this.__wbg_ptr, other.__wbg_ptr); | ||
return ret !== 0; | ||
@@ -329,2 +335,6 @@ } | ||
module.exports.Extent = Extent; | ||
const JavaFinalization = (typeof FinalizationRegistry === 'undefined') | ||
? { register: () => {}, unregister: () => {} } | ||
: new FinalizationRegistry(ptr => wasm.__wbg_java_free(ptr >>> 0)); | ||
/** | ||
@@ -335,5 +345,5 @@ */ | ||
__destroy_into_raw() { | ||
const ptr = this.ptr; | ||
this.ptr = 0; | ||
const ptr = this.__wbg_ptr; | ||
this.__wbg_ptr = 0; | ||
JavaFinalization.unregister(this); | ||
return ptr; | ||
@@ -371,2 +381,6 @@ } | ||
module.exports.Java = Java; | ||
const LocationFinalization = (typeof FinalizationRegistry === 'undefined') | ||
? { register: () => {}, unregister: () => {} } | ||
: new FinalizationRegistry(ptr => wasm.__wbg_location_free(ptr >>> 0)); | ||
/** | ||
@@ -377,5 +391,6 @@ */ | ||
static __wrap(ptr) { | ||
ptr = ptr >>> 0; | ||
const obj = Object.create(Location.prototype); | ||
obj.ptr = ptr; | ||
obj.__wbg_ptr = ptr; | ||
LocationFinalization.register(obj, obj.__wbg_ptr, obj); | ||
return obj; | ||
@@ -385,5 +400,5 @@ } | ||
__destroy_into_raw() { | ||
const ptr = this.ptr; | ||
this.ptr = 0; | ||
const ptr = this.__wbg_ptr; | ||
this.__wbg_ptr = 0; | ||
LocationFinalization.unregister(this); | ||
return ptr; | ||
@@ -400,3 +415,3 @@ } | ||
get line() { | ||
const ret = wasm.__wbg_get_location_line(this.ptr); | ||
const ret = wasm.__wbg_get_location_line(this.__wbg_ptr); | ||
return ret >>> 0; | ||
@@ -408,3 +423,3 @@ } | ||
set line(arg0) { | ||
wasm.__wbg_set_location_line(this.ptr, arg0); | ||
wasm.__wbg_set_location_line(this.__wbg_ptr, arg0); | ||
} | ||
@@ -415,3 +430,3 @@ /** | ||
get character() { | ||
const ret = wasm.__wbg_get_location_character(this.ptr); | ||
const ret = wasm.__wbg_get_location_character(this.__wbg_ptr); | ||
return ret >>> 0; | ||
@@ -423,3 +438,3 @@ } | ||
set character(arg0) { | ||
wasm.__wbg_set_location_character(this.ptr, arg0); | ||
wasm.__wbg_set_location_character(this.__wbg_ptr, arg0); | ||
} | ||
@@ -432,6 +447,11 @@ /** | ||
const ret = wasm.location_new(line, character); | ||
return Location.__wrap(ret); | ||
this.__wbg_ptr = ret >>> 0; | ||
return this; | ||
} | ||
} | ||
module.exports.Location = Location; | ||
const PythonFinalization = (typeof FinalizationRegistry === 'undefined') | ||
? { register: () => {}, unregister: () => {} } | ||
: new FinalizationRegistry(ptr => wasm.__wbg_python_free(ptr >>> 0)); | ||
/** | ||
@@ -442,5 +462,5 @@ */ | ||
__destroy_into_raw() { | ||
const ptr = this.ptr; | ||
this.ptr = 0; | ||
const ptr = this.__wbg_ptr; | ||
this.__wbg_ptr = 0; | ||
PythonFinalization.unregister(this); | ||
return ptr; | ||
@@ -478,2 +498,6 @@ } | ||
module.exports.Python = Python; | ||
const TsxFinalization = (typeof FinalizationRegistry === 'undefined') | ||
? { register: () => {}, unregister: () => {} } | ||
: new FinalizationRegistry(ptr => wasm.__wbg_tsx_free(ptr >>> 0)); | ||
/** | ||
@@ -484,5 +508,5 @@ */ | ||
__destroy_into_raw() { | ||
const ptr = this.ptr; | ||
this.ptr = 0; | ||
const ptr = this.__wbg_ptr; | ||
this.__wbg_ptr = 0; | ||
TsxFinalization.unregister(this); | ||
return ptr; | ||
@@ -520,2 +544,6 @@ } | ||
module.exports.Tsx = Tsx; | ||
const TypeScriptFinalization = (typeof FinalizationRegistry === 'undefined') | ||
? { register: () => {}, unregister: () => {} } | ||
: new FinalizationRegistry(ptr => wasm.__wbg_typescript_free(ptr >>> 0)); | ||
/** | ||
@@ -526,5 +554,5 @@ */ | ||
__destroy_into_raw() { | ||
const ptr = this.ptr; | ||
this.ptr = 0; | ||
const ptr = this.__wbg_ptr; | ||
this.__wbg_ptr = 0; | ||
TypeScriptFinalization.unregister(this); | ||
return ptr; | ||
@@ -563,3 +591,3 @@ } | ||
module.exports.__wbg_currentNode_093a7769336eab7e = function(arg0) { | ||
module.exports.__wbg_currentNode_7d93152ef5d3895c = function(arg0) { | ||
const ret = getObject(arg0).currentNode(); | ||
@@ -573,3 +601,3 @@ return addHeapObject(ret); | ||
module.exports.__wbg_gotoFirstChild_7075a897094600e3 = function(arg0) { | ||
module.exports.__wbg_gotoFirstChild_a19aeafce16d5dde = function(arg0) { | ||
const ret = getObject(arg0).gotoFirstChild(); | ||
@@ -579,11 +607,11 @@ return ret; | ||
module.exports.__wbg_type_e53cae2f7812ceae = function(arg0, arg1) { | ||
module.exports.__wbg_type_c6e73e96cc72cc4d = function(arg0, arg1) { | ||
const ret = getObject(arg1).type; | ||
const ptr0 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); | ||
const len0 = WASM_VECTOR_LEN; | ||
getInt32Memory0()[arg0 / 4 + 1] = len0; | ||
getInt32Memory0()[arg0 / 4 + 0] = ptr0; | ||
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); | ||
const len1 = WASM_VECTOR_LEN; | ||
getInt32Memory0()[arg0 / 4 + 1] = len1; | ||
getInt32Memory0()[arg0 / 4 + 0] = ptr1; | ||
}; | ||
module.exports.__wbg_gotoNextSibling_eaa8c640bcca4880 = function(arg0) { | ||
module.exports.__wbg_gotoNextSibling_1d7d2e5b110824fd = function(arg0) { | ||
const ret = getObject(arg0).gotoNextSibling(); | ||
@@ -593,3 +621,3 @@ return ret; | ||
module.exports.__wbg_gotoParent_59fcc6ec300b4feb = function(arg0) { | ||
module.exports.__wbg_gotoParent_a1e80aa3f7687ce0 = function(arg0) { | ||
const ret = getObject(arg0).gotoParent(); | ||
@@ -599,3 +627,3 @@ return ret; | ||
module.exports.__wbg_startIndex_26ee6e9b7c1017b6 = function(arg0) { | ||
module.exports.__wbg_startIndex_d281739cb5dac0ae = function(arg0) { | ||
const ret = getObject(arg0).startIndex; | ||
@@ -605,3 +633,3 @@ return ret; | ||
module.exports.__wbg_endIndex_4148461172075cf3 = function(arg0) { | ||
module.exports.__wbg_endIndex_4137e249cb14210e = function(arg0) { | ||
const ret = getObject(arg0).endIndex; | ||
@@ -611,3 +639,3 @@ return ret; | ||
module.exports.__wbg_walk_da0aaf07aed690b6 = function(arg0) { | ||
module.exports.__wbg_walk_b49919f23a308fa0 = function(arg0) { | ||
const ret = getObject(arg0).walk(); | ||
@@ -617,3 +645,3 @@ return addHeapObject(ret); | ||
module.exports.__wbg_childForFieldName_119f2680ec7c7efd = function(arg0, arg1, arg2) { | ||
module.exports.__wbg_childForFieldName_00283b203c25b8c9 = function(arg0, arg1, arg2) { | ||
const ret = getObject(arg0).childForFieldName(getStringFromWasm0(arg1, arg2)); | ||
@@ -623,11 +651,11 @@ return isLikeNone(ret) ? 0 : addHeapObject(ret); | ||
module.exports.__wbg_currentFieldName_c2081e4db340d04d = function(arg0, arg1) { | ||
module.exports.__wbg_currentFieldName_2aac6f2717e99710 = function(arg0, arg1) { | ||
const ret = getObject(arg1).currentFieldName(); | ||
var ptr0 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); | ||
var len0 = WASM_VECTOR_LEN; | ||
getInt32Memory0()[arg0 / 4 + 1] = len0; | ||
getInt32Memory0()[arg0 / 4 + 0] = ptr0; | ||
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); | ||
var len1 = WASM_VECTOR_LEN; | ||
getInt32Memory0()[arg0 / 4 + 1] = len1; | ||
getInt32Memory0()[arg0 / 4 + 0] = ptr1; | ||
}; | ||
module.exports.__wbg_isNamed_c02c5878050cd675 = function(arg0) { | ||
module.exports.__wbg_isNamed_2b87ab7d125874e0 = function(arg0) { | ||
const ret = getObject(arg0).isNamed(); | ||
@@ -637,3 +665,3 @@ return ret; | ||
module.exports.__wbg_isMissing_3ecdcd46912167d6 = function(arg0) { | ||
module.exports.__wbg_isMissing_e3dc94efa6fe2cfa = function(arg0) { | ||
const ret = getObject(arg0).isMissing(); | ||
@@ -643,3 +671,3 @@ return ret; | ||
module.exports.__wbg_startPosition_26cf1071c05e022b = function(arg0) { | ||
module.exports.__wbg_startPosition_62aaa5fa75a5c552 = function(arg0) { | ||
const ret = getObject(arg0).startPosition; | ||
@@ -649,3 +677,3 @@ return addHeapObject(ret); | ||
module.exports.__wbg_endPosition_efa2f728a13ecdd8 = function(arg0) { | ||
module.exports.__wbg_endPosition_9f0bde6ce9adc28d = function(arg0) { | ||
const ret = getObject(arg0).endPosition; | ||
@@ -655,3 +683,3 @@ return addHeapObject(ret); | ||
module.exports.__wbg_row_875d193d6d1575b2 = function(arg0) { | ||
module.exports.__wbg_row_c4b309d4108cd6bc = function(arg0) { | ||
const ret = getObject(arg0).row; | ||
@@ -661,3 +689,3 @@ return ret; | ||
module.exports.__wbg_column_d6e901d5d161e70e = function(arg0) { | ||
module.exports.__wbg_column_be86bdd1e28001b4 = function(arg0) { | ||
const ret = getObject(arg0).column; | ||
@@ -667,13 +695,8 @@ return ret; | ||
module.exports.__wbindgen_cb_drop = function(arg0) { | ||
const obj = takeObject(arg0).original; | ||
if (obj.cnt-- == 1) { | ||
obj.a = 0; | ||
return true; | ||
} | ||
const ret = false; | ||
return ret; | ||
module.exports.__wbg_walk_4ea52b8152358632 = function(arg0) { | ||
const ret = getObject(arg0).walk(); | ||
return addHeapObject(ret); | ||
}; | ||
module.exports.__wbg_load_a63893bcd0964b6f = function(arg0, arg1) { | ||
module.exports.__wbg_load_68d6a6183ec11899 = function(arg0, arg1) { | ||
const ret = Parser.Language.load(getArrayU8FromWasm0(arg0, arg1)); | ||
@@ -683,3 +706,3 @@ return addHeapObject(ret); | ||
module.exports.__wbg_new_655b51139b5b0148 = function() { | ||
module.exports.__wbg_new_70db7aebb0b06280 = function() { | ||
const ret = new Parser(); | ||
@@ -689,7 +712,7 @@ return addHeapObject(ret); | ||
module.exports.__wbg_setLanguage_a639a8700e9e27a9 = function(arg0, arg1) { | ||
module.exports.__wbg_setLanguage_8cc13f33cd02f69f = function(arg0, arg1) { | ||
getObject(arg0).setLanguage(takeObject(arg1)); | ||
}; | ||
module.exports.__wbg_parse_1d43212d8128c427 = function(arg0, arg1, arg2) { | ||
module.exports.__wbg_parse_608674dd6b30b02f = function(arg0, arg1, arg2) { | ||
const ret = getObject(arg0).parse(getStringFromWasm0(arg1, arg2)); | ||
@@ -699,3 +722,3 @@ return addHeapObject(ret); | ||
module.exports.__wbg_init_6a6d377f285a8436 = function() { | ||
module.exports.__wbg_init_1a7347640085d417 = function() { | ||
const ret = Parser.init(); | ||
@@ -705,5 +728,10 @@ return addHeapObject(ret); | ||
module.exports.__wbg_walk_f8f79cf13a3d77d6 = function(arg0) { | ||
const ret = getObject(arg0).walk(); | ||
return addHeapObject(ret); | ||
module.exports.__wbindgen_cb_drop = function(arg0) { | ||
const obj = takeObject(arg0).original; | ||
if (obj.cnt-- == 1) { | ||
obj.a = 0; | ||
return true; | ||
} | ||
const ret = false; | ||
return ret; | ||
}; | ||
@@ -731,2 +759,6 @@ | ||
module.exports.__wbg_set_20cbc34131e76824 = function(arg0, arg1, arg2) { | ||
getObject(arg0)[takeObject(arg1)] = takeObject(arg2); | ||
}; | ||
module.exports.__wbindgen_error_new = function(arg0, arg1) { | ||
@@ -737,7 +769,17 @@ const ret = new Error(getStringFromWasm0(arg0, arg1)); | ||
module.exports.__wbg_set_20cbc34131e76824 = function(arg0, arg1, arg2) { | ||
getObject(arg0)[takeObject(arg1)] = takeObject(arg2); | ||
module.exports.__wbg_queueMicrotask_f61ee94ee663068b = function(arg0) { | ||
queueMicrotask(getObject(arg0)); | ||
}; | ||
module.exports.__wbg_new_b525de17f44a8943 = function() { | ||
module.exports.__wbg_queueMicrotask_f82fc5d1e8f816ae = function(arg0) { | ||
const ret = getObject(arg0).queueMicrotask; | ||
return addHeapObject(ret); | ||
}; | ||
module.exports.__wbindgen_is_function = function(arg0) { | ||
const ret = typeof(getObject(arg0)) === 'function'; | ||
return ret; | ||
}; | ||
module.exports.__wbg_new_75208e29bddfd88c = function() { | ||
const ret = new Array(); | ||
@@ -747,3 +789,13 @@ return addHeapObject(ret); | ||
module.exports.__wbg_new_f9876326328f45ed = function() { | ||
module.exports.__wbg_newnoargs_cfecb3965268594c = function(arg0, arg1) { | ||
const ret = new Function(getStringFromWasm0(arg0, arg1)); | ||
return addHeapObject(ret); | ||
}; | ||
module.exports.__wbg_call_3f093dd26d5569f8 = function() { return handleError(function (arg0, arg1) { | ||
const ret = getObject(arg0).call(getObject(arg1)); | ||
return addHeapObject(ret); | ||
}, arguments) }; | ||
module.exports.__wbg_new_632630b5cec17f21 = function() { | ||
const ret = new Object(); | ||
@@ -753,7 +805,32 @@ return addHeapObject(ret); | ||
module.exports.__wbg_set_17224bc548dd1d7b = function(arg0, arg1, arg2) { | ||
module.exports.__wbg_self_05040bd9523805b9 = function() { return handleError(function () { | ||
const ret = self.self; | ||
return addHeapObject(ret); | ||
}, arguments) }; | ||
module.exports.__wbg_window_adc720039f2cb14f = function() { return handleError(function () { | ||
const ret = window.window; | ||
return addHeapObject(ret); | ||
}, arguments) }; | ||
module.exports.__wbg_globalThis_622105db80c1457d = function() { return handleError(function () { | ||
const ret = globalThis.globalThis; | ||
return addHeapObject(ret); | ||
}, arguments) }; | ||
module.exports.__wbg_global_f56b013ed9bcf359 = function() { return handleError(function () { | ||
const ret = global.global; | ||
return addHeapObject(ret); | ||
}, arguments) }; | ||
module.exports.__wbindgen_is_undefined = function(arg0) { | ||
const ret = getObject(arg0) === undefined; | ||
return ret; | ||
}; | ||
module.exports.__wbg_set_79c308ecd9a1d091 = function(arg0, arg1, arg2) { | ||
getObject(arg0)[arg1 >>> 0] = takeObject(arg2); | ||
}; | ||
module.exports.__wbg_call_9495de66fdbe016b = function() { return handleError(function (arg0, arg1, arg2) { | ||
module.exports.__wbg_call_67f2111acd2dfdb6 = function() { return handleError(function (arg0, arg1, arg2) { | ||
const ret = getObject(arg0).call(getObject(arg1), getObject(arg2)); | ||
@@ -763,3 +840,3 @@ return addHeapObject(ret); | ||
module.exports.__wbg_new_9d3a9ce4282a18a8 = function(arg0, arg1) { | ||
module.exports.__wbg_new_70828a4353259d4b = function(arg0, arg1) { | ||
try { | ||
@@ -771,3 +848,3 @@ var state0 = {a: arg0, b: arg1}; | ||
try { | ||
return __wbg_adapter_94(a, state0.b, arg0, arg1); | ||
return __wbg_adapter_106(a, state0.b, arg0, arg1); | ||
} finally { | ||
@@ -784,3 +861,3 @@ state0.a = a; | ||
module.exports.__wbg_resolve_fd40f858d9db1a04 = function(arg0) { | ||
module.exports.__wbg_resolve_5da6faf2c96fd1d5 = function(arg0) { | ||
const ret = Promise.resolve(getObject(arg0)); | ||
@@ -790,3 +867,3 @@ return addHeapObject(ret); | ||
module.exports.__wbg_then_ec5db6d509eb475f = function(arg0, arg1) { | ||
module.exports.__wbg_then_f9e58f5a50f43eae = function(arg0, arg1) { | ||
const ret = getObject(arg0).then(getObject(arg1)); | ||
@@ -796,3 +873,3 @@ return addHeapObject(ret); | ||
module.exports.__wbg_then_f753623316e2873a = function(arg0, arg1, arg2) { | ||
module.exports.__wbg_then_20a5920e447d1cb1 = function(arg0, arg1, arg2) { | ||
const ret = getObject(arg0).then(getObject(arg1), getObject(arg2)); | ||
@@ -804,6 +881,6 @@ return addHeapObject(ret); | ||
const ret = debugString(getObject(arg1)); | ||
const ptr0 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); | ||
const len0 = WASM_VECTOR_LEN; | ||
getInt32Memory0()[arg0 / 4 + 1] = len0; | ||
getInt32Memory0()[arg0 / 4 + 0] = ptr0; | ||
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); | ||
const len1 = WASM_VECTOR_LEN; | ||
getInt32Memory0()[arg0 / 4 + 1] = len1; | ||
getInt32Memory0()[arg0 / 4 + 0] = ptr1; | ||
}; | ||
@@ -815,4 +892,4 @@ | ||
module.exports.__wbindgen_closure_wrapper1173 = function(arg0, arg1, arg2) { | ||
const ret = makeMutClosure(arg0, arg1, 266, __wbg_adapter_20); | ||
module.exports.__wbindgen_closure_wrapper1821 = function(arg0, arg1, arg2) { | ||
const ret = makeMutClosure(arg0, arg1, 810, __wbg_adapter_24); | ||
return addHeapObject(ret); | ||
@@ -819,0 +896,0 @@ }; |
@@ -7,3 +7,3 @@ { | ||
"description": "For extracting def use statements from code.", | ||
"version": "2.1.2", | ||
"version": "2.1.3", | ||
"license": "Apache-2.0", | ||
@@ -10,0 +10,0 @@ "repository": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
6975631
1674
2