@influxdata/flux-lsp-node
Advanced tools
Comparing version 0.5.19 to 0.5.20
/* tslint:disable */ | ||
/* eslint-disable */ | ||
/** | ||
* wasm version of the flux_find_var_type() API. Instead of returning a flat buffer that contains | ||
* the MonoType, it returns a JsValue。 | ||
* @param {string} source | ||
* @param {string} file_name | ||
* @param {string} var_name | ||
* @returns {any} | ||
*/ | ||
export function wasm_find_var_type(source: string, file_name: string, var_name: string): any; | ||
/** | ||
* @param {any} js_file | ||
@@ -5,0 +14,0 @@ * @returns {string} |
@@ -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; | ||
@@ -63,2 +54,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; | ||
} | ||
let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true }); | ||
@@ -100,3 +100,3 @@ | ||
function __wbg_adapter_16(arg0, arg1, arg2) { | ||
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h5d832446ac46780e(arg0, arg1, addHeapObject(arg2)); | ||
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__he22e5f59632b770b(arg0, arg1, addHeapObject(arg2)); | ||
} | ||
@@ -115,6 +115,25 @@ | ||
function __wbg_adapter_33(arg0, arg1, arg2, arg3) { | ||
wasm.wasm_bindgen__convert__closures__invoke2_mut__h68baa182ce9f772d(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3)); | ||
wasm.wasm_bindgen__convert__closures__invoke2_mut__h1929b75737cdcfdd(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3)); | ||
} | ||
/** | ||
* wasm version of the flux_find_var_type() API. Instead of returning a flat buffer that contains | ||
* the MonoType, it returns a JsValue。 | ||
* @param {string} source | ||
* @param {string} file_name | ||
* @param {string} var_name | ||
* @returns {any} | ||
*/ | ||
module.exports.wasm_find_var_type = function(source, file_name, var_name) { | ||
var ptr0 = passStringToWasm0(source, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); | ||
var len0 = WASM_VECTOR_LEN; | ||
var ptr1 = passStringToWasm0(file_name, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); | ||
var len1 = WASM_VECTOR_LEN; | ||
var ptr2 = passStringToWasm0(var_name, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); | ||
var len2 = WASM_VECTOR_LEN; | ||
var ret = wasm.wasm_find_var_type(ptr0, len0, ptr1, len1, ptr2, len2); | ||
return takeObject(ret); | ||
}; | ||
/** | ||
* @param {any} js_file | ||
@@ -270,7 +289,2 @@ * @returns {string} | ||
module.exports.__wbindgen_object_clone_ref = function(arg0) { | ||
var ret = getObject(arg0); | ||
return addHeapObject(ret); | ||
}; | ||
module.exports.__wbindgen_json_serialize = function(arg0, arg1) { | ||
@@ -285,4 +299,4 @@ const obj = getObject(arg1); | ||
module.exports.__wbindgen_string_new = function(arg0, arg1) { | ||
var ret = getStringFromWasm0(arg0, arg1); | ||
module.exports.__wbindgen_object_clone_ref = function(arg0) { | ||
var ret = getObject(arg0); | ||
return addHeapObject(ret); | ||
@@ -296,2 +310,7 @@ }; | ||
module.exports.__wbindgen_string_new = function(arg0, arg1) { | ||
var ret = getStringFromWasm0(arg0, arg1); | ||
return addHeapObject(ret); | ||
}; | ||
module.exports.__wbindgen_cb_drop = function(arg0) { | ||
@@ -365,4 +384,4 @@ const obj = takeObject(arg0).original; | ||
module.exports.__wbindgen_closure_wrapper836 = function(arg0, arg1, arg2) { | ||
var ret = makeMutClosure(arg0, arg1, 160, __wbg_adapter_16); | ||
module.exports.__wbindgen_closure_wrapper815 = function(arg0, arg1, arg2) { | ||
var ret = makeMutClosure(arg0, arg1, 157, __wbg_adapter_16); | ||
return addHeapObject(ret); | ||
@@ -369,0 +388,0 @@ }; |
{ | ||
"name": "@influxdata/flux-lsp-node", | ||
"collaborators": [ | ||
"Brandon Farmer <bthesorceror@gmail.com>" | ||
"Flux Developers <flux-developers@influxdata.com>" | ||
], | ||
"description": "LSP support for the flux language", | ||
"version": "0.5.19", | ||
"version": "0.5.20", | ||
"license": "MIT", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/influxdata/flux-lsp-node" | ||
"url": "https://github.com/influxdata/flux-lsp" | ||
}, | ||
@@ -13,0 +13,0 @@ "files": [ |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
3677044
37
406
1