Skip to content

Commit b7e2d51

Browse files
committed
Update dev-dependencies
1 parent da7bae0 commit b7e2d51

File tree

2 files changed

+31
-7
lines changed

2 files changed

+31
-7
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@
3737
"devDependencies": {
3838
"acorn": "^8.0.0",
3939
"mdast-util-from-markdown": "^0.8.0",
40-
"mdast-util-to-markdown": "^0.5.0",
41-
"micromark-extension-mdx-expression": "^0.1.0",
40+
"mdast-util-to-markdown": "^0.6.0",
41+
"micromark-extension-mdx-expression": "^0.2.0",
4242
"nyc": "^15.0.0",
4343
"prettier": "^2.0.0",
4444
"remark-cli": "^9.0.0",

test.js

Lines changed: 29 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -228,11 +228,35 @@ test('markdown -> mdast', function (t) {
228228
value: 'a',
229229
data: {
230230
estree: {
231-
type: 'Identifier',
232-
start: 0,
233-
end: 1,
234-
loc: {start: {line: 1, column: 0}, end: {line: 1, column: 1}},
235-
name: 'a'
231+
type: 'Program',
232+
start: 1,
233+
end: 2,
234+
body: [
235+
{
236+
type: 'ExpressionStatement',
237+
expression: {
238+
type: 'Identifier',
239+
start: 1,
240+
end: 2,
241+
name: 'a',
242+
loc: {
243+
start: {line: 1, column: 1},
244+
end: {line: 1, column: 2}
245+
},
246+
range: [1, 2]
247+
},
248+
start: 1,
249+
end: 2,
250+
loc: {
251+
start: {line: 1, column: 1},
252+
end: {line: 1, column: 2}
253+
},
254+
range: [1, 2]
255+
}
256+
],
257+
sourceType: 'module',
258+
loc: {start: {line: 1, column: 1}, end: {line: 1, column: 2}},
259+
range: [1, 2]
236260
}
237261
}
238262
},

0 commit comments

Comments
 (0)