@influxdata/flux-lsp-node
Advanced tools
Comparing version 0.5.7 to 0.5.8
@@ -40,2 +40,6 @@ /* tslint:disable */ | ||
/** | ||
* @param {Function} f | ||
*/ | ||
register_tag_values_callback(f: Function): void; | ||
/** | ||
* @param {string} msg | ||
@@ -42,0 +46,0 @@ * @returns {Promise<any>} |
@@ -26,11 +26,2 @@ let imports = {}; | ||
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,2 +70,11 @@ | ||
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 makeMutClosure(arg0, arg1, dtor, f) { | ||
@@ -113,3 +113,3 @@ const state = { a: arg0, b: arg1, cnt: 1 }; | ||
} | ||
function __wbg_adapter_30(arg0, arg1, arg2, arg3) { | ||
function __wbg_adapter_33(arg0, arg1, arg2, arg3) { | ||
wasm.wasm_bindgen__convert__closures__invoke2_mut__h9ecb58ecf2168c35(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3)); | ||
@@ -200,2 +200,8 @@ } | ||
/** | ||
* @param {Function} f | ||
*/ | ||
register_tag_values_callback(f) { | ||
wasm.server_register_tag_values_callback(this.ptr, addHeapObject(f)); | ||
} | ||
/** | ||
* @param {string} msg | ||
@@ -274,12 +280,2 @@ * @returns {Promise<any>} | ||
module.exports.__wbindgen_object_clone_ref = function(arg0) { | ||
var ret = getObject(arg0); | ||
return addHeapObject(ret); | ||
}; | ||
module.exports.__wbg_serverresponse_new = function(arg0) { | ||
var ret = ServerResponse.__wrap(arg0); | ||
return addHeapObject(ret); | ||
}; | ||
module.exports.__wbindgen_json_serialize = function(arg0, arg1) { | ||
@@ -299,2 +295,12 @@ const obj = getObject(arg1); | ||
module.exports.__wbg_serverresponse_new = function(arg0) { | ||
var ret = ServerResponse.__wrap(arg0); | ||
return addHeapObject(ret); | ||
}; | ||
module.exports.__wbindgen_object_clone_ref = function(arg0) { | ||
var ret = getObject(arg0); | ||
return addHeapObject(ret); | ||
}; | ||
module.exports.__wbg_call_1f85aaa5836dfb23 = handleError(function(arg0, arg1) { | ||
@@ -310,2 +316,7 @@ var ret = getObject(arg0).call(getObject(arg1)); | ||
module.exports.__wbg_call_740b86f47a550a76 = handleError(function(arg0, arg1, arg2, arg3) { | ||
var ret = getObject(arg0).call(getObject(arg1), getObject(arg2), getObject(arg3)); | ||
return addHeapObject(ret); | ||
}); | ||
module.exports.__wbg_new_09f2ad087112acf0 = function(arg0, arg1) { | ||
@@ -318,3 +329,3 @@ try { | ||
try { | ||
return __wbg_adapter_30(a, state0.b, arg0, arg1); | ||
return __wbg_adapter_33(a, state0.b, arg0, arg1); | ||
} finally { | ||
@@ -355,4 +366,4 @@ state0.a = a; | ||
module.exports.__wbindgen_closure_wrapper802 = function(arg0, arg1, arg2) { | ||
var ret = makeMutClosure(arg0, arg1, 165, __wbg_adapter_16); | ||
module.exports.__wbindgen_closure_wrapper819 = function(arg0, arg1, arg2) { | ||
var ret = makeMutClosure(arg0, arg1, 167, __wbg_adapter_16); | ||
return addHeapObject(ret); | ||
@@ -359,0 +370,0 @@ }; |
@@ -7,3 +7,3 @@ { | ||
"description": "LSP support for the flux language", | ||
"version": "0.5.7", | ||
"version": "0.5.8", | ||
"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
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
3417839
379