Socket
Socket
Sign inDemoInstall

@influxdata/flux-lsp-node

Package Overview
Dependencies
Maintainers
23
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.6.4 to 0.6.6

11

flux-lsp-node.d.ts

@@ -16,14 +16,3 @@ /* tslint:disable */

/**
* Gets json docs for the entire stdlib
* @returns {any}
*/
export function get_all_docs(): any;
/**
* Gets json docs from a Flux identifier
* @param {string} flux_path
* @returns {any}
*/
export function get_json_documentation(flux_path: string): any;
/**
*/
export class Server {

@@ -30,0 +19,0 @@ free(): void;

129

flux-lsp-node.js

@@ -6,2 +6,31 @@ let imports = {};

const heap = new Array(32).fill(undefined);
heap.push(undefined, null, true, false);
function getObject(idx) { return heap[idx]; }
let heap_next = heap.length;
function dropObject(idx) {
if (idx < 36) return;
heap[idx] = heap_next;
heap_next = idx;
}
function takeObject(idx) {
const ret = getObject(idx);
dropObject(idx);
return ret;
}
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 });

@@ -23,19 +52,2 @@

const heap = new Array(32).fill(undefined);
heap.push(undefined, null, true, false);
let heap_next = heap.length;
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 getObject(idx) { return heap[idx]; }
let WASM_VECTOR_LEN = 0;

@@ -104,14 +116,2 @@

function dropObject(idx) {
if (idx < 36) return;
heap[idx] = heap_next;
heap_next = idx;
}
function takeObject(idx) {
const ret = getObject(idx);
dropObject(idx);
return ret;
}
function isLikeNone(x) {

@@ -146,3 +146,3 @@ return x === undefined || x === null;

function __wbg_adapter_16(arg0, arg1, arg2) {
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__heb88c0c007a02a04(arg0, arg1, addHeapObject(arg2));
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hd575a1d644fa6802(arg0, arg1, addHeapObject(arg2));
}

@@ -180,23 +180,2 @@

/**
* Gets json docs for the entire stdlib
* @returns {any}
*/
module.exports.get_all_docs = function() {
var ret = wasm.get_all_docs();
return takeObject(ret);
};
/**
* Gets json docs from a Flux identifier
* @param {string} flux_path
* @returns {any}
*/
module.exports.get_json_documentation = function(flux_path) {
var ptr0 = passStringToWasm0(flux_path, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
var len0 = WASM_VECTOR_LEN;
var ret = wasm.get_json_documentation(ptr0, len0);
return takeObject(ret);
};
function handleError(f, args) {

@@ -209,4 +188,4 @@ try {

}
function __wbg_adapter_35(arg0, arg1, arg2, arg3) {
wasm.wasm_bindgen__convert__closures__invoke2_mut__h99e89a5ccaddee92(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
function __wbg_adapter_33(arg0, arg1, arg2, arg3) {
wasm.wasm_bindgen__convert__closures__invoke2_mut__h25ca7b67f857e6a6(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
}

@@ -343,2 +322,21 @@

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_drop_ref = function(arg0) {
takeObject(arg0);
};
module.exports.__wbindgen_object_clone_ref = function(arg0) {
var ret = getObject(arg0);
return addHeapObject(ret);
};
module.exports.__wbindgen_json_parse = function(arg0, arg1) {

@@ -358,16 +356,2 @@ var ret = JSON.parse(getStringFromWasm0(arg0, arg1));

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.__wbg_serverresponse_new = function(arg0) {

@@ -378,7 +362,2 @@ var ret = ServerResponse.__wrap(arg0);

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

@@ -410,3 +389,3 @@ const obj = getObject(arg1);

try {
return __wbg_adapter_35(a, state0.b, arg0, arg1);
return __wbg_adapter_33(a, state0.b, arg0, arg1);
} finally {

@@ -442,4 +421,4 @@ state0.a = a;

module.exports.__wbindgen_closure_wrapper2899 = function(arg0, arg1, arg2) {
var ret = makeMutClosure(arg0, arg1, 775, __wbg_adapter_16);
module.exports.__wbindgen_closure_wrapper2921 = function(arg0, arg1, arg2) {
var ret = makeMutClosure(arg0, arg1, 795, __wbg_adapter_16);
return addHeapObject(ret);

@@ -446,0 +425,0 @@ };

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

"description": "LSP support for the flux language",
"version": "0.6.4",
"version": "0.6.6",
"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