New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@influxdata/flux-lsp-browser

Package Overview
Dependencies
Maintainers
20
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.3.1 to 0.3.2

6

flux-lsp-browser.d.ts

@@ -8,9 +8,5 @@ /* tslint:disable */

export function parse(s: string): any;
/**
*/
export class Handler {
free(): void;
}
/**
*/
export class Server {

@@ -32,4 +28,2 @@ free(): void;

}
/**
*/
export class ServerResponse {

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

93

flux-lsp-browser.js
import * as wasm from './flux-lsp-browser_bg.wasm';
const heap = new Array(32);
const heap = new Array(32).fill(undefined);
heap.fill(undefined);
heap.push(undefined, null, true, false);

@@ -44,4 +42,6 @@

let cachedTextEncoder = new TextEncoder('utf-8');
const lTextEncoder = typeof TextEncoder === 'undefined' ? require('util').TextEncoder : TextEncoder;
let cachedTextEncoder = new lTextEncoder('utf-8');
const encodeString = (typeof cachedTextEncoder.encodeInto === 'function'

@@ -106,4 +106,6 @@ ? function (arg, view) {

let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
const lTextDecoder = typeof TextDecoder === 'undefined' ? require('util').TextDecoder : TextDecoder;
let cachedTextDecoder = new lTextDecoder('utf-8', { ignoreBOM: true, fatal: true });
cachedTextDecoder.decode();

@@ -114,4 +116,24 @@

}
function makeMutClosure(arg0, arg1, dtor, f) {
const state = { a: arg0, b: arg1, cnt: 1 };
const real = (...args) => {
// First up with a closure we increment the internal reference
// count. This ensures that the Rust closure environment won't
// be deallocated while we're invoking it.
state.cnt++;
const a = state.a;
state.a = 0;
try {
return f(a, state.b, ...args);
} finally {
if (--state.cnt === 0) wasm.__wbindgen_export_2.get(dtor)(a, state.b);
else state.a = a;
}
};
real.original = state;
return real;
}
function __wbg_adapter_14(arg0, arg1, arg2) {
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h5425672529e79e40(arg0, arg1, addHeapObject(arg2));
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h93044c64ee7a119a(arg0, arg1, addHeapObject(arg2));
}

@@ -123,3 +145,3 @@

function __wbg_adapter_26(arg0, arg1, arg2, arg3) {
wasm.wasm_bindgen__convert__closures__invoke2_mut__he62f6dc15be28482(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
wasm.wasm_bindgen__convert__closures__invoke2_mut__h3d9780d99276beb7(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
}

@@ -241,12 +263,2 @@

export const __wbindgen_cb_drop = function(arg0) {
const obj = takeObject(arg0).original;
if (obj.cnt-- == 1) {
obj.a = 0;
return true;
}
var ret = false;
return ret;
};
export const __wbindgen_object_clone_ref = function(arg0) {

@@ -257,2 +269,7 @@ var ret = getObject(arg0);

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

@@ -267,8 +284,13 @@ const obj = getObject(arg1);

export const __wbg_serverresponse_new = function(arg0) {
var ret = ServerResponse.__wrap(arg0);
return addHeapObject(ret);
export const __wbindgen_cb_drop = function(arg0) {
const obj = takeObject(arg0).original;
if (obj.cnt-- == 1) {
obj.a = 0;
return true;
}
var ret = false;
return ret;
};
export const __wbg_call_12b949cfc461d154 = function(arg0, arg1) {
export const __wbg_call_183c0b733b35a027 = function(arg0, arg1) {
try {

@@ -282,3 +304,3 @@ var ret = getObject(arg0).call(getObject(arg1));

export const __wbg_call_ce7cf17fc6380443 = function(arg0, arg1, arg2) {
export const __wbg_call_283f884995dd89e7 = function(arg0, arg1, arg2) {
try {

@@ -292,3 +314,3 @@ var ret = getObject(arg0).call(getObject(arg1), getObject(arg2));

export const __wbg_new_d3eff62d5c013634 = function(arg0, arg1) {
export const __wbg_new_4b4544fc91638f83 = function(arg0, arg1) {
try {

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

export const __wbg_resolve_6885947099a907d3 = function(arg0) {
export const __wbg_resolve_a77ae6f272249390 = function(arg0) {
var ret = Promise.resolve(getObject(arg0));

@@ -318,3 +340,3 @@ return addHeapObject(ret);

export const __wbg_then_b6fef331fde5cf0a = function(arg0, arg1) {
export const __wbg_then_695aa7e1c262b929 = function(arg0, arg1) {
var ret = getObject(arg0).then(getObject(arg1));

@@ -324,3 +346,3 @@ return addHeapObject(ret);

export const __wbg_then_7d828a330efec051 = function(arg0, arg1, arg2) {
export const __wbg_then_bca69bfa503c3179 = function(arg0, arg1, arg2) {
var ret = getObject(arg0).then(getObject(arg1), getObject(arg2));

@@ -339,21 +361,6 @@ return addHeapObject(ret);

export const __wbindgen_closure_wrapper669 = function(arg0, arg1, arg2) {
const state = { a: arg0, b: arg1, cnt: 1 };
const real = (arg0) => {
state.cnt++;
const a = state.a;
state.a = 0;
try {
return __wbg_adapter_14(a, state.b, arg0);
} finally {
if (--state.cnt === 0) wasm.__wbindgen_export_2.get(166)(a, state.b);
else state.a = a;
}
}
;
real.original = state;
var ret = real;
export const __wbindgen_closure_wrapper685 = function(arg0, arg1, arg2) {
var ret = makeMutClosure(arg0, arg1, 161, __wbg_adapter_14);
return addHeapObject(ret);
};

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

"description": "LSP support for the flux language",
"version": "0.3.1",
"version": "0.3.2",
"license": "MIT",

@@ -21,3 +21,3 @@ "repository": {

"types": "flux-lsp-browser.d.ts",
"sideEffects": "false"
"sideEffects": false
}

@@ -8,2 +8,7 @@ # Flux LSP

# LSP Development
* LSP development requires rust version of 1.40.0 or newer.
* run tests with `make test`
# Installing command line server

@@ -10,0 +15,0 @@

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