Skip to content

Commit 448fb5c

Browse files
committed
Update dev-dependencies
1 parent e87a677 commit 448fb5c

File tree

2 files changed

+23
-20
lines changed

2 files changed

+23
-20
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
"type-coverage": "^2.0.0",
5757
"typescript": "^4.0.0",
5858
"unist-util-remove-position": "^4.0.0",
59-
"xo": "^0.47.0"
59+
"xo": "^0.49.0"
6060
},
6161
"scripts": {
6262
"build": "rimraf \"{index,test}.d.ts\" && tsc && type-coverage",

test.js

Lines changed: 22 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -255,23 +255,26 @@ test('markdown -> mdast', (t) => {
255255
end: 2,
256256
name: 'a',
257257
loc: {
258-
start: {line: 1, column: 1},
259-
end: {line: 1, column: 2}
258+
start: {line: 1, column: 1, offset: 1},
259+
end: {line: 1, column: 2, offset: 2}
260260
},
261261
range: [1, 2]
262262
},
263263
start: 1,
264264
end: 2,
265265
loc: {
266-
start: {line: 1, column: 1},
267-
end: {line: 1, column: 2}
266+
start: {line: 1, column: 1, offset: 1},
267+
end: {line: 1, column: 2, offset: 2}
268268
},
269269
range: [1, 2]
270270
}
271271
],
272272
sourceType: 'module',
273273
comments: [],
274-
loc: {start: {line: 1, column: 1}, end: {line: 1, column: 2}},
274+
loc: {
275+
start: {line: 1, column: 1, offset: 1},
276+
end: {line: 1, column: 2, offset: 2}
277+
},
275278
range: [1, 2]
276279
}
277280
}
@@ -321,16 +324,16 @@ test('markdown -> mdast', (t) => {
321324
end: 10,
322325
name: 'c',
323326
loc: {
324-
start: {line: 1, column: 9},
325-
end: {line: 1, column: 10}
327+
start: {line: 1, column: 9, offset: 9},
328+
end: {line: 1, column: 10, offset: 10}
326329
},
327330
range: [9, 10]
328331
},
329332
start: 3,
330333
end: 16,
331334
loc: {
332-
start: {line: 1, column: 3},
333-
end: {line: 1, column: 16}
335+
start: {line: 1, column: 3, offset: 3},
336+
end: {line: 2, column: 0, offset: 16}
334337
},
335338
range: [3, 16]
336339
}
@@ -343,8 +346,8 @@ test('markdown -> mdast', (t) => {
343346
start: 3,
344347
end: 8,
345348
loc: {
346-
start: {line: 1, column: 3},
347-
end: {line: 1, column: 8}
349+
start: {line: 1, column: 3, offset: 3},
350+
end: {line: 1, column: 8, offset: 8}
348351
},
349352
range: [3, 8]
350353
},
@@ -354,15 +357,15 @@ test('markdown -> mdast', (t) => {
354357
start: 11,
355358
end: 15,
356359
loc: {
357-
start: {line: 1, column: 11},
358-
end: {line: 1, column: 15}
360+
start: {line: 1, column: 11, offset: 11},
361+
end: {line: 1, column: 15, offset: 15}
359362
},
360363
range: [11, 15]
361364
}
362365
],
363366
loc: {
364-
start: {line: 1, column: 3},
365-
end: {line: 1, column: 16}
367+
start: {line: 1, column: 3, offset: 3},
368+
end: {line: 2, column: 0, offset: 16}
366369
},
367370
range: [3, 16]
368371
}
@@ -386,15 +389,15 @@ test('markdown -> mdast', (t) => {
386389
start: 21,
387390
end: 28,
388391
loc: {
389-
start: {line: 2, column: 5},
390-
end: {line: 2, column: 12}
392+
start: {line: 2, column: 5, offset: 21},
393+
end: {line: 2, column: 12, offset: 28}
391394
},
392395
range: [21, 28]
393396
}
394397
],
395398
loc: {
396-
start: {line: 2, column: 5},
397-
end: {line: 2, column: 12}
399+
start: {line: 2, column: 5, offset: 21},
400+
end: {line: 2, column: 12, offset: 28}
398401
},
399402
range: [21, 28]
400403
}

0 commit comments

Comments
 (0)