File tree Expand file tree Collapse file tree 2 files changed +10
-7
lines changed Expand file tree Collapse file tree 2 files changed +10
-7
lines changed Original file line number Diff line number Diff line change 56
56
"devDependencies" : {
57
57
"@types/node" : " ^20.0.0" ,
58
58
"c8" : " ^8.0.0" ,
59
- "prettier" : " ^2 .0.0" ,
59
+ "prettier" : " ^3 .0.0" ,
60
60
"remark-cli" : " ^11.0.0" ,
61
61
"remark-preset-wooorm" : " ^9.0.0" ,
62
62
"type-coverage" : " ^2.0.0" ,
63
63
"typescript" : " ^5.0.0" ,
64
- "unist-builder" : " ^3 .0.0" ,
65
- "xo" : " ^0.54 .0"
64
+ "unist-builder" : " ^4 .0.0" ,
65
+ "xo" : " ^0.56 .0"
66
66
},
67
67
"scripts" : {
68
68
"prepack" : " npm run build && npm run format" ,
69
69
"build" : " tsc --build --clean && tsc --build && type-coverage" ,
70
- "format" : " remark . -qfo && prettier . -w --loglevel warn && xo --fix" ,
70
+ "format" : " remark . -qfo && prettier . -w --log-level warn && xo --fix" ,
71
71
"test-api" : " node --conditions development test/index.js" ,
72
72
"test-coverage" : " c8 --100 --reporter lcov npm run test-api" ,
73
73
"test" : " npm run build && npm run format && npm run test-coverage"
Original file line number Diff line number Diff line change @@ -98,9 +98,12 @@ test('select.matches()', async function (t) {
98
98
99
99
for ( const pseudo of simplePseudos ) {
100
100
await t . test ( 'should throw on `' + pseudo + '`' , async function ( ) {
101
- assert . throws ( function ( ) {
102
- matches ( ':' + pseudo , u ( 'root' , [ ] ) )
103
- } , new RegExp ( 'Error: Cannot use `:' + pseudo + '` without parent' ) )
101
+ assert . throws (
102
+ function ( ) {
103
+ matches ( ':' + pseudo , u ( 'root' , [ ] ) )
104
+ } ,
105
+ new RegExp ( 'Error: Cannot use `:' + pseudo + '` without parent' )
106
+ )
104
107
} )
105
108
}
106
109
You can’t perform that action at this time.
0 commit comments