Skip to content

Commit 9984e05

Browse files
committed
Update dev-dependencies
1 parent 8b6eb6a commit 9984e05

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,15 +44,15 @@
4444
"@types/tape": "^4.0.0",
4545
"c8": "^7.0.0",
4646
"mdast-util-from-markdown": "^1.0.0",
47-
"micromark-extension-math": "^1.0.0",
47+
"micromark-extension-math": "^2.0.0",
4848
"prettier": "^2.0.0",
49-
"remark-cli": "^9.0.0",
50-
"remark-preset-wooorm": "^8.0.0",
49+
"remark-cli": "^10.0.0",
50+
"remark-preset-wooorm": "^9.0.0",
5151
"rimraf": "^3.0.0",
5252
"tape": "^5.0.0",
5353
"type-coverage": "^2.0.0",
5454
"typescript": "^4.0.0",
55-
"xo": "^0.42.0"
55+
"xo": "^0.44.0"
5656
},
5757
"scripts": {
5858
"build": "rimraf \"{index,test}.d.ts\" && tsc && type-coverage",

test.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import {mathFromMarkdown, mathToMarkdown} from './index.js'
77
test('markdown -> mdast', (t) => {
88
t.deepEqual(
99
fromMarkdown('a $b$ c', {
10-
extensions: [math],
10+
extensions: [math()],
1111
mdastExtensions: [mathFromMarkdown]
1212
}),
1313
{
@@ -62,7 +62,7 @@ test('markdown -> mdast', (t) => {
6262

6363
t.deepEqual(
6464
fromMarkdown('$$\na\n$$', {
65-
extensions: [math],
65+
extensions: [math()],
6666
mdastExtensions: [mathFromMarkdown]
6767
}).children[0],
6868
{
@@ -84,7 +84,7 @@ test('markdown -> mdast', (t) => {
8484

8585
t.deepEqual(
8686
fromMarkdown('$$a&b\\&c\n', {
87-
extensions: [math],
87+
extensions: [math()],
8888
mdastExtensions: [mathFromMarkdown]
8989
}).children[0],
9090
{
@@ -106,7 +106,7 @@ test('markdown -> mdast', (t) => {
106106

107107
t.deepEqual(
108108
fromMarkdown('$a\nb\nb$', {
109-
extensions: [math],
109+
extensions: [math()],
110110
mdastExtensions: [mathFromMarkdown]
111111
}).children[0],
112112
{

0 commit comments

Comments
 (0)