File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -390,9 +390,9 @@ function collectText(node, options) {
390
390
// break is the zero-width space character (U+200B), then the break is
391
391
// removed, leaving behind the zero-width space.
392
392
if (
393
- lines [ index ] . charCodeAt ( lines [ index ] . length - 1 ) === 0x200b /* ZWSP */ ||
393
+ lines [ index ] . charCodeAt ( lines [ index ] . length - 1 ) === 0x20_0b /* ZWSP */ ||
394
394
( index < lines . length - 1 &&
395
- lines [ index + 1 ] . charCodeAt ( 0 ) === 0x200b ) /* ZWSP */
395
+ lines [ index + 1 ] . charCodeAt ( 0 ) === 0x20_0b ) /* ZWSP */
396
396
) {
397
397
result . push ( lines [ index ] )
398
398
join = ''
Original file line number Diff line number Diff line change 50
50
"type-coverage" : " ^2.0.0" ,
51
51
"typescript" : " ^4.0.0" ,
52
52
"unist-builder" : " ^3.0.0" ,
53
- "xo" : " ^0.39 .0"
53
+ "xo" : " ^0.42 .0"
54
54
},
55
55
"scripts" : {
56
56
"prepack" : " npm run build && npm run format" ,
You can’t perform that action at this time.
0 commit comments