@influxdata/flux-lsp-browser
Advanced tools
Comparing version 0.8.1 to 0.8.2
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; | ||
} | ||
const lTextDecoder = typeof TextDecoder === 'undefined' ? (0, module.require)('util').TextDecoder : TextDecoder; | ||
@@ -21,8 +41,2 @@ | ||
const heap = new Array(32).fill(undefined); | ||
heap.push(undefined, null, true, false); | ||
let heap_next = heap.length; | ||
function addHeapObject(obj) { | ||
@@ -37,16 +51,2 @@ if (heap_next === heap.length) heap.push(heap.length + 1); | ||
function getObject(idx) { return heap[idx]; } | ||
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; | ||
} | ||
let WASM_VECTOR_LEN = 0; | ||
@@ -207,3 +207,3 @@ | ||
function __wbg_adapter_18(arg0, arg1, arg2) { | ||
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb31ebb039ab2f285(arg0, arg1, addHeapObject(arg2)); | ||
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hfcd9e0f113db7705(arg0, arg1, addHeapObject(arg2)); | ||
} | ||
@@ -261,3 +261,3 @@ | ||
function __wbg_adapter_34(arg0, arg1, arg2, arg3) { | ||
wasm.wasm_bindgen__convert__closures__invoke2_mut__h356401ae7ebe1f90(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3)); | ||
wasm.wasm_bindgen__convert__closures__invoke2_mut__hebca9c8813a43f0b(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3)); | ||
} | ||
@@ -328,2 +328,6 @@ | ||
export function __wbindgen_object_drop_ref(arg0) { | ||
takeObject(arg0); | ||
}; | ||
export function __wbindgen_string_new(arg0, arg1) { | ||
@@ -334,6 +338,2 @@ var ret = getStringFromWasm0(arg0, arg1); | ||
export function __wbindgen_object_drop_ref(arg0) { | ||
takeObject(arg0); | ||
}; | ||
export function __wbindgen_json_parse(arg0, arg1) { | ||
@@ -434,6 +434,6 @@ var ret = JSON.parse(getStringFromWasm0(arg0, arg1)); | ||
export function __wbindgen_closure_wrapper7933(arg0, arg1, arg2) { | ||
var ret = makeMutClosure(arg0, arg1, 1174, __wbg_adapter_18); | ||
export function __wbindgen_closure_wrapper7942(arg0, arg1, arg2) { | ||
var ret = makeMutClosure(arg0, arg1, 1171, __wbg_adapter_18); | ||
return addHeapObject(ret); | ||
}; | ||
@@ -7,3 +7,3 @@ { | ||
"description": "LSP support for the flux language", | ||
"version": "0.8.1", | ||
"version": "0.8.2", | ||
"license": "MIT", | ||
@@ -10,0 +10,0 @@ "repository": { |
Sorry, the diff of this file is not supported yet
3582260