Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@influxdata/flux-lsp-browser

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-browser - npm Package Compare versions

Comparing version 0.6.2 to 0.6.3

110

flux-lsp-browser_bg.js

@@ -139,4 +139,4 @@ import * as wasm from './flux-lsp-browser_bg.wasm';

}
function __wbg_adapter_14(arg0, arg1, arg2) {
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hf7a2f9b1a37f6d9b(arg0, arg1, addHeapObject(arg2));
function __wbg_adapter_12(arg0, arg1, arg2) {
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h85df2328d2f5c28c(arg0, arg1, addHeapObject(arg2));
}

@@ -151,69 +151,8 @@

}
function __wbg_adapter_29(arg0, arg1, arg2, arg3) {
wasm.wasm_bindgen__convert__closures__invoke2_mut__h07498e7d2b43ceb3(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
function __wbg_adapter_27(arg0, arg1, arg2, arg3) {
wasm.wasm_bindgen__convert__closures__invoke2_mut__h7f17ca076f1f0367(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
}
/**
* (Generated by WASM.)
* @param {string} s
* @returns {any}
*/
export function parse(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);
}
/**
* Format a JS file.
* @param {any} js_file
* @returns {string}
*/
export function format_from_js_file(js_file) {
try {
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
wasm.format_from_js_file(retptr, addHeapObject(js_file));
var r0 = getInt32Memory0()[retptr / 4 + 0];
var r1 = getInt32Memory0()[retptr / 4 + 1];
return getStringFromWasm0(r0, r1);
} finally {
wasm.__wbindgen_add_to_stack_pointer(16);
wasm.__wbindgen_free(r0, r1);
}
}
/**
* 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, 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);
}
/**
* Gets json docs from a Flux identifier
* @param {string} flux_identifier
* @returns {any}
*/
export function get_json_documentation(flux_identifier) {
var ptr0 = passStringToWasm0(flux_identifier, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
var len0 = WASM_VECTOR_LEN;
var ret = wasm.get_json_documentation(ptr0, len0);
return takeObject(ret);
}
/**
*/
export class Server {

@@ -353,11 +292,2 @@

export function __wbindgen_json_serialize(arg0, arg1) {
const obj = getObject(arg1);
var ret = JSON.stringify(obj === undefined ? null : obj);
var ptr0 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
var len0 = WASM_VECTOR_LEN;
getInt32Memory0()[arg0 / 4 + 1] = len0;
getInt32Memory0()[arg0 / 4 + 0] = ptr0;
};
export function __wbg_serverresponse_new(arg0) {

@@ -378,3 +308,12 @@ var ret = ServerResponse.__wrap(arg0);

export function __wbg_call_9698e9b9c4668ae0() { return handleError(function (arg0, arg1) {
export function __wbindgen_json_serialize(arg0, arg1) {
const obj = getObject(arg1);
var ret = JSON.stringify(obj === undefined ? null : obj);
var ptr0 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
var len0 = WASM_VECTOR_LEN;
getInt32Memory0()[arg0 / 4 + 1] = len0;
getInt32Memory0()[arg0 / 4 + 0] = ptr0;
};
export function __wbg_call_e91f71ddf1f45cff() { return handleError(function (arg0, arg1) {
var ret = getObject(arg0).call(getObject(arg1));

@@ -384,3 +323,3 @@ return addHeapObject(ret);

export function __wbg_call_4438b4bab9ab5268() { return handleError(function (arg0, arg1, arg2) {
export function __wbg_call_e3c72355d091d5d4() { return handleError(function (arg0, arg1, arg2) {
var ret = getObject(arg0).call(getObject(arg1), getObject(arg2));

@@ -390,3 +329,3 @@ return addHeapObject(ret);

export function __wbg_new_ae366b99da42660b(arg0, arg1) {
export function __wbg_new_119f8177d8717c43(arg0, arg1) {
try {

@@ -398,3 +337,3 @@ var state0 = {a: arg0, b: arg1};

try {
return __wbg_adapter_29(a, state0.b, arg0, arg1);
return __wbg_adapter_27(a, state0.b, arg0, arg1);
} finally {

@@ -411,3 +350,3 @@ state0.a = a;

export function __wbg_resolve_84f06d050082a771(arg0) {
export function __wbg_resolve_7161ec6fd5b1cd29(arg0) {
var ret = Promise.resolve(getObject(arg0));

@@ -417,3 +356,3 @@ return addHeapObject(ret);

export function __wbg_then_fd35af33296a58d7(arg0, arg1) {
export function __wbg_then_6d5072fec3fdb237(arg0, arg1) {
var ret = getObject(arg0).then(getObject(arg1));

@@ -423,3 +362,3 @@ return addHeapObject(ret);

export function __wbg_then_c919ca41618a24c2(arg0, arg1, arg2) {
export function __wbg_then_4f3c7f6f3d36634a(arg0, arg1, arg2) {
var ret = getObject(arg0).then(getObject(arg1), getObject(arg2));

@@ -429,7 +368,2 @@ return addHeapObject(ret);

export function __wbindgen_json_parse(arg0, arg1) {
var ret = JSON.parse(getStringFromWasm0(arg0, arg1));
return addHeapObject(ret);
};
export function __wbindgen_throw(arg0, arg1) {

@@ -439,6 +373,6 @@ throw new Error(getStringFromWasm0(arg0, arg1));

export function __wbindgen_closure_wrapper2178(arg0, arg1, arg2) {
var ret = makeMutClosure(arg0, arg1, 627, __wbg_adapter_14);
export function __wbindgen_closure_wrapper2189(arg0, arg1, arg2) {
var ret = makeMutClosure(arg0, arg1, 631, __wbg_adapter_12);
return addHeapObject(ret);
};
/* tslint:disable */
/* eslint-disable */
/**
* (Generated by WASM.)
* @param {string} s
* @returns {any}
*/
export function parse(s: string): any;
/**
* Format a JS file.
* @param {any} js_file
* @returns {string}
*/
export function format_from_js_file(js_file: any): string;
/**
* 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;
/**
* Gets json docs from a Flux identifier
* @param {string} flux_identifier
* @returns {any}
*/
export function get_json_documentation(flux_identifier: string): any;
/**
*/
export class Server {

@@ -33,0 +6,0 @@ free(): void;

2

package.json

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

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