From 39fb2f99d6558b6edd19bc98888238eeca25f829 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 2 Apr 2024 22:07:14 -0400 Subject: [PATCH 01/14] chore: bump ip from 1.1.8 to 1.1.9 (#1023) Bumps [ip](https://github.com/indutny/node-ip) from 1.1.8 to 1.1.9.
Commits

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=ip&package-manager=npm_and_yarn&previous-version=1.1.8&new-version=1.1.9)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) You can trigger a rebase of this PR by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/dequelabs/axe-core-npm/network/alerts).
> **Note** > Automatic rebases have been disabled on this pull request as it has been open for over 30 days. Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/package-lock.json b/package-lock.json index 8576e7f1..5acdbce8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -17048,9 +17048,9 @@ } }, "node_modules/ip": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ip/-/ip-2.0.0.tgz", - "integrity": "sha512-WKa+XuLG1A1R0UWhl2+1XQSi+fZWMsYKffMZTTYsiZaUD8k2yDAj5atimTUD2TZkyCkNEeYE5NhFZmupOGtjYQ==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/ip/-/ip-2.0.1.tgz", + "integrity": "sha512-lJUL9imLTNi1ZfXT+DU6rBBdbiKGBuay9B6xGSPVjUeQwaH1RIGqef8RZkUtHioLmSNpPR5M4HVKJGm1j8FWVQ==", "dev": true }, "node_modules/ip-regex": { @@ -24022,9 +24022,9 @@ } }, "node_modules/pac-resolver/node_modules/ip": { - "version": "1.1.8", - "resolved": "https://registry.npmjs.org/ip/-/ip-1.1.8.tgz", - "integrity": "sha512-PuExPYUiu6qMBQb4l06ecm6T6ujzhmh+MeJcW9wa89PoAz5pvd4zPgN5WJV104mb6S2T1AwNIAaB70JNrLQWhg==", + "version": "1.1.9", + "resolved": "https://registry.npmjs.org/ip/-/ip-1.1.9.tgz", + "integrity": "sha512-cyRxvOEpNHNtchU3Ln9KC/auJgup87llfQpQ+t5ghoC/UhL16SWzbueiCsdTnWmqAWl7LadfuwhlqmtOaqMHdQ==", "dev": true }, "node_modules/package-hash": { @@ -29851,7 +29851,7 @@ "dependencies": { "@axe-core/webdriverjs": "^4.8.5", "axe-core": "~4.9.0", - "chromedriver": "latest", + "chromedriver": "*", "colors": "^1.4.0", "commander": "^9.4.1", "selenium-webdriver": "~4.17.0" @@ -30009,7 +30009,7 @@ "async-listen": "^3.0.1", "axe-test-fixtures": "github:dequelabs/axe-test-fixtures#v1", "chai": "^4.3.6", - "chromedriver": "latest", + "chromedriver": "*", "cross-dirname": "^0.1.0", "delay": "^5.0.0", "devtools": "^8.27.2", @@ -30044,7 +30044,7 @@ "async-listen": "^3.0.1", "axe-test-fixtures": "github:dequelabs/axe-test-fixtures#v1", "chai": "^4.3.6", - "chromedriver": "latest", + "chromedriver": "*", "express": "^4.18.2", "mocha": "^10.0.0", "nyc": "^15.1.0", From f962a433be9c26a298e4c1fbb10e7b94694d2062 Mon Sep 17 00:00:00 2001 From: Michael Date: Wed, 3 Apr 2024 09:20:37 -0400 Subject: [PATCH 02/14] test(cli): add test to cover selenium-webdriver <4.17.0 (#1038) Add a test to cover the event that users are using selenium-webdriver <4.17.0 and chrome options use the "old" way of supporting headless runs. Also did some cleanup and removed code that wasn't required in cli no qa required --------- Co-authored-by: Gabe <41127686+Zidious@users.noreply.github.com> --- package-lock.json | 8 +++++--- packages/cli/package.json | 2 ++ packages/cli/src/lib/axe-test-urls.ts | 2 +- packages/cli/src/lib/utils.test.ts | 7 +------ packages/cli/src/lib/webdriver.test.ts | 23 +++++++++++++++++++++-- 5 files changed, 30 insertions(+), 12 deletions(-) diff --git a/package-lock.json b/package-lock.json index 5acdbce8..d489c13a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5473,9 +5473,9 @@ } }, "node_modules/@types/sinon": { - "version": "17.0.2", - "resolved": "https://registry.npmjs.org/@types/sinon/-/sinon-17.0.2.tgz", - "integrity": "sha512-Zt6heIGsdqERkxctIpvN5Pv3edgBrhoeb3yHyxffd4InN0AX2SVNKSrhdDZKGQICVOxWP/q4DyhpfPNMSrpIiA==", + "version": "17.0.3", + "resolved": "https://registry.npmjs.org/@types/sinon/-/sinon-17.0.3.tgz", + "integrity": "sha512-j3uovdn8ewky9kRBG19bOwaZbexJu/XjtkHyjvUgt4xfPFz18dcORIMqnYh66Fx3Powhcr85NT5+er3+oViapw==", "dev": true, "dependencies": { "@types/sinonjs__fake-timers": "*" @@ -29864,11 +29864,13 @@ "@types/chromedriver": "^81.0.1", "@types/mocha": "^10.0.0", "@types/selenium-webdriver": "^4.1.5", + "@types/sinon": "^17.0.3", "chai": "^4.3.6", "execa": "5.1.1", "mocha": "^10.0.0", "nyc": "^15.1.0", "rimraf": "^5.0.5", + "sinon": "^17.0.1", "tempy": "^1.0.0", "ts-node": "^10.9.1", "typescript": "^5.2.2" diff --git a/packages/cli/package.json b/packages/cli/package.json index 9858586a..a174f07e 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -59,11 +59,13 @@ "@types/chromedriver": "^81.0.1", "@types/mocha": "^10.0.0", "@types/selenium-webdriver": "^4.1.5", + "@types/sinon": "^17.0.3", "chai": "^4.3.6", "execa": "5.1.1", "mocha": "^10.0.0", "nyc": "^15.1.0", "rimraf": "^5.0.5", + "sinon": "^17.0.1", "tempy": "^1.0.0", "ts-node": "^10.9.1", "typescript": "^5.2.2" diff --git a/packages/cli/src/lib/axe-test-urls.ts b/packages/cli/src/lib/axe-test-urls.ts index c5c64c43..94838187 100644 --- a/packages/cli/src/lib/axe-test-urls.ts +++ b/packages/cli/src/lib/axe-test-urls.ts @@ -19,7 +19,7 @@ const testPages = async ( const currentUrl = urls[0].replace(/[,;]$/, ''); if (events?.onTestStart) { - events?.onTestStart(currentUrl); + events.onTestStart(currentUrl); } if (config.timer) { diff --git a/packages/cli/src/lib/utils.test.ts b/packages/cli/src/lib/utils.test.ts index 7b849b61..cc761f8e 100644 --- a/packages/cli/src/lib/utils.test.ts +++ b/packages/cli/src/lib/utils.test.ts @@ -3,7 +3,6 @@ import { assert } from 'chai'; import tempy from 'tempy'; import { join } from 'path'; import { mkdirSync, writeFileSync, rmSync } from 'fs'; -import { dependencies } from '../../package.json'; import * as utils from './utils'; describe('utils', () => { @@ -83,11 +82,7 @@ describe('utils', () => { writeFileSync(join(parentDirname, 'axe.js'), 'parent'); const cliDirname = join(tempDir, 'packages', 'cli'); - const nodeModDirname = join( - cliDirname, - 'node_modules', - 'axe-core' - ); + const nodeModDirname = join(cliDirname, 'node_modules', 'axe-core'); mkdirSync(nodeModDirname, { recursive: true }); writeFileSync(join(nodeModDirname, 'axe.js'), 'node modules'); diff --git a/packages/cli/src/lib/webdriver.test.ts b/packages/cli/src/lib/webdriver.test.ts index 36f59354..a8a2e8c4 100644 --- a/packages/cli/src/lib/webdriver.test.ts +++ b/packages/cli/src/lib/webdriver.test.ts @@ -4,9 +4,10 @@ import { startDriver } from './webdriver'; import { WebDriver } from 'selenium-webdriver'; import chromedriver from 'chromedriver'; import chrome from 'selenium-webdriver/chrome'; -import type { Options } from 'selenium-webdriver/chrome'; import path from 'path'; import { WebdriverConfigParams } from '../types'; +import sinon from 'sinon'; + describe('startDriver', () => { let config: WebdriverConfigParams; let browser: string; @@ -22,7 +23,11 @@ describe('startDriver', () => { }); afterEach(async () => { - await driver.quit(); + // try catch required due to `chrome.options` being mocked with sinon + // and not properly creating a driver + try { + await driver.quit(); + } catch (error) {} }); it('creates a driver', async () => { @@ -101,4 +106,18 @@ describe('startDriver', () => { assert.isObject(timeoutValue); assert.deepEqual(timeoutValue.script, 10000000); }); + + it('invokes `options.headless()` on versions of selenium-webdriver < 4.17.0', async () => { + const stub = sinon.stub(chrome, 'Options').returns({ + headless: () => {} + }); + + // try catch required due to `chrome.options` being mocked with sinon + // and not properly creating a driver + try { + driver = await startDriver(config); + } catch (error) {} + assert.isTrue(stub.calledOnce); + stub.restore(); + }); }); From f38a6c82e98db673ed672d0f2e1a41810fd488c8 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 10 Apr 2024 09:14:12 -0400 Subject: [PATCH 03/14] chore: bump undici from 5.28.3 to 5.28.4 (#1042) --- package-lock.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index aaf4df1f..01a41316 100644 --- a/package-lock.json +++ b/package-lock.json @@ -28160,9 +28160,9 @@ } }, "node_modules/undici": { - "version": "5.28.3", - "resolved": "https://registry.npmjs.org/undici/-/undici-5.28.3.tgz", - "integrity": "sha512-3ItfzbrhDlINjaP0duwnNsKpDQk3acHI3gVJ1z4fmwMK31k5G9OVIAMLSIaP6w4FaGkaAkN6zaQO9LUvZ1t7VA==", + "version": "5.28.4", + "resolved": "https://registry.npmjs.org/undici/-/undici-5.28.4.tgz", + "integrity": "sha512-72RFADWFqKmUb2hmmvNODKL3p9hcB6Gt2DOQMis1SEBaV6a4MH8soBvzg+95CYhCKPFedut2JY9bMfrDl9D23g==", "dev": true, "dependencies": { "@fastify/busboy": "^2.0.0" From 4ca98bc293473bf63777e772bc6e19594f2b6013 Mon Sep 17 00:00:00 2001 From: Steven Lambert <2433219+straker@users.noreply.github.com> Date: Thu, 9 May 2024 10:14:33 -0600 Subject: [PATCH 04/14] chore: update test-fixtures to fix lazy load iframe (#1053) Fixes the broken lazy load iframe tests. Ref: https://github.com/dequelabs/axe-core-npm/pull/1052 No QA needed. --- package-lock.json | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index 01a41316..796a918d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9970,8 +9970,7 @@ }, "node_modules/axe-test-fixtures": { "version": "1.0.0", - "resolved": "git+ssh://git@github.com/dequelabs/axe-test-fixtures.git#a8b90ebb4fe63fc76158d231c109d527471e698f", - "integrity": "sha512-PBK63f+4QooW0EVi9cxFEooEtiR5PiWCBq2TKes28ep5wh3huWCB125nL9dGozys10YwqpLSf4kZBXloJFK5QA==", + "resolved": "git+ssh://git@github.com/dequelabs/axe-test-fixtures.git#80fde4a947257461a2cc2d3dc746e9381dc59aa0", "dev": true, "license": "MPL-2.0" }, @@ -29851,7 +29850,7 @@ "dependencies": { "@axe-core/webdriverjs": "^4.9.0", "axe-core": "~4.9.0", - "chromedriver": "*", + "chromedriver": "latest", "colors": "^1.4.0", "commander": "^9.4.1", "selenium-webdriver": "~4.17.0" @@ -30011,7 +30010,7 @@ "async-listen": "^3.0.1", "axe-test-fixtures": "github:dequelabs/axe-test-fixtures#v1", "chai": "^4.3.6", - "chromedriver": "*", + "chromedriver": "latest", "cross-dirname": "^0.1.0", "delay": "^5.0.0", "devtools": "^8.27.2", @@ -30046,7 +30045,7 @@ "async-listen": "^3.0.1", "axe-test-fixtures": "github:dequelabs/axe-test-fixtures#v1", "chai": "^4.3.6", - "chromedriver": "*", + "chromedriver": "latest", "express": "^4.18.2", "mocha": "^10.0.0", "nyc": "^15.1.0", From a88b0b93c1e4cbb4f827d1bda445bfcccca42e61 Mon Sep 17 00:00:00 2001 From: Ben Allen <157512320+ballendq@users.noreply.github.com> Date: Thu, 9 May 2024 17:23:35 +0100 Subject: [PATCH 05/14] docs(react): Update React support information. Offer axe Developer Hub (#1047) Add axe Developer Hub as the preferred option for React 18+ users. Refs: https://github.com/dequelabs/axe-core-npm/issues/500 QA notes: No QA needed. --------- Co-authored-by: Steven Lambert <2433219+straker@users.noreply.github.com> --- packages/react/README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/react/README.md b/packages/react/README.md index a9931306..18d63de0 100644 --- a/packages/react/README.md +++ b/packages/react/README.md @@ -6,7 +6,11 @@ Previous versions of this program were maintained at [dequelabs/react-axe](https ## React support -This package does not support React 18 and above. Deque is working on alternatives for React 18+ developers and will update the community following product announcements at [axe-con 2024](https://www.deque.com/axe-con/). +This package does not support React 18 and above. Deque released a product called [axe Developer Hub](https://www.deque.com/axe/developer-hub/). This product has [numerous JavaScript/TypeScript test framework integrations](https://docs.deque.com/developer-hub/2/en/dh-platform-support#browser-automation-platform-support) and is Deque's recommended path forward for users of this library who wish to use more modern versions of React. + +The product has a free plan where each licensed user gets 1 API key. This is a good option for open-source projects or solo developers looking for high-quality accessibility feedback. [Sign up for the free plan](https://axe.deque.com/signup?product=axe-devtools-watcher&redirect_uri=https%3A%2F%2Faxe.deque.com%2Faxe-watcher%2Fstartup). + +For more information, read the [blog post: Introducing axe Developer Hub, now available as part of axe DevTools for Web](https://www.deque.com/blog/introducing-axe-developer-hub-now-available-as-part-of-axe-devtools-for-web/) ## Usage From 8644fbd2d2b407c68b5ff3bd7b8368c6c173e355 Mon Sep 17 00:00:00 2001 From: Steven Lambert <2433219+straker@users.noreply.github.com> Date: Thu, 9 May 2024 14:56:38 -0600 Subject: [PATCH 06/14] fix: Update axe-core to v4.9.1 (#1055) No QA needed --- package-lock.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 796a918d..c30a2e86 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9961,9 +9961,9 @@ "link": true }, "node_modules/axe-core": { - "version": "4.9.0", - "resolved": "https://registry.npmjs.org/axe-core/-/axe-core-4.9.0.tgz", - "integrity": "sha512-H5orY+M2Fr56DWmMFpMrq5Ge93qjNdPVqzBv5gWK3aD1OvjBEJlEzxf09z93dGVQeI0LiW+aCMIx1QtShC/zUw==", + "version": "4.9.1", + "resolved": "https://registry.npmjs.org/axe-core/-/axe-core-4.9.1.tgz", + "integrity": "sha512-QbUdXJVTpvUTHU7871ppZkdOLBeGUKBQWHkHrvN2V9IQWGMt61zf3B45BtzjxEJzYuj0JBjBZP/hmYS/R9pmAw==", "engines": { "node": ">=4" } From d3e60f539feec975330fcc5fda647ec4af0d31a3 Mon Sep 17 00:00:00 2001 From: API Team CI User Date: Fri, 10 May 2024 12:26:10 +0000 Subject: [PATCH 07/14] chore: RC v4.9.1 --- CHANGELOG.md | 11 +++++++++++ lerna.json | 2 +- package-lock.json | 22 +++++++++++----------- packages/cli/CHANGELOG.md | 8 ++++++++ packages/cli/package.json | 4 ++-- packages/playwright/CHANGELOG.md | 8 ++++++++ packages/playwright/package.json | 2 +- packages/puppeteer/CHANGELOG.md | 8 ++++++++ packages/puppeteer/package.json | 2 +- packages/react/CHANGELOG.md | 8 ++++++++ packages/react/package.json | 2 +- packages/reporter-earl/CHANGELOG.md | 8 ++++++++ packages/reporter-earl/package.json | 2 +- packages/webdriverio/CHANGELOG.md | 8 ++++++++ packages/webdriverio/package.json | 2 +- packages/webdriverjs/CHANGELOG.md | 8 ++++++++ packages/webdriverjs/package.json | 2 +- test/axe-core/CHANGELOG.md | 8 ++++++++ test/axe-core/package.json | 2 +- test/wdio/CHANGELOG.md | 8 ++++++++ test/wdio/package.json | 4 ++-- 21 files changed, 106 insertions(+), 23 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f27bd40d..7e85018d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [4.9.1](https://github.com/dequelabs/axe-core-npm/compare/v4.9.0...v4.9.1) (2024-05-10) + + +### Bug Fixes + +* Update axe-core to v4.9.1 ([#1055](https://github.com/dequelabs/axe-core-npm/issues/1055)) ([8644fbd](https://github.com/dequelabs/axe-core-npm/commit/8644fbd2d2b407c68b5ff3bd7b8368c6c173e355)) + + + + + # [4.9.0](https://github.com/dequelabs/axe-core-npm/compare/v4.8.5...v4.9.0) (2024-04-01) diff --git a/lerna.json b/lerna.json index c3624531..63d5af58 100644 --- a/lerna.json +++ b/lerna.json @@ -1,3 +1,3 @@ { - "version": "4.9.0" + "version": "4.9.1" } diff --git a/package-lock.json b/package-lock.json index c30a2e86..6689f6ca 100644 --- a/package-lock.json +++ b/package-lock.json @@ -29845,10 +29845,10 @@ }, "packages/cli": { "name": "@axe-core/cli", - "version": "4.9.0", + "version": "4.9.1", "license": "MPL-2.0", "dependencies": { - "@axe-core/webdriverjs": "^4.9.0", + "@axe-core/webdriverjs": "^4.9.1", "axe-core": "~4.9.0", "chromedriver": "latest", "colors": "^1.4.0", @@ -29880,7 +29880,7 @@ }, "packages/playwright": { "name": "@axe-core/playwright", - "version": "4.9.0", + "version": "4.9.1", "license": "MPL-2.0", "dependencies": { "axe-core": "~4.9.0" @@ -29908,7 +29908,7 @@ }, "packages/puppeteer": { "name": "@axe-core/puppeteer", - "version": "4.9.0", + "version": "4.9.1", "license": "MPL-2.0", "dependencies": { "axe-core": "~4.9.0" @@ -29942,7 +29942,7 @@ }, "packages/react": { "name": "@axe-core/react", - "version": "4.9.0", + "version": "4.9.1", "license": "MPL-2.0", "dependencies": { "axe-core": "~4.9.0", @@ -29973,7 +29973,7 @@ }, "packages/reporter-earl": { "name": "@axe-core/reporter-earl", - "version": "4.9.0", + "version": "4.9.1", "license": "MPL-2.0", "devDependencies": { "@types/clone": "^2.1.1", @@ -29993,7 +29993,7 @@ }, "packages/webdriverio": { "name": "@axe-core/webdriverio", - "version": "4.9.0", + "version": "4.9.1", "license": "MPL-2.0", "dependencies": { "axe-core": "~4.9.0", @@ -30030,7 +30030,7 @@ }, "packages/webdriverjs": { "name": "@axe-core/webdriverjs", - "version": "4.9.0", + "version": "4.9.1", "license": "MPL-2.0", "dependencies": { "axe-core": "~4.9.0" @@ -30061,7 +30061,7 @@ }, "test/axe-core": { "name": "axe_core_test", - "version": "4.9.0", + "version": "4.9.1", "devDependencies": { "glob": "^10.3.3", "mocha": "^10.2.0", @@ -30090,9 +30090,9 @@ }, "test/wdio": { "name": "wdio-tests", - "version": "4.9.0", + "version": "4.9.1", "devDependencies": { - "@axe-core/webdriverio": "^4.9.0", + "@axe-core/webdriverio": "^4.9.1", "@types/chai": "^4.3.9", "@types/mocha": "^10.0.3", "@wdio/cli": "^8.35.1", diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md index 21356129..6e641ac4 100644 --- a/packages/cli/CHANGELOG.md +++ b/packages/cli/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [4.9.1](https://github.com/dequelabs/axe-core-npm/compare/v4.9.0...v4.9.1) (2024-05-10) + +**Note:** Version bump only for package @axe-core/cli + + + + + # [4.9.0](https://github.com/dequelabs/axe-core-npm/compare/v4.8.5...v4.9.0) (2024-04-01) diff --git a/packages/cli/package.json b/packages/cli/package.json index 8ac8c004..dbddc8ee 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@axe-core/cli", - "version": "4.9.0", + "version": "4.9.1", "description": "A CLI for accessibility testing using axe-core", "author": { "name": "Wilco Fiers", @@ -47,7 +47,7 @@ "testing" ], "dependencies": { - "@axe-core/webdriverjs": "^4.9.0", + "@axe-core/webdriverjs": "^4.9.1", "axe-core": "~4.9.0", "chromedriver": "latest", "colors": "^1.4.0", diff --git a/packages/playwright/CHANGELOG.md b/packages/playwright/CHANGELOG.md index 8055af02..0993a95e 100644 --- a/packages/playwright/CHANGELOG.md +++ b/packages/playwright/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [4.9.1](https://github.com/dequelabs/axe-core-npm/compare/v4.9.0...v4.9.1) (2024-05-10) + +**Note:** Version bump only for package @axe-core/playwright + + + + + # [4.9.0](https://github.com/dequelabs/axe-core-npm/compare/v4.8.5...v4.9.0) (2024-04-01) diff --git a/packages/playwright/package.json b/packages/playwright/package.json index f9e85f06..6f6d00c5 100644 --- a/packages/playwright/package.json +++ b/packages/playwright/package.json @@ -1,6 +1,6 @@ { "name": "@axe-core/playwright", - "version": "4.9.0", + "version": "4.9.1", "description": "Provides a method to inject and analyze web pages using axe", "contributors": [ { diff --git a/packages/puppeteer/CHANGELOG.md b/packages/puppeteer/CHANGELOG.md index a7f23844..7270e72b 100644 --- a/packages/puppeteer/CHANGELOG.md +++ b/packages/puppeteer/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [4.9.1](https://github.com/dequelabs/axe-core-npm/compare/v4.9.0...v4.9.1) (2024-05-10) + +**Note:** Version bump only for package @axe-core/puppeteer + + + + + # [4.9.0](https://github.com/dequelabs/axe-core-npm/compare/v4.8.5...v4.9.0) (2024-04-01) diff --git a/packages/puppeteer/package.json b/packages/puppeteer/package.json index 7dce97ed..6fcc8d94 100644 --- a/packages/puppeteer/package.json +++ b/packages/puppeteer/package.json @@ -1,6 +1,6 @@ { "name": "@axe-core/puppeteer", - "version": "4.9.0", + "version": "4.9.1", "description": "Provides a chainable axe API for Puppeteer and automatically injects into all frames", "repository": { "type": "git", diff --git a/packages/react/CHANGELOG.md b/packages/react/CHANGELOG.md index f2ed8771..42743e58 100644 --- a/packages/react/CHANGELOG.md +++ b/packages/react/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [4.9.1](https://github.com/dequelabs/axe-core-npm/compare/v4.9.0...v4.9.1) (2024-05-10) + +**Note:** Version bump only for package @axe-core/react + + + + + # [4.9.0](https://github.com/dequelabs/axe-core-npm/compare/v4.8.5...v4.9.0) (2024-04-01) diff --git a/packages/react/package.json b/packages/react/package.json index 280d13aa..39ecfa31 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,6 +1,6 @@ { "name": "@axe-core/react", - "version": "4.9.0", + "version": "4.9.1", "description": "Dynamic accessibility analysis for React using axe-core", "main": "./dist/index.js", "module": "./dist/index.mjs", diff --git a/packages/reporter-earl/CHANGELOG.md b/packages/reporter-earl/CHANGELOG.md index df7f3c40..2e699ea0 100644 --- a/packages/reporter-earl/CHANGELOG.md +++ b/packages/reporter-earl/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [4.9.1](https://github.com/dequelabs/axe-core-npm/compare/v4.9.0...v4.9.1) (2024-05-10) + +**Note:** Version bump only for package @axe-core/reporter-earl + + + + + # [4.9.0](https://github.com/dequelabs/axe-core-npm/compare/v4.8.5...v4.9.0) (2024-04-01) diff --git a/packages/reporter-earl/package.json b/packages/reporter-earl/package.json index 3c32e8dd..6d99c3fe 100644 --- a/packages/reporter-earl/package.json +++ b/packages/reporter-earl/package.json @@ -1,6 +1,6 @@ { "name": "@axe-core/reporter-earl", - "version": "4.9.0", + "version": "4.9.1", "description": "A EARL+JSON-LD reporter for axe-core", "main": "dist/axeReporterEarl.js", "module": "./dist/axeReporterEarl.mjs", diff --git a/packages/webdriverio/CHANGELOG.md b/packages/webdriverio/CHANGELOG.md index fe1348e9..57746e7b 100644 --- a/packages/webdriverio/CHANGELOG.md +++ b/packages/webdriverio/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [4.9.1](https://github.com/dequelabs/axe-core-npm/compare/v4.9.0...v4.9.1) (2024-05-10) + +**Note:** Version bump only for package @axe-core/webdriverio + + + + + # [4.9.0](https://github.com/dequelabs/axe-core-npm/compare/v4.8.5...v4.9.0) (2024-04-01) diff --git a/packages/webdriverio/package.json b/packages/webdriverio/package.json index 21916095..1fe5f3ea 100644 --- a/packages/webdriverio/package.json +++ b/packages/webdriverio/package.json @@ -1,6 +1,6 @@ { "name": "@axe-core/webdriverio", - "version": "4.9.0", + "version": "4.9.1", "description": "Provides a method to inject and analyze web pages using axe", "contributors": [ { diff --git a/packages/webdriverjs/CHANGELOG.md b/packages/webdriverjs/CHANGELOG.md index 9852549c..3471b6b9 100644 --- a/packages/webdriverjs/CHANGELOG.md +++ b/packages/webdriverjs/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [4.9.1](https://github.com/dequelabs/axe-core-npm/compare/v4.9.0...v4.9.1) (2024-05-10) + +**Note:** Version bump only for package @axe-core/webdriverjs + + + + + # [4.9.0](https://github.com/dequelabs/axe-core-npm/compare/v4.8.5...v4.9.0) (2024-04-01) diff --git a/packages/webdriverjs/package.json b/packages/webdriverjs/package.json index 6acfacbe..20a3d1bf 100644 --- a/packages/webdriverjs/package.json +++ b/packages/webdriverjs/package.json @@ -1,6 +1,6 @@ { "name": "@axe-core/webdriverjs", - "version": "4.9.0", + "version": "4.9.1", "description": "Provides a method to inject and analyze web pages using axe", "contributors": [ { diff --git a/test/axe-core/CHANGELOG.md b/test/axe-core/CHANGELOG.md index 4c0045b5..90503810 100644 --- a/test/axe-core/CHANGELOG.md +++ b/test/axe-core/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [4.9.1](https://github.com/dequelabs/axe-core-npm/compare/v4.9.0...v4.9.1) (2024-05-10) + +**Note:** Version bump only for package axe_core_test + + + + + # [4.9.0](https://github.com/dequelabs/axe-core-npm/compare/v4.8.5...v4.9.0) (2024-04-01) **Note:** Version bump only for package axe_core_test diff --git a/test/axe-core/package.json b/test/axe-core/package.json index 7ed7f5a8..8b4c1156 100644 --- a/test/axe-core/package.json +++ b/test/axe-core/package.json @@ -11,5 +11,5 @@ "mocha": "^10.2.0", "semver": "^7.5.4" }, - "version": "4.9.0" + "version": "4.9.1" } diff --git a/test/wdio/CHANGELOG.md b/test/wdio/CHANGELOG.md index 25ca7be4..2aa93247 100644 --- a/test/wdio/CHANGELOG.md +++ b/test/wdio/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [4.9.1](https://github.com/dequelabs/axe-core-npm/compare/v4.9.0...v4.9.1) (2024-05-10) + +**Note:** Version bump only for package wdio-tests + + + + + # [4.9.0](https://github.com/dequelabs/axe-core-npm/compare/v4.8.5...v4.9.0) (2024-04-01) **Note:** Version bump only for package wdio-tests diff --git a/test/wdio/package.json b/test/wdio/package.json index 3dbc5052..68e7251e 100644 --- a/test/wdio/package.json +++ b/test/wdio/package.json @@ -1,13 +1,13 @@ { "name": "wdio-tests", - "version": "4.9.0", + "version": "4.9.1", "description": "Tests to ensure @wdio/globals works with @axe-core/webdriverio", "scripts": { "test": "wdio run ./wdio.conf.ts", "build": "echo \"Empty build script for deploy pipeline\"" }, "devDependencies": { - "@axe-core/webdriverio": "^4.9.0", + "@axe-core/webdriverio": "^4.9.1", "@types/chai": "^4.3.9", "@types/mocha": "^10.0.3", "@wdio/cli": "^8.35.1", From 232476e306f0bc875e7b0db5718bfe953083bcde Mon Sep 17 00:00:00 2001 From: attest-team-ci <48030122+attest-team-ci@users.noreply.github.com> Date: Mon, 13 May 2024 11:10:24 -0400 Subject: [PATCH 08/14] chore: Update axe-core to v4.9.1 (#1056) This pull request updates the version of [`axe-core`](https://npmjs.org/axe-core) to v4.9.1. This PR was opened by a robot :robot: :tada:. (Note from @straker. Changed this to chore since https://github.com/dequelabs/axe-core-npm/pull/1055 will already include the change in the changelog, this just correctly updates all the package version requirements.) No QA needed Co-authored-by: Zidious --- package-lock.json | 14 +++++++------- packages/cli/package.json | 2 +- packages/playwright/package.json | 2 +- packages/puppeteer/package.json | 2 +- packages/react/package.json | 2 +- packages/reporter-earl/package.json | 2 +- packages/webdriverio/package.json | 2 +- packages/webdriverjs/package.json | 2 +- 8 files changed, 14 insertions(+), 14 deletions(-) diff --git a/package-lock.json b/package-lock.json index c30a2e86..32da9f0a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -29849,7 +29849,7 @@ "license": "MPL-2.0", "dependencies": { "@axe-core/webdriverjs": "^4.9.0", - "axe-core": "~4.9.0", + "axe-core": "~4.9.1", "chromedriver": "latest", "colors": "^1.4.0", "commander": "^9.4.1", @@ -29883,7 +29883,7 @@ "version": "4.9.0", "license": "MPL-2.0", "dependencies": { - "axe-core": "~4.9.0" + "axe-core": "~4.9.1" }, "devDependencies": { "@playwright/test": "^1.34.3", @@ -29911,7 +29911,7 @@ "version": "4.9.0", "license": "MPL-2.0", "dependencies": { - "axe-core": "~4.9.0" + "axe-core": "~4.9.1" }, "devDependencies": { "@types/chai": "^4.3.3", @@ -29945,7 +29945,7 @@ "version": "4.9.0", "license": "MPL-2.0", "dependencies": { - "axe-core": "~4.9.0", + "axe-core": "~4.9.1", "requestidlecallback": "^0.3.0" }, "devDependencies": { @@ -29979,7 +29979,7 @@ "@types/clone": "^2.1.1", "@types/jsonld": "github:types/jsonld", "@types/node": "^20.8.10", - "axe-core": "~4.9.0", + "axe-core": "~4.9.1", "clone": "^2.1.2", "cross-env": "^7.0.3", "jest": "^29.1.2", @@ -29996,7 +29996,7 @@ "version": "4.9.0", "license": "MPL-2.0", "dependencies": { - "axe-core": "~4.9.0", + "axe-core": "~4.9.1", "cssesc": "^3.0.0" }, "devDependencies": { @@ -30033,7 +30033,7 @@ "version": "4.9.0", "license": "MPL-2.0", "dependencies": { - "axe-core": "~4.9.0" + "axe-core": "~4.9.1" }, "devDependencies": { "@types/chai": "^4.3.3", diff --git a/packages/cli/package.json b/packages/cli/package.json index 8ac8c004..6f556936 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -48,7 +48,7 @@ ], "dependencies": { "@axe-core/webdriverjs": "^4.9.0", - "axe-core": "~4.9.0", + "axe-core": "~4.9.1", "chromedriver": "latest", "colors": "^1.4.0", "commander": "^9.4.1", diff --git a/packages/playwright/package.json b/packages/playwright/package.json index f9e85f06..6b12df5e 100644 --- a/packages/playwright/package.json +++ b/packages/playwright/package.json @@ -51,7 +51,7 @@ "prepare": "npx playwright install && npm run build" }, "dependencies": { - "axe-core": "~4.9.0" + "axe-core": "~4.9.1" }, "devDependencies": { "@playwright/test": "^1.34.3", diff --git a/packages/puppeteer/package.json b/packages/puppeteer/package.json index 7dce97ed..d8684c7c 100644 --- a/packages/puppeteer/package.json +++ b/packages/puppeteer/package.json @@ -55,7 +55,7 @@ "typescript": "^5.2.2" }, "dependencies": { - "axe-core": "~4.9.0" + "axe-core": "~4.9.1" }, "peerDependencies": { "puppeteer": ">=1.10.0" diff --git a/packages/react/package.json b/packages/react/package.json index 280d13aa..15716bc0 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -60,7 +60,7 @@ "author": "Dylan Barrell (dylan@barrell.com)", "license": "MPL-2.0", "dependencies": { - "axe-core": "~4.9.0", + "axe-core": "~4.9.1", "requestidlecallback": "^0.3.0" }, "devDependencies": { diff --git a/packages/reporter-earl/package.json b/packages/reporter-earl/package.json index 3c32e8dd..a7cd6a4c 100644 --- a/packages/reporter-earl/package.json +++ b/packages/reporter-earl/package.json @@ -46,7 +46,7 @@ "@types/clone": "^2.1.1", "@types/jsonld": "github:types/jsonld", "@types/node": "^20.8.10", - "axe-core": "~4.9.0", + "axe-core": "~4.9.1", "clone": "^2.1.2", "cross-env": "^7.0.3", "jest": "^29.1.2", diff --git a/packages/webdriverio/package.json b/packages/webdriverio/package.json index 21916095..3f41b380 100644 --- a/packages/webdriverio/package.json +++ b/packages/webdriverio/package.json @@ -48,7 +48,7 @@ "webdriverio" ], "dependencies": { - "axe-core": "~4.9.0", + "axe-core": "~4.9.1", "cssesc": "^3.0.0" }, "devDependencies": { diff --git a/packages/webdriverjs/package.json b/packages/webdriverjs/package.json index 6acfacbe..b9fe698d 100644 --- a/packages/webdriverjs/package.json +++ b/packages/webdriverjs/package.json @@ -89,7 +89,7 @@ "typescript": "^5.2.2" }, "dependencies": { - "axe-core": "~4.9.0" + "axe-core": "~4.9.1" }, "peerDependencies": { "selenium-webdriver": ">3.0.0-beta || >=2.53.1 || >4.0.0-alpha" From d30dae4a6fede397bc49b5171c4cb4c43e545b53 Mon Sep 17 00:00:00 2001 From: Steven Lambert <2433219+straker@users.noreply.github.com> Date: Mon, 13 May 2024 11:46:03 -0600 Subject: [PATCH 09/14] fix(playwright): skip unloaded iframes (#1060) Pulled out of https://github.com/dequelabs/axe-core-npm/pull/1048. Starting in Playwright 1.41.0 (using Chrome version 121.0.6167.57) Playwright is no longer loading the lazy loaded iframe that is out of view. Updated the version of Playwright and updated the tests to now account for this. QA notes: Test a lazy loaded iframe with Playwright > 1.41.0 and ensure Playwright will complete an analyze of the page --- package-lock.json | 24 +++++++++---------- packages/playwright/package.json | 2 +- packages/playwright/src/index.ts | 22 +++++++++++++---- .../playwright/test/axe-playwright.spec.ts | 7 +++++- 4 files changed, 37 insertions(+), 18 deletions(-) diff --git a/package-lock.json b/package-lock.json index 32da9f0a..5b1a2920 100644 --- a/package-lock.json +++ b/package-lock.json @@ -4511,12 +4511,12 @@ } }, "node_modules/@playwright/test": { - "version": "1.40.1", - "resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.40.1.tgz", - "integrity": "sha512-EaaawMTOeEItCRvfmkI9v6rBkF1svM8wjl/YPRrg2N2Wmp+4qJYkWtJsbew1szfKKDm6fPLy4YAanBhIlf9dWw==", + "version": "1.44.0", + "resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.44.0.tgz", + "integrity": "sha512-rNX5lbNidamSUorBhB4XZ9SQTjAqfe5M+p37Z8ic0jPFBMo5iCtQz1kRWkEMg+rYOKSlVycpQmpqjSFq7LXOfg==", "dev": true, "dependencies": { - "playwright": "1.40.1" + "playwright": "1.44.0" }, "bin": { "playwright": "cli.js" @@ -24698,12 +24698,12 @@ } }, "node_modules/playwright": { - "version": "1.40.1", - "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.40.1.tgz", - "integrity": "sha512-2eHI7IioIpQ0bS1Ovg/HszsN/XKNwEG1kbzSDDmADpclKc7CyqkHw7Mg2JCz/bbCxg25QUPcjksoMW7JcIFQmw==", + "version": "1.44.0", + "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.44.0.tgz", + "integrity": "sha512-F9b3GUCLQ3Nffrfb6dunPOkE5Mh68tR7zN32L4jCk4FjQamgesGay7/dAAe1WaMEGV04DkdJfcJzjoCKygUaRQ==", "dev": true, "dependencies": { - "playwright-core": "1.40.1" + "playwright-core": "1.44.0" }, "bin": { "playwright": "cli.js" @@ -24716,9 +24716,9 @@ } }, "node_modules/playwright-core": { - "version": "1.40.1", - "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.40.1.tgz", - "integrity": "sha512-+hkOycxPiV534c4HhpfX6yrlawqVUzITRKwHAmYfmsVreltEl6fAZJ3DPfLMOODw0H3s1Itd6MDCWmP1fl/QvQ==", + "version": "1.44.0", + "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.44.0.tgz", + "integrity": "sha512-ZTbkNpFfYcGWohvTTl+xewITm7EOuqIqex0c7dNZ+aXsbrLj0qI8XlGKfPpipjm0Wny/4Lt4CJsWJk1stVS5qQ==", "bin": { "playwright-core": "cli.js" }, @@ -29886,7 +29886,7 @@ "axe-core": "~4.9.1" }, "devDependencies": { - "@playwright/test": "^1.34.3", + "@playwright/test": "^1.44.0", "@types/chai": "^4.3.3", "@types/express": "^4.17.14", "@types/mocha": "^10.0.0", diff --git a/packages/playwright/package.json b/packages/playwright/package.json index 6b12df5e..2532426b 100644 --- a/packages/playwright/package.json +++ b/packages/playwright/package.json @@ -54,7 +54,7 @@ "axe-core": "~4.9.1" }, "devDependencies": { - "@playwright/test": "^1.34.3", + "@playwright/test": "^1.44.0", "@types/chai": "^4.3.3", "@types/express": "^4.17.14", "@types/mocha": "^10.0.0", diff --git a/packages/playwright/src/index.ts b/packages/playwright/src/index.ts index cf0b3326..32cfd592 100644 --- a/packages/playwright/src/index.ts +++ b/packages/playwright/src/index.ts @@ -183,10 +183,24 @@ export default class AxeBuilder { * @returns Promise */ - private async inject(frames: Frame[]): Promise { + private async inject(frames: Frame[], shouldThrow?: boolean): Promise { for (const iframe of frames) { - await iframe.evaluate(await this.script()); - await iframe.evaluate(await this.axeConfigure()); + const race = new Promise((_, reject) => { + setTimeout(() => { + reject(new Error('Script Timeout')); + }, 1000); + }); + const evaluate = iframe.evaluate(this.script()); + + try { + await Promise.race([evaluate, race]); + await iframe.evaluate(await this.axeConfigure()); + } catch (err) { + // in legacy mode we don't want to throw the error we just want to skip injecting into the frame + if (shouldThrow) { + throw err; + } + } } } @@ -256,7 +270,7 @@ export default class AxeBuilder { iframeHandle.asElement() as ElementHandle; const childFrame = await iframeElement.contentFrame(); if (childFrame) { - await this.inject([childFrame]); + await this.inject([childFrame], true); childResults = await this.runPartialRecursive( childFrame, frameContext diff --git a/packages/playwright/test/axe-playwright.spec.ts b/packages/playwright/test/axe-playwright.spec.ts index 73b68257..5d64097a 100644 --- a/packages/playwright/test/axe-playwright.spec.ts +++ b/packages/playwright/test/axe-playwright.spec.ts @@ -447,7 +447,12 @@ describe('@axe-core/playwright', () => { .analyze(); assert.equal(res?.status(), 200); - assert.lengthOf(results.incomplete, 0); + assert.equal(results.incomplete[0].id, 'frame-tested'); + assert.lengthOf(results.incomplete[0].nodes, 1); + assert.deepEqual(results.incomplete[0].nodes[0].target, [ + '#ifr-lazy', + '#lazy-iframe' + ]); assert.equal(results.violations[0].id, 'label'); assert.lengthOf(results.violations[0].nodes, 1); assert.deepEqual(results.violations[0].nodes[0].target, [ From 7f49c96f7bcb3f294838cddfe3d44e8bd0ca4fc5 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 13 May 2024 15:45:05 -0600 Subject: [PATCH 10/14] chore: bump the npm-low-risk group across 1 directory with 28 updates (#1061) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps the npm-low-risk group with 28 updates in the / directory: | Package | From | To | | --- | --- | --- | | [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react) | `7.33.2` | `7.34.1` | | [husky](https://github.com/typicode/husky) | `9.0.10` | `9.0.11` | | [lerna](https://github.com/lerna/lerna/tree/HEAD/packages/lerna) | `8.0.2` | `8.1.3` | | [lint-staged](https://github.com/okonet/lint-staged) | `15.2.0` | `15.2.2` | | [prettier](https://github.com/prettier/prettier) | `3.1.1` | `3.2.5` | | [typescript](https://github.com/Microsoft/TypeScript) | `5.3.3` | `5.4.5` | | [selenium-webdriver](https://github.com/SeleniumHQ/selenium) | `4.17.0` | `4.20.0` | | [@types/selenium-webdriver](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/selenium-webdriver) | `4.1.21` | `4.1.22` | | [chai](https://github.com/chaijs/chai) | `4.4.0` | `4.4.1` | | [@types/chai](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/chai) | `4.3.11` | `4.3.16` | | [mocha](https://github.com/mochajs/mocha) | `10.2.0` | `10.4.0` | | [rimraf](https://github.com/isaacs/rimraf) | `5.0.5` | `5.0.7` | | [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) | `20.11.30` | `20.12.11` | | [tsup](https://github.com/egoist/tsup) | `8.0.1` | `8.0.2` | | [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) | `7.23.7` | `7.24.5` | | [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) | `7.23.8` | `7.24.5` | | [@babel/preset-react](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-react) | `7.23.3` | `7.24.1` | | [@babel/preset-typescript](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-typescript) | `7.23.3` | `7.24.1` | | [ts-jest](https://github.com/kulshekhar/ts-jest) | `29.1.1` | `29.1.2` | | [@wdio/globals](https://github.com/webdriverio/webdriverio/tree/HEAD/packages/wdio-globals) | `8.35.1` | `8.36.1` | | [devtools](https://github.com/webdriverio/webdriverio/tree/HEAD/packages/devtools) | `8.27.2` | `8.36.1` | | [webdriverio](https://github.com/webdriverio/webdriverio/tree/HEAD/packages/webdriverio) | `8.27.0` | `8.36.1` | | [glob](https://github.com/isaacs/node-glob) | `10.3.10` | `10.3.15` | | [semver](https://github.com/npm/node-semver) | `7.5.4` | `7.6.2` | | [@wdio/cli](https://github.com/webdriverio/webdriverio/tree/HEAD/packages/wdio-cli) | `8.35.1` | `8.36.1` | | [@wdio/local-runner](https://github.com/webdriverio/webdriverio/tree/HEAD/packages/wdio-local-runner) | `8.35.1` | `8.36.1` | | [@wdio/mocha-framework](https://github.com/webdriverio/webdriverio/tree/HEAD/packages/wdio-mocha-framework) | `8.35.0` | `8.36.1` | | [@wdio/spec-reporter](https://github.com/webdriverio/webdriverio/tree/HEAD/packages/wdio-spec-reporter) | `8.32.4` | `8.36.1` | Updates `eslint-plugin-react` from 7.33.2 to 7.34.1
Release notes

