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
21
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.4.2 to 0.5.0

11

flux-lsp-browser.d.ts

@@ -8,3 +8,8 @@ /* tslint:disable */

export function parse(s: string): any;
export class Handler {
/**
* @param {any} js_file
* @returns {string}
*/
export function format_from_js_file(js_file: any): string;
export class Router {
free(): void;

@@ -24,2 +29,6 @@ }

/**
* @param {Function} f
*/
register_measurements_callback(f: Function): void;
/**
* @param {string} msg

@@ -26,0 +35,0 @@ * @returns {Promise<any>}

54

flux-lsp-browser.js

@@ -134,4 +134,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__h4bf7c47f644e7843(arg0, arg1, addHeapObject(arg2));
function __wbg_adapter_16(arg0, arg1, arg2) {
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h5e7b4029b8eaa406(arg0, arg1, addHeapObject(arg2));
}

@@ -142,4 +142,4 @@

}
function __wbg_adapter_26(arg0, arg1, arg2, arg3) {
wasm.wasm_bindgen__convert__closures__invoke2_mut__h5418373c40fa0211(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
function __wbg_adapter_29(arg0, arg1, arg2, arg3) {
wasm.wasm_bindgen__convert__closures__invoke2_mut__h036630290f2b9db5(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
}

@@ -159,5 +159,20 @@

/**
* @param {any} js_file
* @returns {string}
*/
export class Handler {
export function format_from_js_file(js_file) {
try {
wasm.format_from_js_file(8, addHeapObject(js_file));
var r0 = getInt32Memory0()[8 / 4 + 0];
var r1 = getInt32Memory0()[8 / 4 + 1];
return getStringFromWasm0(r0, r1);
} finally {
wasm.__wbindgen_free(r0, r1);
}
}
/**
*/
export class Router {
free() {

@@ -167,3 +182,3 @@ const ptr = this.ptr;

wasm.__wbg_handler_free(ptr);
wasm.__wbg_router_free(ptr);
}

@@ -203,2 +218,8 @@ }

/**
* @param {Function} f
*/
register_measurements_callback(f) {
wasm.server_register_measurements_callback(this.ptr, addHeapObject(f));
}
/**
* @param {string} msg

@@ -270,7 +291,2 @@ * @returns {Promise<any>}

export const __wbg_serverresponse_new = function(arg0) {
var ret = ServerResponse.__wrap(arg0);
return addHeapObject(ret);
};
export const __wbindgen_json_serialize = function(arg0, arg1) {

@@ -285,2 +301,12 @@ const obj = getObject(arg1);

export const __wbg_serverresponse_new = function(arg0) {
var ret = ServerResponse.__wrap(arg0);
return addHeapObject(ret);
};
export const __wbindgen_string_new = function(arg0, arg1) {
var ret = getStringFromWasm0(arg0, arg1);
return addHeapObject(ret);
};
export const __wbindgen_cb_drop = function(arg0) {

@@ -321,3 +347,3 @@ const obj = takeObject(arg0).original;

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

@@ -358,6 +384,6 @@ state0.a = a;

export const __wbindgen_closure_wrapper752 = function(arg0, arg1, arg2) {
var ret = makeMutClosure(arg0, arg1, 160, __wbg_adapter_14);
export const __wbindgen_closure_wrapper804 = function(arg0, arg1, arg2) {
var ret = makeMutClosure(arg0, arg1, 166, __wbg_adapter_16);
return addHeapObject(ret);
};

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

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