@influxdata/flux-lsp-node
Advanced tools
Comparing version 0.8.10 to 0.8.11
@@ -204,3 +204,3 @@ let imports = {}; | ||
function __wbg_adapter_16(arg0, arg1, arg2) { | ||
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb4e599d852aa722f(arg0, arg1, addHeapObject(arg2)); | ||
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h14b858bb29cc61b3(arg0, arg1, addHeapObject(arg2)); | ||
} | ||
@@ -223,5 +223,5 @@ | ||
module.exports.parse = function(script) { | ||
var ptr0 = passStringToWasm0(script, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); | ||
var len0 = WASM_VECTOR_LEN; | ||
var ret = wasm.parse(ptr0, len0); | ||
const ptr0 = passStringToWasm0(script, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); | ||
const len0 = WASM_VECTOR_LEN; | ||
const ret = wasm.parse(ptr0, len0); | ||
return takeObject(ret); | ||
@@ -267,3 +267,3 @@ }; | ||
function __wbg_adapter_26(arg0, arg1, arg2, arg3) { | ||
wasm.wasm_bindgen__convert__closures__invoke2_mut__hf96040080d2405e1(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3)); | ||
wasm.wasm_bindgen__convert__closures__invoke2_mut__hbfbffb43aa0590cc(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3)); | ||
} | ||
@@ -297,3 +297,3 @@ | ||
constructor() { | ||
var ret = wasm.lsp_new(); | ||
const ret = wasm.lsp_new(); | ||
return Lsp.__wrap(ret); | ||
@@ -315,5 +315,5 @@ } | ||
send(msg) { | ||
var ptr0 = passStringToWasm0(msg, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); | ||
var len0 = WASM_VECTOR_LEN; | ||
var ret = wasm.lsp_send(this.ptr, ptr0, len0); | ||
const ptr0 = passStringToWasm0(msg, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); | ||
const len0 = WASM_VECTOR_LEN; | ||
const ret = wasm.lsp_send(this.ptr, ptr0, len0); | ||
return takeObject(ret); | ||
@@ -331,3 +331,3 @@ } | ||
run() { | ||
var ret = wasm.lsp_run(this.ptr); | ||
const ret = wasm.lsp_run(this.ptr); | ||
return takeObject(ret); | ||
@@ -343,3 +343,3 @@ } | ||
module.exports.__wbindgen_string_new = function(arg0, arg1) { | ||
var ret = getStringFromWasm0(arg0, arg1); | ||
const ret = getStringFromWasm0(arg0, arg1); | ||
return addHeapObject(ret); | ||
@@ -349,3 +349,3 @@ }; | ||
module.exports.__wbindgen_json_parse = function(arg0, arg1) { | ||
var ret = JSON.parse(getStringFromWasm0(arg0, arg1)); | ||
const ret = JSON.parse(getStringFromWasm0(arg0, arg1)); | ||
return addHeapObject(ret); | ||
@@ -356,5 +356,5 @@ }; | ||
const obj = getObject(arg1); | ||
var ret = JSON.stringify(obj === undefined ? null : obj); | ||
var ptr0 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); | ||
var len0 = WASM_VECTOR_LEN; | ||
const ret = JSON.stringify(obj === undefined ? null : obj); | ||
const ptr0 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); | ||
const len0 = WASM_VECTOR_LEN; | ||
getInt32Memory0()[arg0 / 4 + 1] = len0; | ||
@@ -370,12 +370,12 @@ getInt32Memory0()[arg0 / 4 + 0] = ptr0; | ||
} | ||
var ret = false; | ||
const ret = false; | ||
return ret; | ||
}; | ||
module.exports.__wbg_call_94697a95cb7e239c = function() { return handleError(function (arg0, arg1, arg2) { | ||
var ret = getObject(arg0).call(getObject(arg1), getObject(arg2)); | ||
module.exports.__wbg_call_3ed288a247f13ea5 = function() { return handleError(function (arg0, arg1, arg2) { | ||
const ret = getObject(arg0).call(getObject(arg1), getObject(arg2)); | ||
return addHeapObject(ret); | ||
}, arguments) }; | ||
module.exports.__wbg_new_4beacc9c71572250 = function(arg0, arg1) { | ||
module.exports.__wbg_new_37705eed627d5ed9 = function(arg0, arg1) { | ||
try { | ||
@@ -392,3 +392,3 @@ var state0 = {a: arg0, b: arg1}; | ||
}; | ||
var ret = new Promise(cb0); | ||
const ret = new Promise(cb0); | ||
return addHeapObject(ret); | ||
@@ -400,9 +400,9 @@ } finally { | ||
module.exports.__wbg_resolve_4f8f547f26b30b27 = function(arg0) { | ||
var ret = Promise.resolve(getObject(arg0)); | ||
module.exports.__wbg_resolve_a9a87bdd64e9e62c = function(arg0) { | ||
const ret = Promise.resolve(getObject(arg0)); | ||
return addHeapObject(ret); | ||
}; | ||
module.exports.__wbg_then_a6860c82b90816ca = function(arg0, arg1) { | ||
var ret = getObject(arg0).then(getObject(arg1)); | ||
module.exports.__wbg_then_ce526c837d07b68f = function(arg0, arg1) { | ||
const ret = getObject(arg0).then(getObject(arg1)); | ||
return addHeapObject(ret); | ||
@@ -412,5 +412,5 @@ }; | ||
module.exports.__wbindgen_debug_string = function(arg0, arg1) { | ||
var ret = debugString(getObject(arg1)); | ||
var ptr0 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); | ||
var len0 = WASM_VECTOR_LEN; | ||
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; | ||
@@ -425,3 +425,3 @@ getInt32Memory0()[arg0 / 4 + 0] = ptr0; | ||
module.exports.__wbindgen_closure_wrapper9338 = function(arg0, arg1, arg2) { | ||
var ret = makeMutClosure(arg0, arg1, 1589, __wbg_adapter_16); | ||
const ret = makeMutClosure(arg0, arg1, 1590, __wbg_adapter_16); | ||
return addHeapObject(ret); | ||
@@ -428,0 +428,0 @@ }; |
@@ -7,3 +7,3 @@ { | ||
"description": "LSP support for the flux language", | ||
"version": "0.8.10", | ||
"version": "0.8.11", | ||
"license": "MIT", | ||
@@ -10,0 +10,0 @@ "repository": { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3117981
1