@influxdata/flux-lsp-node
Advanced tools
Comparing version 0.6.0 to 0.6.2
@@ -32,7 +32,2 @@ /* tslint:disable */ | ||
*/ | ||
export class Router { | ||
free(): void; | ||
} | ||
/** | ||
*/ | ||
export class Server { | ||
@@ -39,0 +34,0 @@ free(): void; |
@@ -12,2 +12,25 @@ let imports = {}; | ||
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; | ||
} | ||
let WASM_VECTOR_LEN = 0; | ||
@@ -84,25 +107,2 @@ | ||
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; | ||
} | ||
let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true }); | ||
@@ -218,19 +218,2 @@ | ||
*/ | ||
class Router { | ||
__destroy_into_raw() { | ||
const ptr = this.ptr; | ||
this.ptr = 0; | ||
return ptr; | ||
} | ||
free() { | ||
const ptr = this.__destroy_into_raw(); | ||
wasm.__wbg_router_free(ptr); | ||
} | ||
} | ||
module.exports.Router = Router; | ||
/** | ||
*/ | ||
class Server { | ||
@@ -363,2 +346,11 @@ | ||
module.exports.__wbindgen_object_drop_ref = function(arg0) { | ||
takeObject(arg0); | ||
}; | ||
module.exports.__wbindgen_object_clone_ref = function(arg0) { | ||
var ret = getObject(arg0); | ||
return addHeapObject(ret); | ||
}; | ||
module.exports.__wbindgen_json_serialize = function(arg0, arg1) { | ||
@@ -373,11 +365,2 @@ const obj = getObject(arg1); | ||
module.exports.__wbindgen_object_drop_ref = function(arg0) { | ||
takeObject(arg0); | ||
}; | ||
module.exports.__wbindgen_object_clone_ref = function(arg0) { | ||
var ret = getObject(arg0); | ||
return addHeapObject(ret); | ||
}; | ||
module.exports.__wbg_serverresponse_new = function(arg0) { | ||
@@ -451,4 +434,4 @@ var ret = ServerResponse.__wrap(arg0); | ||
module.exports.__wbindgen_closure_wrapper2180 = function(arg0, arg1, arg2) { | ||
var ret = makeMutClosure(arg0, arg1, 635, __wbg_adapter_14); | ||
module.exports.__wbindgen_closure_wrapper2178 = function(arg0, arg1, arg2) { | ||
var ret = makeMutClosure(arg0, arg1, 627, __wbg_adapter_14); | ||
return addHeapObject(ret); | ||
@@ -455,0 +438,0 @@ }; |
@@ -7,3 +7,3 @@ { | ||
"description": "LSP support for the flux language", | ||
"version": "0.6.0", | ||
"version": "0.6.2", | ||
"license": "MIT", | ||
@@ -10,0 +10,0 @@ "repository": { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4998548
453