@retorquere/bibtex-parser 12.1.4 → 12.1.5
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.
|
@@ -15,6 +15,8 @@ export function parseVerbatim(input: string, options?: any | null): any;
|
|
|
15
15
|
|
|
16
16
|
export function parseVerbatimAsync(input: string, options?: any | null): Promise<any>;
|
|
17
17
|
|
|
18
|
+
export function start(): void;
|
|
19
|
+
|
|
18
20
|
/**
|
|
19
21
|
* Apply sentence casing with the standalone TypeScript API's defaulted option object.
|
|
20
22
|
*/
|
|
@@ -33,6 +35,7 @@ export interface InitOutput {
|
|
|
33
35
|
readonly parseAsync: (a: number, b: number, c: number) => any;
|
|
34
36
|
readonly parseVerbatim: (a: number, b: number, c: number) => [number, number, number];
|
|
35
37
|
readonly parseVerbatimAsync: (a: number, b: number, c: number) => any;
|
|
38
|
+
readonly start: () => void;
|
|
36
39
|
readonly toSentenceCase: (a: number, b: number, c: number) => [number, number, number, number];
|
|
37
40
|
readonly tokenize: (a: number, b: number) => [number, number, number];
|
|
38
41
|
readonly wasm_bindgen_d8d66d04887dc00f___convert__closures_____invoke___js_sys_a6b0604181071ff___Function_fn_wasm_bindgen_d8d66d04887dc00f___JsValue_____wasm_bindgen_d8d66d04887dc00f___sys__Undefined___js_sys_a6b0604181071ff___Function_fn_wasm_bindgen_d8d66d04887dc00f___JsValue_____wasm_bindgen_d8d66d04887dc00f___sys__Undefined_______true_: (a: number, b: number, c: any, d: any) => void;
|
|
@@ -42,9 +45,9 @@ export interface InitOutput {
|
|
|
42
45
|
readonly __wbindgen_exn_store: (a: number) => void;
|
|
43
46
|
readonly __externref_table_alloc: () => number;
|
|
44
47
|
readonly __wbindgen_externrefs: WebAssembly.Table;
|
|
48
|
+
readonly __wbindgen_free: (a: number, b: number, c: number) => void;
|
|
45
49
|
readonly __wbindgen_destroy_closure: (a: number, b: number) => void;
|
|
46
50
|
readonly __externref_table_dealloc: (a: number) => void;
|
|
47
|
-
readonly __wbindgen_free: (a: number, b: number, c: number) => void;
|
|
48
51
|
readonly __wbindgen_start: () => void;
|
|
49
52
|
}
|
|
50
53
|
|
|
@@ -58,6 +58,10 @@ export function parseVerbatimAsync(input, options) {
|
|
|
58
58
|
return ret;
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
+
export function start() {
|
|
62
|
+
wasm.start();
|
|
63
|
+
}
|
|
64
|
+
|
|
61
65
|
/**
|
|
62
66
|
* Apply sentence casing with the standalone TypeScript API's defaulted option object.
|
|
63
67
|
* @param {string} input
|
|
@@ -204,6 +208,17 @@ function __wbg_get_imports() {
|
|
|
204
208
|
const ret = Object.entries(arg0);
|
|
205
209
|
return ret;
|
|
206
210
|
},
|
|
211
|
+
__wbg_error_757e9472f8410341: function(arg0, arg1) {
|
|
212
|
+
let deferred0_0;
|
|
213
|
+
let deferred0_1;
|
|
214
|
+
try {
|
|
215
|
+
deferred0_0 = arg0;
|
|
216
|
+
deferred0_1 = arg1;
|
|
217
|
+
console.error(getStringFromWasm0(arg0, arg1));
|
|
218
|
+
} finally {
|
|
219
|
+
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
220
|
+
}
|
|
221
|
+
},
|
|
207
222
|
__wbg_get_658f6698067d9515: function() { return handleError(function (arg0, arg1) {
|
|
208
223
|
const ret = Reflect.get(arg0, arg1);
|
|
209
224
|
return ret;
|
|
@@ -274,6 +289,10 @@ function __wbg_get_imports() {
|
|
|
274
289
|
const ret = new Uint8Array(arg0);
|
|
275
290
|
return ret;
|
|
276
291
|
},
|
|
292
|
+
__wbg_new_227d7c05414eb861: function() {
|
|
293
|
+
const ret = new Error();
|
|
294
|
+
return ret;
|
|
295
|
+
},
|
|
277
296
|
__wbg_new_28744009d011f847: function() {
|
|
278
297
|
const ret = new Map();
|
|
279
298
|
return ret;
|
|
@@ -336,6 +355,13 @@ function __wbg_get_imports() {
|
|
|
336
355
|
__wbg_set_bea140a88be9b277: function(arg0, arg1, arg2) {
|
|
337
356
|
arg0[arg1 >>> 0] = arg2;
|
|
338
357
|
},
|
|
358
|
+
__wbg_stack_3b0d974bbf31e44f: function(arg0, arg1) {
|
|
359
|
+
const ret = arg1.stack;
|
|
360
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
361
|
+
const len1 = WASM_VECTOR_LEN;
|
|
362
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
363
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
364
|
+
},
|
|
339
365
|
__wbg_static_accessor_GLOBAL_266715b9d96ba635: function() {
|
|
340
366
|
const ret = typeof global === 'undefined' ? null : global;
|
|
341
367
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
@@ -365,7 +391,7 @@ function __wbg_get_imports() {
|
|
|
365
391
|
return ret;
|
|
366
392
|
},
|
|
367
393
|
__wbindgen_generic_0000000000000001: function(arg0, arg1) {
|
|
368
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx:
|
|
394
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 81, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
369
395
|
const ret = makeMutClosure(arg0, arg1, wasm_bindgen_d8d66d04887dc00f___convert__closures_____invoke___wasm_bindgen_d8d66d04887dc00f___JsValue__core_608f92abc48d28da___result__Result_____wasm_bindgen_d8d66d04887dc00f___JsError___true_);
|
|
370
396
|
return ret;
|
|
371
397
|
},
|
|
Binary file
|
|
@@ -5,6 +5,7 @@ export const parse: (a: number, b: number, c: number) => [number, number, number
|
|
|
5
5
|
export const parseAsync: (a: number, b: number, c: number) => any;
|
|
6
6
|
export const parseVerbatim: (a: number, b: number, c: number) => [number, number, number];
|
|
7
7
|
export const parseVerbatimAsync: (a: number, b: number, c: number) => any;
|
|
8
|
+
export const start: () => void;
|
|
8
9
|
export const toSentenceCase: (a: number, b: number, c: number) => [number, number, number, number];
|
|
9
10
|
export const tokenize: (a: number, b: number) => [number, number, number];
|
|
10
11
|
export const wasm_bindgen_d8d66d04887dc00f___convert__closures_____invoke___js_sys_a6b0604181071ff___Function_fn_wasm_bindgen_d8d66d04887dc00f___JsValue_____wasm_bindgen_d8d66d04887dc00f___sys__Undefined___js_sys_a6b0604181071ff___Function_fn_wasm_bindgen_d8d66d04887dc00f___JsValue_____wasm_bindgen_d8d66d04887dc00f___sys__Undefined_______true_: (a: number, b: number, c: any, d: any) => void;
|
|
@@ -14,7 +15,7 @@ export const __wbindgen_realloc: (a: number, b: number, c: number, d: number) =>
|
|
|
14
15
|
export const __wbindgen_exn_store: (a: number) => void;
|
|
15
16
|
export const __externref_table_alloc: () => number;
|
|
16
17
|
export const __wbindgen_externrefs: WebAssembly.Table;
|
|
18
|
+
export const __wbindgen_free: (a: number, b: number, c: number) => void;
|
|
17
19
|
export const __wbindgen_destroy_closure: (a: number, b: number) => void;
|
|
18
20
|
export const __externref_table_dealloc: (a: number) => void;
|
|
19
|
-
export const __wbindgen_free: (a: number, b: number, c: number) => void;
|
|
20
21
|
export const __wbindgen_start: () => void;
|