Skip to content

Commit

Permalink
Update all dependencies.
Browse files Browse the repository at this point in the history
Notably, katex goes from 0.6.0 to 0.16.0 and (for testing purposes
only) markdown-it from 6.0.0 to 13.0.0.  Several tests had to be
updated as katex’s HTML rendering of many math constructs has changed,
but no code changes are required.

Fixes issues waylonflinn#18, waylonflinn#19, waylonflinn#21, waylonflinn#27. Partially addresses waylonflinn#16.
Test cases added.
  • Loading branch information
zackw committed Dec 2, 2022
1 parent 81b84a7 commit dd20fa4
Show file tree
Hide file tree
Showing 4 changed files with 68 additions and 31 deletions.
5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
node_modules
bundle.js
/bundle.js
/node_modules
/package-lock.json
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@
"author": "[email protected]",
"license": "MIT",
"dependencies": {
"katex": "^0.6.0"
"katex": "^0.16.0"
},
"devDependencies": {
"markdown-it": "^6.0.0",
"markdown-it-testgen": "^0.1.4",
"tape": "^4.5.1"
"markdown-it": "^13.0.0",
"markdown-it-testgen": "^0.1.0",
"tape": "^5.6.0"
}
}
4 changes: 3 additions & 1 deletion test/all.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ testLoad(path.join(__dirname, 'fixtures/default.txt'), function(data){
data.fixtures.forEach(function (fixture){

/* generic test definition code using tape */
tape(fixture.header, function(t){
tape(fixture.header,
{ todo: fixture.header.includes(" XFAIL") },
function(t){
t.plan(1);

var expected = fixture.second.text,
Expand Down
Loading

0 comments on commit dd20fa4

Please sign in to comment.