Sourced from eslint-plugin-react's releases.

v7.34.1

Fixed

Changed

  • [boolean-prop-naming]: improve error message (@​ljharb)

#1000: jsx-eslint/eslint-plugin-react#1000 #1002: jsx-eslint/eslint-plugin-react#1002 #1005: jsx-eslint/eslint-plugin-react#1005 #100: jsx-eslint/eslint-plugin-react#100 #1010: jsx-eslint/eslint-plugin-react#1010 #1013: jsx-eslint/eslint-plugin-react#1013 #1022: jsx-eslint/eslint-plugin-react#1022 #1029: jsx-eslint/eslint-plugin-react#1029 #102: jsx-eslint/eslint-plugin-react#102 #1034: jsx-eslint/eslint-plugin-react#1034 #1038: jsx-eslint/eslint-plugin-react#1038 #1041: jsx-eslint/eslint-plugin-react#1041 #1043: jsx-eslint/eslint-plugin-react#1043 #1046: jsx-eslint/eslint-plugin-react#1046 #1047: jsx-eslint/eslint-plugin-react#1047 #1050: jsx-eslint/eslint-plugin-react#1050 #1053: jsx-eslint/eslint-plugin-react#1053 #1057: jsx-eslint/eslint-plugin-react#1057 #105: jsx-eslint/eslint-plugin-react#105 #1061: jsx-eslint/eslint-plugin-react#1061 #1062: jsx-eslint/eslint-plugin-react#1062 #1070: jsx-eslint/eslint-plugin-react#1070 #1071: jsx-eslint/eslint-plugin-react#1071 #1073: jsx-eslint/eslint-plugin-react#1073 #1076: jsx-eslint/eslint-plugin-react#1076 #1079: jsx-eslint/eslint-plugin-react#1079 #1088: jsx-eslint/eslint-plugin-react#1088 #1098: jsx-eslint/eslint-plugin-react#1098 #1101: jsx-eslint/eslint-plugin-react#1101 #1103: jsx-eslint/eslint-plugin-react#1103 #110: jsx-eslint/eslint-plugin-react#110 #1116: jsx-eslint/eslint-plugin-react#1116 #1117: jsx-eslint/eslint-plugin-react#1117 #1119: jsx-eslint/eslint-plugin-react#1119 #1121: jsx-eslint/eslint-plugin-react#1121 #1122: jsx-eslint/eslint-plugin-react#1122 #1123: jsx-eslint/eslint-plugin-react#1123

