Socket
Socket
Sign inDemoInstall

@influxdata/flux-lsp-node

Package Overview
Dependencies
Maintainers
22
Versions
111
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@influxdata/flux-lsp-node - npm Package Compare versions

Comparing version 0.5.49 to 0.5.51

18

flux-lsp-node.d.ts
/* 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;
/**
* (Generated by WASM.)

@@ -25,3 +16,12 @@ * @param {string} s

/**
* 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;
/**
*/
export class Router {

@@ -28,0 +28,0 @@ free(): void;

let imports = {};
imports['__wbindgen_placeholder__'] = module.exports;
let wasm;
const { TextEncoder, TextDecoder } = require(String.raw`util`);
const { TextDecoder, TextEncoder } = require(String.raw`util`);

@@ -26,4 +26,15 @@ const heap = new Array(32).fill(undefined);

let WASM_VECTOR_LEN = 0;
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 });
cachedTextDecoder.decode();
let cachegetUint8Memory0 = null;

@@ -37,2 +48,8 @@ function getUint8Memory0() {

function getStringFromWasm0(ptr, len) {
return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len));
}
let WASM_VECTOR_LEN = 0;
let cachedTextEncoder = new TextEncoder('utf-8');

@@ -99,19 +116,2 @@

let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
cachedTextDecoder.decode();
function getStringFromWasm0(ptr, len) {
return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len));
}
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) {

@@ -142,3 +142,3 @@ const state = { a: arg0, b: arg1, cnt: 1, dtor };

function __wbg_adapter_16(arg0, arg1, arg2) {
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__ha5cd5e5ba8c15eef(arg0, arg1, addHeapObject(arg2));
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h96b5e1f25b53223b(arg0, arg1, addHeapObject(arg2));
}

@@ -154,25 +154,6 @@

function __wbg_adapter_33(arg0, arg1, arg2, arg3) {
wasm.wasm_bindgen__convert__closures__invoke2_mut__hb4e0704885caba16(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
wasm.wasm_bindgen__convert__closures__invoke2_mut__haa69260c24e5afff(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);
};
/**
* (Generated by WASM.)

@@ -208,3 +189,22 @@ * @param {string} s

/**
* 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);
};
/**
*/
class Router {

@@ -358,2 +358,12 @@

module.exports.__wbindgen_object_clone_ref = function(arg0) {
var ret = getObject(arg0);
return addHeapObject(ret);
};
module.exports.__wbindgen_string_new = function(arg0, arg1) {
var ret = getStringFromWasm0(arg0, arg1);
return addHeapObject(ret);
};
module.exports.__wbindgen_json_serialize = function(arg0, arg1) {

@@ -368,4 +378,4 @@ const obj = getObject(arg1);

module.exports.__wbindgen_string_new = function(arg0, arg1) {
var ret = getStringFromWasm0(arg0, arg1);
module.exports.__wbg_serverresponse_new = function(arg0) {
var ret = ServerResponse.__wrap(arg0);
return addHeapObject(ret);

@@ -384,12 +394,2 @@ };

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.__wbg_call_ba36642bd901572b = function() { return handleError(function (arg0, arg1) {

@@ -453,4 +453,4 @@ var ret = getObject(arg0).call(getObject(arg1));

module.exports.__wbindgen_closure_wrapper834 = function(arg0, arg1, arg2) {
var ret = makeMutClosure(arg0, arg1, 164, __wbg_adapter_16);
module.exports.__wbindgen_closure_wrapper830 = function(arg0, arg1, arg2) {
var ret = makeMutClosure(arg0, arg1, 180, __wbg_adapter_16);
return addHeapObject(ret);

@@ -457,0 +457,0 @@ };

@@ -7,3 +7,3 @@ {

"description": "LSP support for the flux language",
"version": "0.5.49",
"version": "0.5.51",
"license": "MIT",

@@ -10,0 +10,0 @@ "repository": {

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc