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.6 to 0.6.7

135

flux-lsp-browser_bg.js
import * as wasm from './flux-lsp-browser_bg.wasm';
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;
}
const lTextDecoder = typeof TextDecoder === 'undefined' ? (0, module.require)('util').TextDecoder : TextDecoder;

@@ -50,2 +21,19 @@

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;

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

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__hd575a1d644fa6802(arg0, arg1, addHeapObject(arg2));
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h2ac29b0b725d1223(arg0, arg1, addHeapObject(arg2));
}

@@ -187,4 +187,4 @@

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

@@ -242,3 +242,3 @@

register_measurements_callback(_f) {
wasm.server_register_buckets_callback(this.ptr, addHeapObject(_f));
wasm.server_register_measurements_callback(this.ptr, addHeapObject(_f));
}

@@ -249,3 +249,3 @@ /**

register_tag_keys_callback(_f) {
wasm.server_register_buckets_callback(this.ptr, addHeapObject(_f));
wasm.server_register_tag_keys_callback(this.ptr, addHeapObject(_f));
}

@@ -256,3 +256,3 @@ /**

register_tag_values_callback(_f) {
wasm.server_register_buckets_callback(this.ptr, addHeapObject(_f));
wasm.server_register_tag_values_callback(this.ptr, addHeapObject(_f));
}

@@ -322,21 +322,2 @@ }

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

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

export function __wbindgen_object_drop_ref(arg0) {
takeObject(arg0);
};
export function __wbindgen_object_clone_ref(arg0) {
var ret = getObject(arg0);
return addHeapObject(ret);
};
export function __wbg_serverresponse_new(arg0) {

@@ -371,2 +361,33 @@ var ret = ServerResponse.__wrap(arg0);

export function __wbg_new_693216e109162396() {
var ret = new Error();
return addHeapObject(ret);
};
export function __wbg_stack_0ddaca5d1abfb52f(arg0, arg1) {
var ret = getObject(arg1).stack;
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_error_09919627ac0992f5(arg0, arg1) {
try {
console.error(getStringFromWasm0(arg0, arg1));
} finally {
wasm.__wbindgen_free(arg0, arg1);
}
};
export function __wbindgen_cb_drop(arg0) {
const obj = takeObject(arg0).original;
if (obj.cnt-- == 1) {
obj.a = 0;
return true;
}
var ret = false;
return ret;
};
export function __wbg_call_888d259a5fefc347() { return handleError(function (arg0, arg1) {

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

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

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

export function __wbindgen_closure_wrapper2921(arg0, arg1, arg2) {
var ret = makeMutClosure(arg0, arg1, 795, __wbg_adapter_16);
export function __wbindgen_closure_wrapper8077(arg0, arg1, arg2) {
var ret = makeMutClosure(arg0, arg1, 1150, __wbg_adapter_16);
return addHeapObject(ret);
};

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

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