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 3838 "acorn" : " ^8.0.0" ,
3939 "mdast-util-from-markdown" : " ^0.8.0" ,
4040 "mdast-util-to-markdown" : " ^0.6.0" ,
41- "micromark-extension-mdxjs-esm" : " ^0.1 .0" ,
41+ "micromark-extension-mdxjs-esm" : " ^0.2 .0" ,
4242 "nyc" : " ^15.0.0" ,
4343 "prettier" : " ^2.0.0" ,
4444 "remark-cli" : " ^9.0.0" ,
Original file line number Diff line number Diff line change @@ -100,8 +100,10 @@ test('markdown -> mdast', function (t) {
100100 start : { line : 1 , column : 7 } ,
101101 end : { line : 1 , column : 8 }
102102 } ,
103- name : 'a'
104- }
103+ name : 'a' ,
104+ range : [ 7 , 8 ]
105+ } ,
106+ range : [ 7 , 8 ]
105107 }
106108 ] ,
107109 source : {
@@ -113,8 +115,10 @@ test('markdown -> mdast', function (t) {
113115 end : { line : 1 , column : 17 }
114116 } ,
115117 value : 'b' ,
116- raw : '"b"'
117- }
118+ raw : '"b"' ,
119+ range : [ 14 , 17 ]
120+ } ,
121+ range : [ 0 , 17 ]
118122 } ,
119123 {
120124 type : 'ExportNamedDeclaration' ,
@@ -149,7 +153,8 @@ test('markdown -> mdast', function (t) {
149153 start : { line : 2 , column : 11 } ,
150154 end : { line : 2 , column : 12 }
151155 } ,
152- name : 'c'
156+ name : 'c' ,
157+ range : [ 29 , 30 ]
153158 } ,
154159 init : {
155160 type : 'Literal' ,
@@ -160,17 +165,22 @@ test('markdown -> mdast', function (t) {
160165 end : { line : 2 , column : 17 }
161166 } ,
162167 value : '' ,
163- raw : '""'
164- }
168+ raw : '""' ,
169+ range : [ 33 , 35 ]
170+ } ,
171+ range : [ 29 , 35 ]
165172 }
166173 ] ,
167- kind : 'var'
174+ kind : 'var' ,
175+ range : [ 25 , 35 ]
168176 } ,
169177 specifiers : [ ] ,
170- source : null
178+ source : null ,
179+ range : [ 18 , 35 ]
171180 }
172181 ] ,
173- sourceType : 'module'
182+ sourceType : 'module' ,
183+ range : [ 0 , 35 ]
174184 }
175185 }
176186 } ,
You can’t perform that action at this time.
0 commit comments