@influxdata/flux-lsp-cli
Advanced tools
Comparing version 0.5.3 to 0.5.4
@@ -14,11 +14,2 @@ let wasm; | ||
function addHeapObject(obj) { | ||
if (heap_next === heap.length) heap.push(heap.length + 1); | ||
const idx = heap_next; | ||
heap_next = heap[idx]; | ||
heap[idx] = obj; | ||
return idx; | ||
} | ||
function dropObject(idx) { | ||
@@ -36,2 +27,11 @@ if (idx < 36) return; | ||
function addHeapObject(obj) { | ||
if (heap_next === heap.length) heap.push(heap.length + 1); | ||
const idx = heap_next; | ||
heap_next = heap[idx]; | ||
heap[idx] = obj; | ||
return idx; | ||
} | ||
let WASM_VECTOR_LEN = 0; | ||
@@ -79,3 +79,3 @@ | ||
} | ||
function __wbg_adapter_16(arg0, arg1, arg2) { | ||
function __wbg_adapter_14(arg0, arg1, arg2) { | ||
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h5425672529e79e40(arg0, arg1, addHeapObject(arg2)); | ||
@@ -87,3 +87,3 @@ } | ||
} | ||
function __wbg_adapter_29(arg0, arg1, arg2, arg3) { | ||
function __wbg_adapter_26(arg0, arg1, arg2, arg3) { | ||
wasm.wasm_bindgen__convert__closures__invoke2_mut__he62f6dc15be28482(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3)); | ||
@@ -146,9 +146,2 @@ } | ||
/** | ||
* @returns {any} | ||
*/ | ||
get_buckets() { | ||
var ret = wasm.server_get_buckets(this.ptr); | ||
return takeObject(ret); | ||
} | ||
/** | ||
* @param {string} msg | ||
@@ -213,2 +206,16 @@ * @returns {any} | ||
module.exports.__wbindgen_object_drop_ref = function(arg0) { | ||
takeObject(arg0); | ||
}; | ||
module.exports.__wbindgen_cb_drop = function(arg0) { | ||
const obj = takeObject(arg0).original; | ||
if (obj.cnt-- == 1) { | ||
obj.a = 0; | ||
return true; | ||
} | ||
var ret = false; | ||
return ret; | ||
}; | ||
module.exports.__wbindgen_object_clone_ref = function(arg0) { | ||
@@ -219,6 +226,2 @@ var ret = getObject(arg0); | ||
module.exports.__wbindgen_object_drop_ref = function(arg0) { | ||
takeObject(arg0); | ||
}; | ||
module.exports.__wbindgen_json_serialize = function(arg0, arg1) { | ||
@@ -233,7 +236,2 @@ const obj = getObject(arg1); | ||
module.exports.__wbindgen_string_new = function(arg0, arg1) { | ||
var ret = getStringFromWasm0(arg0, arg1); | ||
return addHeapObject(ret); | ||
}; | ||
module.exports.__wbg_serverresponse_new = function(arg0) { | ||
@@ -244,12 +242,2 @@ var ret = ServerResponse.__wrap(arg0); | ||
module.exports.__wbindgen_cb_drop = function(arg0) { | ||
const obj = takeObject(arg0).original; | ||
if (obj.cnt-- == 1) { | ||
obj.a = 0; | ||
return true; | ||
} | ||
var ret = false; | ||
return ret; | ||
}; | ||
module.exports.__wbg_call_12b949cfc461d154 = function(arg0, arg1) { | ||
@@ -280,3 +268,3 @@ try { | ||
try { | ||
return __wbg_adapter_29(a, state0.b, arg0, arg1); | ||
return __wbg_adapter_26(a, state0.b, arg0, arg1); | ||
} finally { | ||
@@ -317,3 +305,3 @@ state0.a = a; | ||
module.exports.__wbindgen_closure_wrapper686 = function(arg0, arg1, arg2) { | ||
module.exports.__wbindgen_closure_wrapper669 = function(arg0, arg1, arg2) { | ||
@@ -326,5 +314,5 @@ const state = { a: arg0, b: arg1, cnt: 1 }; | ||
try { | ||
return __wbg_adapter_16(a, state.b, arg0); | ||
return __wbg_adapter_14(a, state.b, arg0); | ||
} finally { | ||
if (--state.cnt === 0) wasm.__wbindgen_export_2.get(170)(a, state.b); | ||
if (--state.cnt === 0) wasm.__wbindgen_export_2.get(166)(a, state.b); | ||
else state.a = a; | ||
@@ -331,0 +319,0 @@ } |
{ | ||
"name": "@influxdata/flux-lsp-cli", | ||
"version": "0.5.3", | ||
"version": "0.5.4", | ||
"description": "Flux cli LSP server", | ||
@@ -24,3 +24,3 @@ "repository": { | ||
"dependencies": { | ||
"@influxdata/flux-lsp-node": "^0.3.0", | ||
"@influxdata/flux-lsp-node": "^0.3.1", | ||
"through2": "^3.0.1", | ||
@@ -27,0 +27,0 @@ "yargs": "^15.0.2" |
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
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
2624691
427