File tree Expand file tree Collapse file tree 2 files changed +21
-11
lines changed Expand file tree Collapse file tree 2 files changed +21
-11
lines changed Original file line number Diff line number Diff line change 38
38
"acorn" : " ^8.0.0" ,
39
39
"mdast-util-from-markdown" : " ^0.8.0" ,
40
40
"mdast-util-to-markdown" : " ^0.6.0" ,
41
- "micromark-extension-mdxjs-esm" : " ^0.1 .0" ,
41
+ "micromark-extension-mdxjs-esm" : " ^0.2 .0" ,
42
42
"nyc" : " ^15.0.0" ,
43
43
"prettier" : " ^2.0.0" ,
44
44
"remark-cli" : " ^9.0.0" ,
Original file line number Diff line number Diff line change @@ -100,8 +100,10 @@ test('markdown -> mdast', function (t) {
100
100
start : { line : 1 , column : 7 } ,
101
101
end : { line : 1 , column : 8 }
102
102
} ,
103
- name : 'a'
104
- }
103
+ name : 'a' ,
104
+ range : [ 7 , 8 ]
105
+ } ,
106
+ range : [ 7 , 8 ]
105
107
}
106
108
] ,
107
109
source : {
@@ -113,8 +115,10 @@ test('markdown -> mdast', function (t) {
113
115
end : { line : 1 , column : 17 }
114
116
} ,
115
117
value : 'b' ,
116
- raw : '"b"'
117
- }
118
+ raw : '"b"' ,
119
+ range : [ 14 , 17 ]
120
+ } ,
121
+ range : [ 0 , 17 ]
118
122
} ,
119
123
{
120
124
type : 'ExportNamedDeclaration' ,
@@ -149,7 +153,8 @@ test('markdown -> mdast', function (t) {
149
153
start : { line : 2 , column : 11 } ,
150
154
end : { line : 2 , column : 12 }
151
155
} ,
152
- name : 'c'
156
+ name : 'c' ,
157
+ range : [ 29 , 30 ]
153
158
} ,
154
159
init : {
155
160
type : 'Literal' ,
@@ -160,17 +165,22 @@ test('markdown -> mdast', function (t) {
160
165
end : { line : 2 , column : 17 }
161
166
} ,
162
167
value : '' ,
163
- raw : '""'
164
- }
168
+ raw : '""' ,
169
+ range : [ 33 , 35 ]
170
+ } ,
171
+ range : [ 29 , 35 ]
165
172
}
166
173
] ,
167
- kind : 'var'
174
+ kind : 'var' ,
175
+ range : [ 25 , 35 ]
168
176
} ,
169
177
specifiers : [ ] ,
170
- source : null
178
+ source : null ,
179
+ range : [ 18 , 35 ]
171
180
}
172
181
] ,
173
- sourceType : 'module'
182
+ sourceType : 'module' ,
183
+ range : [ 0 , 35 ]
174
184
}
175
185
}
176
186
} ,
You can’t perform that action at this time.
0 commit comments