qlue-ls 0.5.5 → 0.5.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "Ioannis Nezis <ioannis@nezis.de>"
6
6
  ],
7
7
  "description": "A formatter for SPARQL queries",
8
- "version": "0.5.5",
8
+ "version": "0.5.7",
9
9
  "license": "SEE LICENSE IN LICENSE",
10
10
  "repository": {
11
11
  "type": "git",
@@ -30,4 +30,4 @@
30
30
  "lsp-server",
31
31
  "wasm"
32
32
  ]
33
- }
33
+ }
package/qlue_ls.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
- export function determine_operation_type(text: string): string;
4
3
  export function format_raw(text: string): string;
4
+ export function determine_operation_type(text: string): string;
5
5
  export function init_language_server(writer: WritableStreamDefaultWriter): Server;
6
6
  export function get_parse_tree(input: string, offset: number): any;
7
7
  export class Server {
package/qlue_ls_bg.js CHANGED
@@ -215,13 +215,13 @@ function takeFromExternrefTable0(idx) {
215
215
  * @param {string} text
216
216
  * @returns {string}
217
217
  */
218
- export function determine_operation_type(text) {
218
+ export function format_raw(text) {
219
219
  let deferred3_0;
220
220
  let deferred3_1;
221
221
  try {
222
222
  const ptr0 = passStringToWasm0(text, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
223
223
  const len0 = WASM_VECTOR_LEN;
224
- const ret = wasm.determine_operation_type(ptr0, len0);
224
+ const ret = wasm.format_raw(ptr0, len0);
225
225
  var ptr2 = ret[0];
226
226
  var len2 = ret[1];
227
227
  if (ret[3]) {
@@ -240,13 +240,13 @@ export function determine_operation_type(text) {
240
240
  * @param {string} text
241
241
  * @returns {string}
242
242
  */
243
- export function format_raw(text) {
243
+ export function determine_operation_type(text) {
244
244
  let deferred3_0;
245
245
  let deferred3_1;
246
246
  try {
247
247
  const ptr0 = passStringToWasm0(text, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
248
248
  const len0 = WASM_VECTOR_LEN;
249
- const ret = wasm.format_raw(ptr0, len0);
249
+ const ret = wasm.determine_operation_type(ptr0, len0);
250
250
  var ptr2 = ret[0];
251
251
  var len2 = ret[1];
252
252
  if (ret[3]) {
@@ -283,11 +283,11 @@ export function get_parse_tree(input, offset) {
283
283
  }
284
284
 
285
285
  function __wbg_adapter_24(arg0, arg1, arg2) {
286
- wasm.closure561_externref_shim(arg0, arg1, arg2);
286
+ wasm.closure571_externref_shim(arg0, arg1, arg2);
287
287
  }
288
288
 
289
289
  function __wbg_adapter_86(arg0, arg1, arg2, arg3) {
290
- wasm.closure573_externref_shim(arg0, arg1, arg2, arg3);
290
+ wasm.closure583_externref_shim(arg0, arg1, arg2, arg3);
291
291
  }
292
292
 
293
293
  const __wbindgen_enum_RequestMode = ["same-origin", "no-cors", "cors", "navigate"];
@@ -545,8 +545,8 @@ export function __wbindgen_cb_drop(arg0) {
545
545
  return ret;
546
546
  };
547
547
 
548
- export function __wbindgen_closure_wrapper5243(arg0, arg1, arg2) {
549
- const ret = makeMutClosure(arg0, arg1, 562, __wbg_adapter_24);
548
+ export function __wbindgen_closure_wrapper5331(arg0, arg1, arg2) {
549
+ const ret = makeMutClosure(arg0, arg1, 572, __wbg_adapter_24);
550
550
  return ret;
551
551
  };
552
552
 
package/qlue_ls_bg.wasm CHANGED
Binary file