Skip to content

Commit

Permalink
chore: RC v4.10.0 (#1108)
Browse files Browse the repository at this point in the history
#
[4.10.0](v4.9.1...v4.10.0)
(2024-08-16)


### Bug Fixes

* **cli:** include `dotenv` dep
([#1103](#1103))
([5d34355](5d34355)),
closes [#1102](#1102)
* **playwright:** Add missing await on page.evaluate
([#1063](#1063))
([20b8bbf](20b8bbf))


### Features

* Update axe-core to v4.10.0
([#1088](#1088))
([bb94776](bb94776))
  • Loading branch information
michael-siek committed Aug 16, 2024
2 parents 22d7a0e + d393db6 commit 3b471d1
Show file tree
Hide file tree
Showing 53 changed files with 3,392 additions and 2,571 deletions.
6 changes: 0 additions & 6 deletions .eslintignore

This file was deleted.

48 changes: 0 additions & 48 deletions .eslintrc.js

This file was deleted.

30 changes: 30 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: web-apis
assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Environment (please include versions for all products, browsers, OS, etc used ):**


**Additional context**
Add any other context about the problem here.
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: web-apis
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
10 changes: 10 additions & 0 deletions .github/ISSUE_TEMPLATE/other-.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
name: 'Other '
about: 'If your issue is not a bug and not a feature request, please use this form. '
title: ''
labels: web-apis
assignees: ''

---


2 changes: 2 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ updates:
versions: ['>=2.0.0']
- dependency-name: 'chai'
versions: ['>=5.0.0']
- dependency-name: 'lerna'
versions: ['>=8.1.3']
# Breaking change due to node version requirements
- dependency-name: 'commander'
versions: ['>=10.0.0']
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
- run: npm ci
# HACK: Force a TTY to enable browser-driver-manager to manipulate stdout.
- shell: 'script -q -e -c "bash {0}"'
run: npx browser-driver-manager install chromedriver --verbose
run: npx browser-driver-manager install chrome
working-directory: packages/puppeteer
- run: npm run build --workspace=packages/puppeteer
- run: npm run coverage --workspace=packages/puppeteer
Expand All @@ -59,7 +59,7 @@ jobs:
- run: npm ci
# HACK: Force a TTY to enable browser-driver-manager to manipulate stdout.
- shell: 'script -q -e -c "bash {0}"'
run: npx browser-driver-manager install chromedriver=125 --verbose
run: npx browser-driver-manager install chrome
working-directory: packages/cli
- run: npm run coverage --workspace=packages/cli

Expand All @@ -79,7 +79,7 @@ jobs:
- run: npm ci
# HACK: Force a TTY to enable browser-driver-manager to manipulate stdout.
- shell: 'script -q -e -c "bash {0}"'
run: npx browser-driver-manager install chromedriver --verbose
run: npx browser-driver-manager install chrome
working-directory: packages/webdriverjs
- run: npm run build --workspace=packages/webdriverjs
- run: npm run coverage --workspace=packages/webdriverjs
Expand All @@ -101,7 +101,7 @@ jobs:
- run: npm ci
# HACK: Force a TTY to enable browser-driver-manager to manipulate stdout.
- shell: 'script -q -e -c "bash {0}"'
run: npx browser-driver-manager install chromedriver --verbose
run: npx browser-driver-manager install chrome
working-directory: packages/webdriverio
- run: npm run build --workspace=packages/webdriverio
- run: npm run coverage --workspace=packages/webdriverio
Expand Down
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,23 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [4.10.0](https://github.com/dequelabs/axe-core-npm/compare/v4.9.1...v4.10.0) (2024-08-16)


### Bug Fixes

* **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)
* **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))


### Features

* 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))





## [4.9.1](https://github.com/dequelabs/axe-core-npm/compare/v4.9.0...v4.9.1) (2024-05-15)

### Bug Fixes
Expand Down
139 changes: 139 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,139 @@
const globals = require('globals');
const eslint = require('@eslint/js');
const tseslint = require('typescript-eslint');
const eslintConfigPrettier = require('eslint-config-prettier');
const eslintPluginPrettier = require('eslint-plugin-prettier');

module.exports = [
eslint.configs.recommended,
eslintConfigPrettier,
...tseslint.configs.recommended,
{
languageOptions: {
parser: tseslint.parser,
globals: {
...globals.node,
...globals.mocha,
...globals.browser
}
},
settings: {
react: {
version: 'detect'
}
},
plugins: {
prettier: eslintPluginPrettier,
'@typescript-eslint': tseslint.plugin
},
rules: {
'@typescript-eslint/camelcase': 'off',
'@typescript-eslint/interface-name-prefix': 'off',
'@typescript-eslint/no-use-before-define': 'off',
'@typescript-eslint/ban-types': 'off',
'@typescript-eslint/no-unused-vars': 'error',
'@typescript-eslint/no-explicit-any': 'error',
'@typescript-eslint/no-non-null-assertion': 'error',
'@typescript-eslint/no-require-imports': 'off'
}
},
{
ignores: [
'packages/cli/src/testutils/',
'packages/cli/src/**/**/*.test.ts',
'packages/reporter-earl/coverage/',
'packages/react/examples/',
'**/dist/',
'**/fixtures/external/'
]
},
{
files: ['**/*.js'],
rules: {
'@typescript-eslint/explicit-function-return-type': 'off',
'@typescript-eslint/no-var-requires': 'off'
}
},
{
files: [
'**/*.test.ts',
'**/*.test.tsx',
'**/*.spec.ts',
'**/*.spec.tsx',
'**/test/**',
'**/tests/**'
],
rules: {
'@typescript-eslint/no-empty-function': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-non-null-assertion': 'off',
'@typescript-eslint/no-unused-expressions': 'off'
}
},
{
files: ['packages/cli/**'],
rules: {
'@typescript-eslint/no-empty-function': 'off',
'@typescript-eslint/ban-ts-comment': 'off',
'@typescript-eslint/explicit-function-return-type': 'off'
}
},
{
files: ['packages/cli/**/*.test.ts'],
languageOptions: {
globals: {
...globals.mocha
}
},
rules: {
'@typescript-eslint/no-explicit-any': 'off'
}
},
{
files: ['packages/puppeteer/**'],
rules: {
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-use-before-define': 'off'
}
},
{
files: ['packages/react/**'],
languageOptions: {
sourceType: 'module',
globals: {
...globals.node,
...globals.mocha,
...globals.browser
},
ecmaVersion: 2018
}
},
{
files: ['packages/react/test/*.js'],
rules: {
'no-var': 'off'
}
},
{
files: ['packages/reporter-earl/**'],
rules: {
'@typescript-eslint/no-explicit-any': 'off',
'no-debugger': 'off',
'no-empty-pattern': 'off'
}
},
{
files: ['packages/reporter-earl/tests/*.test.ts'],
languageOptions: {
globals: {
jest: true
}
}
},
{
files: ['packages/reporter-earl/src/types.ts'],
rules: {
'@typescript-eslint/no-empty-object-type': 'off'
}
}
];
4 changes: 2 additions & 2 deletions lerna.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"version": "4.9.1"
}
"version": "4.10.0"
}
Loading

0 comments on commit 3b471d1

Please sign in to comment.