@retorquere/bibtex-parser 8.0.10 → 8.0.11

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/index.d.ts CHANGED
@@ -39,7 +39,7 @@ export type Entry = {
39
39
  };
40
40
  input: string;
41
41
  };
42
- export interface Bibliography {
42
+ export interface Library {
43
43
  /**
44
44
  * errors found while parsing
45
45
  */
@@ -180,6 +180,6 @@ export declare const FieldMode: {
180
180
  };
181
181
  type ParseMode = keyof typeof FieldMode | 'literal';
182
182
  type unsupportedHandler = (node: Node, tex: string, entry: Entry) => string;
183
- export declare function parse(input: string, options?: Options): Bibliography;
184
- export declare function parseAsync(input: string, options?: Options): Promise<Bibliography>;
183
+ export declare function parse(input: string, options?: Options): Library;
184
+ export declare function parseAsync(input: string, options?: Options): Promise<Library>;
185
185
  //# sourceMappingURL=index.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@retorquere/bibtex-parser",
3
- "version": "8.0.10",
3
+ "version": "8.0.11",
4
4
  "description": "BibTeX parser",
5
5
  "main": "index.js",
6
6
  "typings": "./index.d.ts",
package/verbatim.d.ts CHANGED
@@ -58,13 +58,13 @@ declare class Parser {
58
58
  private matchGuard;
59
59
  private parseNext;
60
60
  }
61
- export type Bibliography = Parser;
61
+ export type Library = Parser;
62
62
  /**
63
63
  * Parses a bibtex source in verbatim mode. Good for detection of bibtex and for later LaTeX-reparsing.
64
64
  */
65
- export declare function parse(input: string, options?: ParserOptions): Bibliography;
65
+ export declare function parse(input: string, options?: ParserOptions): Library;
66
66
  export declare const promises: {
67
- parse(input: string, options?: ParserOptions): Promise<Bibliography>;
67
+ parse(input: string, options?: ParserOptions): Promise<Library>;
68
68
  };
69
69
  export {};
70
70
  //# sourceMappingURL=verbatim.d.ts.map