@retorquere/bibtex-parser 6.4.12 → 6.4.14
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 +10 -7
- package/index.js +1 -0
- package/package.json +10 -10
- package/unabbrev.json +38 -378
package/grammar.js
CHANGED
|
@@ -551,7 +551,7 @@ function peg$parse(input, options) {
|
|
|
551
551
|
if (leadingcmdblockarg && leadingcmdblockarg.case === 'protect') delete leadingcmdblockarg.case
|
|
552
552
|
|
|
553
553
|
// \sl, \it etc
|
|
554
|
-
if (markup[leadingcmd.command]) {
|
|
554
|
+
if (markup[leadingcmd.command] && leadingcmd.arguments.required.length === 0) {
|
|
555
555
|
block.markup[markup[leadingcmd.command]] = true
|
|
556
556
|
block.value.shift()
|
|
557
557
|
}
|
|
@@ -4150,15 +4150,18 @@ function peg$parse(input, options) {
|
|
|
4150
4150
|
}
|
|
4151
4151
|
if (s0 === peg$FAILED) {
|
|
4152
4152
|
s0 = peg$currPos;
|
|
4153
|
-
s1 = peg$
|
|
4154
|
-
|
|
4155
|
-
|
|
4153
|
+
s1 = peg$parse__h();
|
|
4154
|
+
s2 = peg$parseBlock();
|
|
4155
|
+
if (s2 === peg$FAILED) {
|
|
4156
|
+
s2 = peg$parseCommand();
|
|
4156
4157
|
}
|
|
4157
|
-
if (
|
|
4158
|
+
if (s2 !== peg$FAILED) {
|
|
4158
4159
|
peg$savedPos = s0;
|
|
4159
|
-
|
|
4160
|
+
s0 = peg$f64(s2);
|
|
4161
|
+
} else {
|
|
4162
|
+
peg$currPos = s0;
|
|
4163
|
+
s0 = peg$FAILED;
|
|
4160
4164
|
}
|
|
4161
|
-
s0 = s1;
|
|
4162
4165
|
}
|
|
4163
4166
|
|
|
4164
4167
|
return s0;
|
package/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@retorquere/bibtex-parser",
|
|
3
|
-
"version": "6.4.
|
|
3
|
+
"version": "6.4.14",
|
|
4
4
|
"description": "BibTeX parser",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"typings": "./index.d.ts",
|
|
@@ -36,20 +36,20 @@
|
|
|
36
36
|
"author": "Emiliano Heyns",
|
|
37
37
|
"license": "ISC",
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"@microsoft/api-documenter": "^7.
|
|
40
|
-
"@microsoft/api-extractor": "^7.34.
|
|
41
|
-
"@types/node": "^18.
|
|
42
|
-
"@typescript-eslint/eslint-plugin": "^5.59.
|
|
43
|
-
"@typescript-eslint/parser": "^5.59.
|
|
39
|
+
"@microsoft/api-documenter": "^7.22.3",
|
|
40
|
+
"@microsoft/api-extractor": "^7.34.7",
|
|
41
|
+
"@types/node": "^18.16.3",
|
|
42
|
+
"@typescript-eslint/eslint-plugin": "^5.59.2",
|
|
43
|
+
"@typescript-eslint/parser": "^5.59.2",
|
|
44
44
|
"command-line-args": "^5.2.1",
|
|
45
|
-
"csv": "^6.2.
|
|
45
|
+
"csv": "^6.2.11",
|
|
46
46
|
"digital-tree": "^2.0.4",
|
|
47
47
|
"ejs": "^3.1.9",
|
|
48
|
-
"eslint": "^8.
|
|
48
|
+
"eslint": "^8.39.0",
|
|
49
49
|
"eslint-plugin-import": "^2.27.5",
|
|
50
50
|
"eslint-plugin-prefer-arrow": "^1.2.3",
|
|
51
|
-
"glob": "^10.2.
|
|
52
|
-
"mkdirp": "^3.0.
|
|
51
|
+
"glob": "^10.2.2",
|
|
52
|
+
"mkdirp": "^3.0.1",
|
|
53
53
|
"node-fetch": "^3.3.1",
|
|
54
54
|
"peggy": "^3.0.2",
|
|
55
55
|
"piscina": "^3.2.0",
|