Skip to content

Commit

Permalink
chore(deps): bump jsdom from 24.0.0 to 24.1.0 (#1833)
Browse files Browse the repository at this point in the history
* chore(deps): bump jsdom from 24.0.0 to 24.1.0

Bumps [jsdom](https://github.com/jsdom/jsdom) from 24.0.0 to 24.1.0.
- [Release notes](https://github.com/jsdom/jsdom/releases)
- [Changelog](https://github.com/jsdom/jsdom/blob/main/Changelog.md)
- [Commits](jsdom/jsdom@24.0.0...24.1.0)

---
updated-dependencies:
- dependency-name: jsdom
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* simplify selector

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Denis Ah-Kang <denis@w3.org>
  • Loading branch information
dependabot[bot] and deniak authored May 27, 2024
1 parent a21d068 commit ff025aa
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 18 deletions.
2 changes: 1 addition & 1 deletion lib/rules/structure/section-ids.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export const { name } = self;
*/
export function check(sr, done) {
const headers = sr.jsDocument.querySelectorAll('h2, h3, h4, h5, h6');
const ignoreH3 = sr.jsDocument.querySelector('.head>h1+h2+h3');
const ignoreH3 = sr.jsDocument.querySelector('.head > h3');

Array.prototype.every.call(headers, h => {
// has an id
Expand Down
37 changes: 21 additions & 16 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"express": "4.19.2",
"express-handlebars": "7.1.0",
"insafe": "0.5.1",
"jsdom": "24.0.0",
"jsdom": "24.1.0",
"metaviewport-parser": "0.3.0",
"morgan": "1.10.0",
"node-w3capi": "2.1.0",
Expand Down

0 comments on commit ff025aa

Please sign in to comment.