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 5656 "devDependencies" : {
5757 "@types/node" : " ^20.0.0" ,
5858 "c8" : " ^8.0.0" ,
59- "prettier" : " ^2 .0.0" ,
59+ "prettier" : " ^3 .0.0" ,
6060 "remark-cli" : " ^11.0.0" ,
6161 "remark-preset-wooorm" : " ^9.0.0" ,
6262 "type-coverage" : " ^2.0.0" ,
6363 "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"
6666 },
6767 "scripts" : {
6868 "prepack" : " npm run build && npm run format" ,
6969 "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" ,
7171 "test-api" : " node --conditions development test/index.js" ,
7272 "test-coverage" : " c8 --100 --reporter lcov npm run test-api" ,
7373 "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) {
9898
9999 for ( const pseudo of simplePseudos ) {
100100 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+ )
104107 } )
105108 }
106109
You can’t perform that action at this time.
0 commit comments