... (truncated)

Changelog

Sourced from eslint-plugin-react's changelog.

7.34.1 - 2024.03.15

Fixed

Changed

  • [boolean-prop-naming]: improve error message (@​ljharb)

#3715: jsx-eslint/eslint-plugin-react#3715 #3713: jsx-eslint/eslint-plugin-react#3713 #3707: jsx-eslint/eslint-plugin-react#3707 #3705: jsx-eslint/eslint-plugin-react#3705 #3704: jsx-eslint/eslint-plugin-react#3704 #3701: jsx-eslint/eslint-plugin-react#3701 #3700: jsx-eslint/eslint-plugin-react#3700

[7.34.0] - 2024.03.03

Added

  • [sort-prop-types]: give errors on TS types (#3615[] @​akulsr0)
  • [no-invalid-html-attribute]: add support for apple-touch-startup-image rel attributes in link tags (#3638[] @​thomashockaday)
  • [no-unknown-property]: add requireDataLowercase option (#3645[] @​HermanBilous)
  • [no-unknown-property]: add displaystyle on <math> (#3652[] @​lounsbrough)
  • [prefer-read-only-props], [prop-types], component detection: allow components to be async functions (#3654[] @​pnodet)
  • [no-unknown-property]: support onResize on audio/video tags (#3662[] @​caesar1030)
  • [jsx-wrap-multilines]: add never option to prohibit wrapping parens on multiline JSX (#3668[] @​reedws)
  • [jsx-filename-extension]: add ignoreFilesWithoutCode option to allow empty files (#3674[] @​burtek)
  • [jsx-boolean-value]: add assumeUndefinedIsFalse option (#3675[] @​developer-bandi)
  • linkAttribute setting, [jsx-no-target-blank]: support multiple properties (#3673[] @​burtek)
  • [jsx-no-script-url]: add includeFromSettings option to support linkAttributes setting (#3673[] @​burtek)
  • [jsx-one-expression-per-line]: add non-jsx option to allow non-JSX children in one line (#3677[] @​burtek)
  • add [checked-requires-onchange-or-readonly] rule (#3680[] @​jaesoekjjang)

Fixed

Changed

... (truncated)

Commits
  • eea45bf Update CHANGELOG and bump version
  • e4ecbcf [Fix] checked-requires-onchange-or-readonly: correct options that were beha...
  • 69de42e [Fix] no-unknown-property: only match data-* attributes containing -
  • da1013c [Docs] jsx-no-constructed-context-values: fix some typos
  • c3275a4 [Fix] no-unknown-property: support popover, popovertarget, `popovertarg...
  • a920463 [Fix] boolean-prop-naming: improve error message
  • 48291e8 [Fix] boolean-prop-naming: allow TSIntersectionType
  • 0abebc6 [Fix] boolean-prop-naming: literalType error fix
  • 901c794 [Fix] boolean-prop-naming: detect TS interfaces
  • 8c2bdb2 [actions] update workflows
  • Additional commits viewable in compare view

Updates `husky` from 9.0.10 to 9.0.11
Release notes

Sourced from husky's releases.

v9.0.11

Commits

Updates `lerna` from 8.0.2 to 8.1.3
Release notes

Sourced from lerna's releases.

v8.1.3

8.1.3 (2024-05-13)

Bug Fixes

v8.1.2

8.1.2 (2024-02-05)

Bug Fixes

v8.1.1

8.1.1 (2024-02-05)

Bug Fixes

  • list: explicitly exit upon completion (bafe090)

v8.1.0

8.1.0 (2024-02-05)

Features

Changelog

Sourced from lerna's changelog.

8.1.3 (2024-05-13)

Bug Fixes

8.1.2 (2024-02-05)

Note: Version bump only for package lerna

8.1.1 (2024-02-05)

Note: Version bump only for package lerna

8.1.0 (2024-02-05)

Features

Commits

Updates `lint-staged` from 15.2.0 to 15.2.2
Release notes

Sourced from lint-staged's releases.

v15.2.2

Patch Changes

  • #1391 fdcdad4 Thanks @​iiroj! - Lint-staged no longer tries to load configuration from files that are not checked out. This might happen when using sparse-checkout.

v15.2.1

Patch Changes

  • #1387 e4023f6 Thanks @​iiroj! - Ignore stdin of spawned commands so that they don't get stuck waiting. Until now, lint-staged has used the default settings to spawn linter commands. This means the stdin of the spawned commands has accepted input, and essentially gotten stuck waiting. Now the stdin is ignored and commands will no longer get stuck. If you relied on this behavior, please open a new issue and describe how; the behavior has not been intended.
Changelog

Sourced from lint-staged's changelog.

15.2.2

Patch Changes

  • #1391 fdcdad4 Thanks @​iiroj! - Lint-staged no longer tries to load configuration from files that are not checked out. This might happen when using sparse-checkout.

15.2.1

Patch Changes

  • #1387 e4023f6 Thanks @​iiroj! - Ignore stdin of spawned commands so that they don't get stuck waiting. Until now, lint-staged has used the default settings to spawn linter commands. This means the stdin of the spawned commands has accepted input, and essentially gotten stuck waiting. Now the stdin is ignored and commands will no longer get stuck. If you relied on this behavior, please open a new issue and describe how; the behavior has not been intended.
Commits
  • 4d4270b chore(changeset): release
  • a7c5957 Merge pull request #1391 from lint-staged/fix-sparse-checkout
  • c1b2a6a ci: use macOS Sonoma M1 runners
  • fdcdad4 fix: do not try to load configuration from files that are not checked out
  • 999dcce chore(changeset): release
  • 52a9e3f Merge pull request #1387 from lint-staged/ignore-stdin
  • dd72fde ci: update "actions/cache@v4"
  • e4023f6 fix: ignore stdin of spawned commands
  • 46f2c43 ci: update actions/setup-node@v4
  • a684125 ci: update CodeQL action v3
  • Additional commits viewable in compare view

Updates `prettier` from 3.1.1 to 3.2.5
Release notes

Sourced from prettier's releases.

3.2.5

🔗 Changelog

3.2.4

  • Fix .eslintrc.json format #15947

🔗 Changelog

3.2.3

  • Format tsconfig.json file with jsonc parser #15927

🔗 Changelog

3.2.2

🔗 Changelog

3.2.1

🔗 Changelog

3.2.0

diff

🔗 Release note

Changelog

Sourced from prettier's changelog.

3.2.5

diff

Support Angular inline styles as single template literal (#15968 by @​sosukesuzuki)

Angular v17 supports single string inline styles.

// Input
@Component({
  template: `<div>...</div>`,
  styles: `h1 { color: blue; }`,
})
export class AppComponent {}

// Prettier 3.2.4 @​Component({ template: &lt;div&gt;...&lt;/div&gt;, styles: h1 { color: blue; }, }) export class AppComponent {}

// Prettier 3.2.5 @​Component({ template: &lt;div&gt;...&lt;/div&gt;, styles: h1 { color: blue; }, }) export class AppComponent {}

Unexpected embedded formatting for Angular template (#15969 by @​JounQin)

Computed template should not be considered as Angular component template

// Input
const template = "foobar";

@​Component({ [template]: &lt;h1&gt;{{ hello }}&lt;/h1&gt;, }) export class AppComponent {} </tr></table>

... (truncated)

Commits

Updates `typescript` from 5.3.3 to 5.4.5
Release notes

Sourced from typescript's releases.

TypeScript 5.4.5

For release notes, check out the release announcement.

For the complete list of fixed issues, check out the

Downloads are available on:

TypeScript 5.4.4

For release notes, check out the release announcement.

For the complete list of fixed issues, check out the

Downloads are available on:

TypeScript 5.4.3

For release notes, check out the release announcement.

For the complete list of fixed issues, check out the

Downloads are available on:

TypeScript 5.4

For release notes, check out the release announcement.

For the complete list of fixed issues, check out the

... (truncated)

Commits
  • 27bcd4c Update LKG
  • 9f33bf1 🤖 Pick PR #58098 (Fix constraints of nested homomorph...) into release-5.4 (#...
  • 71b2f84 Bump version to 5.4.5 and LKG
  • 892936f 🤖 Pick PR #58083 (Don't propagate partial union/inter...) into release-5.4 (#...
  • 38a7c05 release-5.4: Always set node-version for setup-node (#58117)
  • b754fc3 🤖 Pick PR #57778 (fix type import check for default-i...) into release-5.4 (#...
  • 8eb3367 Bump version to 5.4.4 and LKG
  • de9096b 🤖 Pick PR #57871 (Divide-and-conquer strategy for int...) into release-5.4 (#...
  • 06aae98 🤖 Pick PR #57973 (Compare package.json paths with cor...) into release-5.4 (#...
  • 6d8134e 🤖 Pick PR #57637 (Fixed a regression related to deter...) into release-5.4 (#...
  • Additional commits viewable in compare view

Updates `selenium-webdriver` from 4.17.0 to 4.20.0
Release notes

Sourced from selenium-webdriver's releases.

Selenium 4.20.0

Changelog

For each component's detailed changelog, please check:

Commits in this release

  • a12c3b56a9 - [build] Moving versions to nightly :: Diego Molina
  • 4fec60d2b8 - [rb] Update Gemfile.lock :: Alex Rodionov
  • 96cf53a454 - [rb] Fix document generation :: Alex Rodionov
  • 507970233b - [build] Bumping actions versions :: Diego Molina
  • 63e815627f - Update mirror info (Thu Mar 28 00:15:30 UTC 2024) :: Selenium CI Bot
  • b7d831db8c - [bidi][js] Update the capture screenshot APIs to include all parameters and remove scroll parameter (#13744) :: Puja Jagani
  • 0b29138fa7 - [rust] Bump to rules_rust 0.41.0 (Rust 1.77.0) :: Boni García
  • cc7f3402f8 - Update mirror info (Fri Mar 29 00:15:26 UTC 2024) :: Selenium CI Bot
  • acd9d0e77d - [bidi] [java] Fix the bazel file after the BiDi breaking change :: Puja Jagani
  • abe0ee07dc - [java] Updating change log and bumping version :: Puja Jagani
  • 3ef121c0b2 - Update mirror info (Fri Mar 29 12:14:17 UTC 2024) :: Selenium CI Bot
  • 6cda692993 - [grid] synchronize read from field written by other thread :: Jörg Sautter
  • 9c6ccdbf40 - Update mirror info (Sat Mar 30 00:14:35 UTC 2024) :: Selenium CI Bot
  • 1f88231e2b - [js] Fix linting (#13753) :: Puja Jagani
  • a2aa09f143 - Bumping to SNAPSHOT for Nightly :: Diego Molina
  • ec7c11fae8 - Update mirror info (Mon Apr 1 12:08:01 UTC 2024) :: Selenium CI Bot
  • e90e4a5001 - [rb] Return JRuby dependencies :: Alex Rodionov
  • ef3d9e870e - [rb][java][dotnet][py] Skipping Edge tests due to https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743 :: Diego Molina
  • a169d905b4 - [JS][bidi] Impelments functionality to retrieve all top-level browsing contexts :: Sri Harsha
  • a663d280de - [js] Running format script :: Diego Molina
  • 37565afc72 - [dotnet] Simplify definition of building test web server for unit tests :: Nikolay Borisenko
  • 911b312090 - [js] Add JS comments for BiDi related files (#13763) :: Puja Jagani
  • 309b3e802f - [bidi][java] Deprecate using builder for Locate Node parameters. (#13767) :: Puja Jagani
  • baf6116541 - [bidi][java] Update Locator class to not use optional :: Puja Jagani
  • cca70e3eb4 - [JS] lint fixes :: Sri Harsha
  • 68ad9845aa - [grid] do not create unused HttpResponse instances :: Jörg Sautter
  • aaa7e791a4 - [bidi][java] Enable chrome tests (#13770) :: Puja Jagani
  • b49ae752c9 - [JS] Set browserName by default when browserOptions are used :: Sri Harsha
  • 111941bd3c - [JS] Implement fullPageScreenshot functionality for Firefox (#13301) :: Sri Harsha
  • 38829c7c63 - [bidi][java] Enable grid BiDi chrome test (#13778) :: Puja Jagani
  • 12ed6cc2d9 - [dotnet] use correct devtools session id after reinitialization (#13768) :: schrufygroovy
  • 44eba5952f - [js] Running format script :: Diego Molina
  • 8c8adec916 - [grid] handle baseRoute like the hubRoute and the graphqlRoute (#13772) :: Jörg Sautter
  • 392ffbc08d - [JS] Remove duplicate license agreement from files :: Sri Harsha
  • b800dfcde2 - [java] [bidi] Enable test that pass in chrome :: Puja Jagani

... (truncated)

Commits
  • 866c76c Release 4.20.0 (#13870)
  • 8086b25 [build] Updating scripts for automated release
  • 4a6c384 [bidi] Update browsing context create method (#13766)
  • fee33dd Bump java deps
  • f3af582 Remove unused file
  • 753dec8 [bazel] Make unpinned_maven available
  • 5f127db [ci] Disable Ruby tests for Chrome/Edge on Windows
  • 04c9dfc [dotnet] Pushing missing changes to method names in dotnet SM
  • c4a6317 [build] Switching to a different command to pin maven deps
  • 85da948 [dotnet] Renaming methods to follow C# pattern.
  • Additional commits viewable in compare view

Updates `@types/selenium-webdriver` from 4.1.21 to 4.1.22
Commits

Updates `@types/selenium-webdriver` from 4.1.21 to 4.1.22
Commits

Updates `chai` from 4.4.0 to 4.4.1
Release notes

Sourced from chai's releases.

v4.4.1

What's Changed

Full Changelog: https://github.com/chaijs/chai/compare/v4.4.0...v4.4.1

Commits

Updates `@types/chai` from 4.3.11 to 4.3.16
Commits

Updates `mocha` from 10.2.0 to 10.4.0
Release notes

Sourced from mocha's releases.

v10.4.0

10.4.0 / 2024-03-26

:tada: Enhancements

:bug: Fixes

:nut_and_bolt: Other