@influxdata/flux-lsp-node
Advanced tools
Comparing version 0.6.9 to 0.6.10
@@ -6,22 +6,2 @@ let imports = {}; | ||
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; | ||
} | ||
let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true }); | ||
@@ -43,2 +23,8 @@ | ||
const heap = new Array(32).fill(undefined); | ||
heap.push(undefined, null, true, false); | ||
let heap_next = heap.length; | ||
function addHeapObject(obj) { | ||
@@ -53,2 +39,4 @@ if (heap_next === heap.length) heap.push(heap.length + 1); | ||
function getObject(idx) { return heap[idx]; } | ||
let WASM_VECTOR_LEN = 0; | ||
@@ -117,2 +105,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 makeMutClosure(arg0, arg1, dtor, f) { | ||
@@ -320,6 +320,2 @@ const state = { a: arg0, b: arg1, cnt: 1, dtor }; | ||
module.exports.__wbindgen_object_drop_ref = function(arg0) { | ||
takeObject(arg0); | ||
}; | ||
module.exports.__wbindgen_json_parse = function(arg0, arg1) { | ||
@@ -339,2 +335,6 @@ var ret = JSON.parse(getStringFromWasm0(arg0, arg1)); | ||
module.exports.__wbindgen_object_drop_ref = function(arg0) { | ||
takeObject(arg0); | ||
}; | ||
module.exports.__wbindgen_object_clone_ref = function(arg0) { | ||
@@ -438,4 +438,4 @@ var ret = getObject(arg0); | ||
module.exports.__wbindgen_closure_wrapper8078 = function(arg0, arg1, arg2) { | ||
var ret = makeMutClosure(arg0, arg1, 1151, __wbg_adapter_18); | ||
module.exports.__wbindgen_closure_wrapper8073 = function(arg0, arg1, arg2) { | ||
var ret = makeMutClosure(arg0, arg1, 1150, __wbg_adapter_18); | ||
return addHeapObject(ret); | ||
@@ -442,0 +442,0 @@ }; |
@@ -7,3 +7,3 @@ { | ||
"description": "LSP support for the flux language", | ||
"version": "0.6.9", | ||
"version": "0.6.10", | ||
"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
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 1 instance in 1 package
3372159
0