Skip to content

Commit fbd2f40

Browse files
authored
chore(release): v4.11.1 (#4981)
### [4.11.1](v4.11.0...v4.11.1) (2026-01-06) ### Bug Fixes - allow shadow roots in axe.run contexts ([#4952](#4952)) ([d4aee16](d4aee16)), closes [#4941](#4941) - color contrast fails for oklch and oklab with none ([#4959](#4959)) ([8f249fd](8f249fd)) - **color-contrast:** do not incomplete on textarea ([#4968](#4968)) ([d271788](d271788)), closes [#4947](#4947) - **commons/color:** Match browser behavior for out-of-gamut oklch colors ([#4908](#4908)) ([5036be8](5036be8)) - don't runs rules that select `html` on nested `html` elements ([#4969](#4969)) ([1e9a5c3](1e9a5c3)) - replaced luminance threshold constant 0.03928 with 0.04045 ([#4934](#4934)) ([316967d](316967d)), closes [#4933](#4933) - **rgaa:** adjust mapping of aria-hidden-\* and valid-lang ([#4935](#4935)) ([77571f2](77571f2)) - **valid-lang:** update valid-langs for newer language codes ([#4966](#4966)) ([c3f5446](c3f5446)), closes [#4963](#4963) This PR was opened by a robot 🤖 🎉
2 parents 7dc4242 + 0618216 commit fbd2f40

77 files changed

Lines changed: 2370 additions & 1614 deletions

File tree

Some content is hidden

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

.circleci/config.yml

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

.circleci/verify-release.sh

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

.eslintignore

Lines changed: 0 additions & 12 deletions
This file was deleted.
Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
name: 'Install Dependencies'
2+
description: 'Install OS and Project dependencies'
3+
4+
inputs:
5+
node-version:
6+
description: 'Node.js version to install'
7+
required: false
8+
start-xvfb:
9+
description: 'If provided, this is the display number to run xvfb on. Should be in `:N` format, e.g., `:99`.'
10+
required: false
11+
nightly:
12+
description: 'If true, installs the nightly versions of browsers.'
13+
required: false
14+
outputs:
15+
chrome-path:
16+
description: 'Path to the installed Chrome binary'
17+
value: ${{ steps.setup-chrome.outputs.chrome-path }}
18+
firefox-path:
19+
description: 'Path to the installed Firefox binary'
20+
value: ${{ steps.setup-firefox.outputs.firefox-path }}
21+
chromedriver-path:
22+
description: 'Path to the installed ChromeDriver binary'
23+
value: ${{ steps.setup-chrome.outputs.chromedriver-path }}
24+
chrome-version:
25+
description: 'Version of the installed Chrome binary'
26+
value: ${{ steps.setup-chrome.outputs.chrome-version }}
27+
chromedriver-version:
28+
description: 'Version of the installed ChromeDriver binary'
29+
value: ${{ steps.setup-chrome.outputs.chromedriver-version }}
30+
firefox-version:
31+
description: 'Version of the installed Firefox binary'
32+
value: ${{ steps.setup-firefox.outputs.firefox-version }}
33+
34+
runs:
35+
using: 'composite'
36+
steps:
37+
- name: Setup Node.js
38+
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
39+
with:
40+
registry-url: 'https://registry.npmjs.org'
41+
node-version: ${{ inputs.node-version }}
42+
node-version-file: ${{ inputs.node-version == '' && '.nvmrc' || '' }}
43+
cache: npm
44+
- name: Fix Chrome Sandbox Permissions
45+
shell: bash
46+
run: |
47+
sudo chown root:root /opt/google/chrome/chrome-sandbox
48+
sudo chmod 4755 /opt/google/chrome/chrome-sandbox
49+
- name: Install Xvfb
50+
shell: bash
51+
if: ${{ inputs.start-xvfb }}
52+
run: |
53+
sudo apt-get update
54+
sudo apt-get install -y xvfb x11-xserver-utils
55+
- name: Install Google Chrome for Testing
56+
id: setup-chrome
57+
uses: browser-actions/setup-chrome@b94431e051d1c52dcbe9a7092a4f10f827795416 # v2.1.0
58+
with:
59+
chrome-version: ${{ inputs.nightly == 'true' && 'beta' || 'stable' }}
60+
install-chromedriver: true
61+
install-dependencies: true
62+
- name: Install Firefox
63+
id: setup-firefox
64+
uses: browser-actions/setup-firefox@5914774dda97099441f02628f8d46411fcfbd208 # v1.7.0
65+
with:
66+
firefox-version: ${{ inputs.nightly == 'true' && 'latest-nightly' || 'latest' }}
67+
- name: Install Project Dependencies
68+
shell: bash
69+
run: npm ci
70+
- name: Start Xvfb
71+
if: ${{ inputs.start-xvfb }}
72+
env:
73+
DISPLAY: ${{ inputs.start-xvfb }}
74+
shell: bash
75+
# This is the same resolution as what CircleCI used.
76+
# Maintaining it for consistency between the environments
77+
# since something may be resolution dependent.
78+
run: Xvfb "$DISPLAY" -screen 0 1280x1024x24 &

.github/bin/determine-version.sh

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
#!/usr/bin/env bash
2+
3+
set -eo pipefail
4+
5+
echo "::group::Determining new prerelease version"
6+
7+
NAME=$(npm pkg get name | tr -d '"')
8+
LATEST_VERSION=$(npm pkg get version | tr -d '"')
9+
10+
SHORT_SHA=$(echo "${GITHUB_SHA}" | cut -c1-7)
11+
NEW_VERSION="$LATEST_VERSION-canary.${SHORT_SHA}"
12+
13+
echo "Latest version in package.json: $LATEST_VERSION"
14+
echo "New prerelease version: $NEW_VERSION"
15+
16+
echo "version=$NEW_VERSION" >> "$GITHUB_OUTPUT"
17+
echo "name=$NAME" >> "$GITHUB_OUTPUT"
18+
19+
echo "::endgroup::"

.github/bin/validate-npm-deploy.sh

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
#!/usr/bin/env bash
2+
3+
set -eo pipefail
4+
5+
if [ -z "$PACKAGE_NAME" ] || [ -z "$VERSION" ]; then
6+
echo "::error::PACKAGE_NAME and VERSION environment variables must be set."
7+
exit 1
8+
fi
9+
10+
NPM_ROOT_PATH=$(npm root -g)
11+
12+
npm install -g "${PACKAGE_NAME}@${VERSION}" || {
13+
echo "::error::✗ Failed to install package: ${PACKAGE_NAME}@${VERSION}"
14+
exit 1
15+
}
16+
17+
cd "$NPM_ROOT_PATH" || {
18+
echo "::error::✗ Failed to change directory to global npm root: $NPM_ROOT_PATH"
19+
exit 1
20+
}
21+
22+
node -pe "window={}; document={}; require('${PACKAGE_NAME}');" || {
23+
echo "::error::✗ Failed to import CommonJS module for package: ${PACKAGE_NAME}"
24+
exit 1
25+
}
26+
27+
cd "${NPM_ROOT_PATH}/${PACKAGE_NAME}" || {
28+
echo "::error::✗ Failed to change directory to package path: ${NPM_ROOT_PATH}/${PACKAGE_NAME}"
29+
exit 1
30+
}
31+
32+
types=$(node -pe "require('./package.json').types")
33+
if [ "$types" == "undefined" ]
34+
then
35+
types=$(node -pe "require('./package.json').typings")
36+
fi
37+
if [ "$types" != "undefined" ] && [ ! -f "$types" ]
38+
then
39+
echo "::error::The types file is missing"
40+
exit 1;
41+
fi
42+
echo "Types file '$types' is present in the package"

0 commit comments

Comments
 (0)