@influxdata/flux-lsp-node
Advanced tools
Comparing version 0.5.5 to 0.5.6
/* tslint:disable */ | ||
/* eslint-disable */ | ||
/** | ||
* @param {any} js_file | ||
* @returns {string} | ||
*/ | ||
export function format_from_js_file(js_file: any): string; | ||
/** | ||
* @param {string} s | ||
@@ -9,8 +14,3 @@ * @returns {any} | ||
/** | ||
* @param {any} js_file | ||
* @returns {string} | ||
*/ | ||
export function format_from_js_file(js_file: any): string; | ||
/** | ||
*/ | ||
export class Router { | ||
@@ -17,0 +17,0 @@ free(): void; |
@@ -14,11 +14,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; | ||
} | ||
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; | ||
@@ -118,13 +118,2 @@ | ||
/** | ||
* @param {string} s | ||
* @returns {any} | ||
*/ | ||
module.exports.parse = function(s) { | ||
var ptr0 = passStringToWasm0(s, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); | ||
var len0 = WASM_VECTOR_LEN; | ||
var ret = wasm.parse(ptr0, len0); | ||
return takeObject(ret); | ||
}; | ||
/** | ||
* @param {any} js_file | ||
@@ -145,3 +134,14 @@ * @returns {string} | ||
/** | ||
* @param {string} s | ||
* @returns {any} | ||
*/ | ||
module.exports.parse = function(s) { | ||
var ptr0 = passStringToWasm0(s, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); | ||
var len0 = WASM_VECTOR_LEN; | ||
var ret = wasm.parse(ptr0, len0); | ||
return takeObject(ret); | ||
}; | ||
/** | ||
*/ | ||
class Router { | ||
@@ -260,2 +260,16 @@ | ||
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) { | ||
@@ -266,6 +280,2 @@ var ret = getObject(arg0); | ||
module.exports.__wbindgen_object_drop_ref = function(arg0) { | ||
takeObject(arg0); | ||
}; | ||
module.exports.__wbg_serverresponse_new = function(arg0) { | ||
@@ -290,12 +300,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_1f85aaa5836dfb23 = handleError(function(arg0, arg1) { | ||
@@ -354,4 +354,4 @@ var ret = getObject(arg0).call(getObject(arg1)); | ||
module.exports.__wbindgen_closure_wrapper841 = function(arg0, arg1, arg2) { | ||
var ret = makeMutClosure(arg0, arg1, 169, __wbg_adapter_16); | ||
module.exports.__wbindgen_closure_wrapper799 = function(arg0, arg1, arg2) { | ||
var ret = makeMutClosure(arg0, arg1, 162, __wbg_adapter_16); | ||
return addHeapObject(ret); | ||
@@ -358,0 +358,0 @@ }; |
@@ -7,3 +7,3 @@ { | ||
"description": "LSP support for the flux language", | ||
"version": "0.5.5", | ||
"version": "0.5.6", | ||
"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
3392176
1