Skip to content

Commit ce9a6a0

Browse files
authored
Release 4.10.0 (#1110)
no qa needed
2 parents 22d7a0e + 3b471d1 commit ce9a6a0

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+3392
-2571
lines changed

.eslintignore

Lines changed: 0 additions & 6 deletions
This file was deleted.

.eslintrc.js

Lines changed: 0 additions & 48 deletions
This file was deleted.
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
title: ''
5+
labels: web-apis
6+
assignees: ''
7+
8+
---
9+
10+
**Describe the bug**
11+
A clear and concise description of what the bug is.
12+
13+
**To Reproduce**
14+
Steps to reproduce the behavior:
15+
1. Go to '...'
16+
2. Click on '....'
17+
3. Scroll down to '....'
18+
4. See error
19+
20+
**Expected behavior**
21+
A clear and concise description of what you expected to happen.
22+
23+
**Screenshots**
24+
If applicable, add screenshots to help explain your problem.
25+
26+
**Environment (please include versions for all products, browsers, OS, etc used ):**
27+
28+
29+
**Additional context**
30+
Add any other context about the problem here.
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
title: ''
5+
labels: web-apis
6+
assignees: ''
7+
8+
---
9+
10+
**Is your feature request related to a problem? Please describe.**
11+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
12+
13+
**Describe the solution you'd like**
14+
A clear and concise description of what you want to happen.
15+
16+
**Describe alternatives you've considered**
17+
A clear and concise description of any alternative solutions or features you've considered.
18+
19+
**Additional context**
20+
Add any other context or screenshots about the feature request here.

.github/ISSUE_TEMPLATE/other-.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
name: 'Other '
3+
about: 'If your issue is not a bug and not a feature request, please use this form. '
4+
title: ''
5+
labels: web-apis
6+
assignees: ''
7+
8+
---
9+
10+

.github/dependabot.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ updates:
3737
versions: ['>=2.0.0']
3838
- dependency-name: 'chai'
3939
versions: ['>=5.0.0']
40+
- dependency-name: 'lerna'
41+
versions: ['>=8.1.3']
4042
# Breaking change due to node version requirements
4143
- dependency-name: 'commander'
4244
versions: ['>=10.0.0']

.github/workflows/tests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
- run: npm ci
3838
# HACK: Force a TTY to enable browser-driver-manager to manipulate stdout.
3939
- shell: 'script -q -e -c "bash {0}"'
40-
run: npx browser-driver-manager install chromedriver --verbose
40+
run: npx browser-driver-manager install chrome
4141
working-directory: packages/puppeteer
4242
- run: npm run build --workspace=packages/puppeteer
4343
- run: npm run coverage --workspace=packages/puppeteer
@@ -59,7 +59,7 @@ jobs:
5959
- run: npm ci
6060
# HACK: Force a TTY to enable browser-driver-manager to manipulate stdout.
6161
- shell: 'script -q -e -c "bash {0}"'
62-
run: npx browser-driver-manager install chromedriver=125 --verbose
62+
run: npx browser-driver-manager install chrome
6363
working-directory: packages/cli
6464
- run: npm run coverage --workspace=packages/cli
6565

@@ -79,7 +79,7 @@ jobs:
7979
- run: npm ci
8080
# HACK: Force a TTY to enable browser-driver-manager to manipulate stdout.
8181
- shell: 'script -q -e -c "bash {0}"'
82-
run: npx browser-driver-manager install chromedriver --verbose
82+
run: npx browser-driver-manager install chrome
8383
working-directory: packages/webdriverjs
8484
- run: npm run build --workspace=packages/webdriverjs
8585
- run: npm run coverage --workspace=packages/webdriverjs
@@ -101,7 +101,7 @@ jobs:
101101
- run: npm ci
102102
# HACK: Force a TTY to enable browser-driver-manager to manipulate stdout.
103103
- shell: 'script -q -e -c "bash {0}"'
104-
run: npx browser-driver-manager install chromedriver --verbose
104+
run: npx browser-driver-manager install chrome
105105
working-directory: packages/webdriverio
106106
- run: npm run build --workspace=packages/webdriverio
107107
- run: npm run coverage --workspace=packages/webdriverio

CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,23 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
# [4.10.0](https://github.com/dequelabs/axe-core-npm/compare/v4.9.1...v4.10.0) (2024-08-16)
7+
8+
9+
### Bug Fixes
10+
11+
* **cli:** include `dotenv` dep ([#1103](https://github.com/dequelabs/axe-core-npm/issues/1103)) ([5d34355](https://github.com/dequelabs/axe-core-npm/commit/5d34355066b96009cea9bca7024ba5e777c5309c)), closes [#1102](https://github.com/dequelabs/axe-core-npm/issues/1102)
12+
* **playwright:** Add missing await on page.evaluate ([#1063](https://github.com/dequelabs/axe-core-npm/issues/1063)) ([20b8bbf](https://github.com/dequelabs/axe-core-npm/commit/20b8bbffdda0b81dbb169f27d5d223adc4d3941a))
13+
14+
15+
### Features
16+
17+
* Update axe-core to v4.10.0 ([#1088](https://github.com/dequelabs/axe-core-npm/issues/1088)) ([bb94776](https://github.com/dequelabs/axe-core-npm/commit/bb94776ff65798d016e961f62c76c4622bb3b48b))
18+
19+
20+
21+
22+
623
## [4.9.1](https://github.com/dequelabs/axe-core-npm/compare/v4.9.0...v4.9.1) (2024-05-15)
724

825
### Bug Fixes

eslint.config.js

Lines changed: 139 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,139 @@
1+
const globals = require('globals');
2+
const eslint = require('@eslint/js');
3+
const tseslint = require('typescript-eslint');
4+
const eslintConfigPrettier = require('eslint-config-prettier');
5+
const eslintPluginPrettier = require('eslint-plugin-prettier');
6+
7+
module.exports = [
8+
eslint.configs.recommended,
9+
eslintConfigPrettier,
10+
...tseslint.configs.recommended,
11+
{
12+
languageOptions: {
13+
parser: tseslint.parser,
14+
globals: {
15+
...globals.node,
16+
...globals.mocha,
17+
...globals.browser
18+
}
19+
},
20+
settings: {
21+
react: {
22+
version: 'detect'
23+
}
24+
},
25+
plugins: {
26+
prettier: eslintPluginPrettier,
27+
'@typescript-eslint': tseslint.plugin
28+
},
29+
rules: {
30+
'@typescript-eslint/camelcase': 'off',
31+
'@typescript-eslint/interface-name-prefix': 'off',
32+
'@typescript-eslint/no-use-before-define': 'off',
33+
'@typescript-eslint/ban-types': 'off',
34+
'@typescript-eslint/no-unused-vars': 'error',
35+
'@typescript-eslint/no-explicit-any': 'error',
36+
'@typescript-eslint/no-non-null-assertion': 'error',
37+
'@typescript-eslint/no-require-imports': 'off'
38+
}
39+
},
40+
{
41+
ignores: [
42+
'packages/cli/src/testutils/',
43+
'packages/cli/src/**/**/*.test.ts',
44+
'packages/reporter-earl/coverage/',
45+
'packages/react/examples/',
46+
'**/dist/',
47+
'**/fixtures/external/'
48+
]
49+
},
50+
{
51+
files: ['**/*.js'],
52+
rules: {
53+
'@typescript-eslint/explicit-function-return-type': 'off',
54+
'@typescript-eslint/no-var-requires': 'off'
55+
}
56+
},
57+
{
58+
files: [
59+
'**/*.test.ts',
60+
'**/*.test.tsx',
61+
'**/*.spec.ts',
62+
'**/*.spec.tsx',
63+
'**/test/**',
64+
'**/tests/**'
65+
],
66+
rules: {
67+
'@typescript-eslint/no-empty-function': 'off',
68+
'@typescript-eslint/no-explicit-any': 'off',
69+
'@typescript-eslint/no-non-null-assertion': 'off',
70+
'@typescript-eslint/no-unused-expressions': 'off'
71+
}
72+
},
73+
{
74+
files: ['packages/cli/**'],
75+
rules: {
76+
'@typescript-eslint/no-empty-function': 'off',
77+
'@typescript-eslint/ban-ts-comment': 'off',
78+
'@typescript-eslint/explicit-function-return-type': 'off'
79+
}
80+
},
81+
{
82+
files: ['packages/cli/**/*.test.ts'],
83+
languageOptions: {
84+
globals: {
85+
...globals.mocha
86+
}
87+
},
88+
rules: {
89+
'@typescript-eslint/no-explicit-any': 'off'
90+
}
91+
},
92+
{
93+
files: ['packages/puppeteer/**'],
94+
rules: {
95+
'@typescript-eslint/no-explicit-any': 'off',
96+
'@typescript-eslint/no-use-before-define': 'off'
97+
}
98+
},
99+
{
100+
files: ['packages/react/**'],
101+
languageOptions: {
102+
sourceType: 'module',
103+
globals: {
104+
...globals.node,
105+
...globals.mocha,
106+
...globals.browser
107+
},
108+
ecmaVersion: 2018
109+
}
110+
},
111+
{
112+
files: ['packages/react/test/*.js'],
113+
rules: {
114+
'no-var': 'off'
115+
}
116+
},
117+
{
118+
files: ['packages/reporter-earl/**'],
119+
rules: {
120+
'@typescript-eslint/no-explicit-any': 'off',
121+
'no-debugger': 'off',
122+
'no-empty-pattern': 'off'
123+
}
124+
},
125+
{
126+
files: ['packages/reporter-earl/tests/*.test.ts'],
127+
languageOptions: {
128+
globals: {
129+
jest: true
130+
}
131+
}
132+
},
133+
{
134+
files: ['packages/reporter-earl/src/types.ts'],
135+
rules: {
136+
'@typescript-eslint/no-empty-object-type': 'off'
137+
}
138+
}
139+
];

lerna.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"version": "4.9.1"
3-
}
2+
"version": "4.10.0"
3+
}

0 commit comments

Comments
 (0)