@retorquere/bibtex-parser 6.0.1 → 6.1.0
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/grammar.js +1 -0
- package/index.js +1 -1
- package/package.json +10 -11
package/grammar.js
CHANGED
package/index.js
CHANGED
|
@@ -203,7 +203,7 @@ class Parser {
|
|
|
203
203
|
smallCaps: { open: '<span style="font-variant:small-caps;">', close: '</span>' },
|
|
204
204
|
caseProtect: { open: '<span class="nocase">', close: '</span>' },
|
|
205
205
|
roman: { open: '', close: '' },
|
|
206
|
-
fixedWidth: { open: '', close: '' },
|
|
206
|
+
fixedWidth: { open: '<tt>', close: '</tt>' },
|
|
207
207
|
};
|
|
208
208
|
// patch in because the options will likely not have enquote and case-protect
|
|
209
209
|
for (const [markup, { open, close }] of Object.entries(markup_defaults)) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@retorquere/bibtex-parser",
|
|
3
|
-
"version": "6.0
|
|
3
|
+
"version": "6.1.0",
|
|
4
4
|
"description": "BibTeX parser",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -21,8 +21,7 @@
|
|
|
21
21
|
"postversion": "git push --follow-tags",
|
|
22
22
|
"update-cases": "curl -s https://raw.githubusercontent.com/retorquere/zotero-better-bibtex/master/test/loaded.json | jq -r '.[] | select(test(\"\\\\.bib((la)?tex)?$\"))' | rsync -av --delete -m --files-from=- ../better-bibtex/test/fixtures/ test/better-bibtex/",
|
|
23
23
|
"docs": "rm -rf docs && typedoc --name 'BibTeX parser' index.ts && touch docs/.nojekyll",
|
|
24
|
-
"
|
|
25
|
-
"ncu": "ncu -u && npm i && git add package.json package-lock.json && git commit -m ncu"
|
|
24
|
+
"ncu": "./build/submodules.py && ncu -u && npm i && git add package.json package-lock.json && git commit -m ncu"
|
|
26
25
|
},
|
|
27
26
|
"repository": {
|
|
28
27
|
"type": "git",
|
|
@@ -34,18 +33,18 @@
|
|
|
34
33
|
"author": "Emiliano Heyns",
|
|
35
34
|
"license": "ISC",
|
|
36
35
|
"devDependencies": {
|
|
37
|
-
"@types/node": "^16.11.
|
|
38
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
39
|
-
"@typescript-eslint/parser": "^5.
|
|
36
|
+
"@types/node": "^16.11.12",
|
|
37
|
+
"@typescript-eslint/eslint-plugin": "^5.6.0",
|
|
38
|
+
"@typescript-eslint/parser": "^5.6.0",
|
|
40
39
|
"command-line-args": "^5.2.0",
|
|
41
40
|
"csv": "^6.0.4",
|
|
42
41
|
"digital-tree": "^2.0.3",
|
|
43
42
|
"ejs": "^3.1.6",
|
|
44
|
-
"eslint": "^8.
|
|
43
|
+
"eslint": "^8.4.1",
|
|
45
44
|
"eslint-plugin-import": "^2.25.3",
|
|
46
45
|
"eslint-plugin-prefer-arrow": "^1.2.3",
|
|
47
|
-
"jest": "^27.
|
|
48
|
-
"jest-cli": "^27.
|
|
46
|
+
"jest": "^27.4.4",
|
|
47
|
+
"jest-cli": "^27.4.4",
|
|
49
48
|
"jest-specific-snapshot": "^5.0.0",
|
|
50
49
|
"mkdirp": "^1.0.4",
|
|
51
50
|
"node-fetch": "^3.1.0",
|
|
@@ -53,8 +52,8 @@
|
|
|
53
52
|
"slug": "^5.1.0",
|
|
54
53
|
"ts-node": "^10.4.0",
|
|
55
54
|
"tslib": "^2.3.1",
|
|
56
|
-
"typedoc": "^0.22.
|
|
57
|
-
"typescript": "^4.5.
|
|
55
|
+
"typedoc": "^0.22.10",
|
|
56
|
+
"typescript": "^4.5.3"
|
|
58
57
|
},
|
|
59
58
|
"dependencies": {
|
|
60
59
|
"unicode2latex": "^2.1.36",
|