Skip to content

Commit 772a6eb

Browse files
committed
Refactor parsers to work with retext
1 parent e5ff981 commit 772a6eb

File tree

6 files changed

+72
-237
lines changed

6 files changed

+72
-237
lines changed

component.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,13 @@
1212
"nlcst"
1313
],
1414
"dependencies": {
15-
"wooorm/parse-latin": "^1.0.0",
15+
"wooorm/parse-latin": "^2.0.0",
1616
"wooorm/unified": "^1.0.0",
1717
"wooorm/nlcst-to-string": "^1.0.0"
1818
},
1919
"repository": "wooorm/retext",
2020
"scripts": [
2121
"index.js",
22-
"lib/parse.js",
2322
"lib/compile.js"
2423
]
2524
}

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*/
1717

1818
var unified = require('unified');
19-
var Parser = require('./lib/parse.js');
19+
var Parser = require('parse-latin');
2020
var Compiler = require('./lib/compile.js');
2121

2222
/*

lib/parse.js

Lines changed: 0 additions & 90 deletions
This file was deleted.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
],
1414
"dependencies": {
1515
"nlcst-to-string": "^1.0.0",
16-
"parse-latin": "^1.0.0",
16+
"parse-latin": "^2.0.0",
1717
"unified": "^1.0.0"
1818
},
1919
"repository": {

0 commit comments

Comments
 (0)