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

@influxdata/flux-lsp-node

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

Comparing version 0.4.2 to 0.5.0

11

flux-lsp-node.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>}

56

flux-lsp-node.js

@@ -97,4 +97,4 @@ let imports = {};

}
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));
}

@@ -105,4 +105,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));
}

@@ -122,5 +122,20 @@

/**
* @param {any} js_file
* @returns {string}
*/
class Handler {
module.exports.format_from_js_file = function(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);
}
};
/**
*/
class Router {
free() {

@@ -130,6 +145,6 @@ const ptr = this.ptr;

wasm.__wbg_handler_free(ptr);
wasm.__wbg_router_free(ptr);
}
}
module.exports.Handler = Handler;
module.exports.Router = Router;
/**

@@ -167,2 +182,8 @@ */

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

@@ -236,7 +257,2 @@ * @returns {Promise<any>}

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

@@ -251,2 +267,12 @@ const obj = getObject(arg1);

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

@@ -287,3 +313,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 {

@@ -324,4 +350,4 @@ state0.a = a;

module.exports.__wbindgen_closure_wrapper752 = function(arg0, arg1, arg2) {
var ret = makeMutClosure(arg0, arg1, 160, __wbg_adapter_14);
module.exports.__wbindgen_closure_wrapper804 = function(arg0, arg1, arg2) {
var ret = makeMutClosure(arg0, arg1, 166, __wbg_adapter_16);
return addHeapObject(ret);

@@ -328,0 +354,0 @@ };

@@ -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