From 7ac9587c002ac8eb5ad15d1a827c786f42918468 Mon Sep 17 00:00:00 2001 From: Tony Truong Date: Tue, 22 Oct 2024 18:31:26 +0200 Subject: [PATCH 1/5] fix the disk size warning (#52802) --- content/admin/overview/system-overview.md | 2 +- .../hardware-considerations-all-platforms.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/content/admin/overview/system-overview.md b/content/admin/overview/system-overview.md index 3214cecf4625..b22bc21ff407 100644 --- a/content/admin/overview/system-overview.md +++ b/content/admin/overview/system-overview.md @@ -25,7 +25,7 @@ topics: The root filesystem is included in the distributed machine image. It contains the base operating system and the {% data variables.product.product_name %} application environment. The root filesystem should be treated as ephemeral. Any data on the root filesystem will be replaced when upgrading to future {% data variables.product.product_name %} releases. -The root storage volume is split into two equally-sized partitions. One of the partitions will be mounted as the root filesystem (`/`). The other partition is only mounted during upgrades and rollbacks of upgrades as `/mnt/upgrade`, to facilitate easier rollbacks if necessary. For example, if a 200GB root volume is allocated, there will be 100GB allocated to the root filesystem and 100GB reserved for the upgrades and rollbacks. +The root storage volume is split into two equally-sized partitions. One of the partitions will be mounted as the root filesystem (`/`). The other partition is only mounted during upgrades and rollbacks of upgrades as `/mnt/upgrade`, to facilitate easier rollbacks if necessary. For example, if a {% ifversion ghes > 3.14 %}400GB root volume is allocated, there will be 200GB allocated to the root filesystem and 200GB{% else %}200GB root volume is allocated, there will be 100GB allocated to the root filesystem and 100GB{% endif %} reserved for the upgrades and rollbacks. {% ifversion ghes > 3.13 %}In new installations of 3.14 and later, the root storage volume is split into four partitions. Two small partitions are for the supported boot modes (BIOS and UEFI), and the other two equally large partitions are for the {% data variables.product.product_name %} primary, and upgrades and rollbacks.{% endif %} diff --git a/data/reusables/enterprise_installation/hardware-considerations-all-platforms.md b/data/reusables/enterprise_installation/hardware-considerations-all-platforms.md index 2ff3ea028b2a..7fddb8795c11 100644 --- a/data/reusables/enterprise_installation/hardware-considerations-all-platforms.md +++ b/data/reusables/enterprise_installation/hardware-considerations-all-platforms.md @@ -21,7 +21,7 @@ We recommend a high-performance SSD with high input/output operations per second Your instance requires a persistent data disk separate from the root disk. For more information, see "[AUTOTITLE](/admin/overview/system-overview)." >[!WARNING] ->Root storage refers to the total size of your instance's root disk. When the instance is booted you will see 200GB available on the root filesystem. The remaining 200GB is reserved for upgrades. For more information, see "[AUTOTITLE](/admin/overview/system-overview#storage-architecture)." +>Root storage refers to the total size of your instance's root disk. When the instance is booted you will see {% ifversion ghes > 3.14 %}200GB available on the root filesystem. The remaining 200GB{% else %}100GB available on the root filesystem. The remaining 100GB{% endif %} is reserved for upgrades. For more information, see "[AUTOTITLE](/admin/overview/system-overview#storage-architecture)." {% ifversion ghes %} From 2568d9070515f1cb274321099f0baafbd4bf228b Mon Sep 17 00:00:00 2001 From: Rachael Sewell Date: Tue, 22 Oct 2024 09:33:57 -0700 Subject: [PATCH 2/5] Prevent preview deploys in public repo from failing in merge queue (#52768) --- .github/workflows/azure-preview-env-deploy-public.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/azure-preview-env-deploy-public.yml b/.github/workflows/azure-preview-env-deploy-public.yml index 1be9f7664868..76434c4f7516 100644 --- a/.github/workflows/azure-preview-env-deploy-public.yml +++ b/.github/workflows/azure-preview-env-deploy-public.yml @@ -37,7 +37,15 @@ jobs: build-and-deploy-azure-preview-public: name: Build and deploy Azure preview environment (public) runs-on: ubuntu-latest - if: github.repository == 'github/docs' + # Ensure this is actually a pull request and not a merge group + # If its a merge group, report success without doing anything + # See https://bit.ly/3qB9nZW > If a job in a workflow is skipped due to a conditional, it will report its status as "Success". + if: | + ( + (github.event.pull_request.head.sha) + && (github.event.number || github.run_id) + ) + && github.repository == 'github/docs' timeout-minutes: 15 environment: name: preview-env-${{ github.event.number }} From 1e869047fc1bf951f22c12acd7b04fc33054d82c Mon Sep 17 00:00:00 2001 From: docs-bot <77750099+docs-bot@users.noreply.github.com> Date: Tue, 22 Oct 2024 12:35:37 -0400 Subject: [PATCH 3/5] Update audit log event data (#52829) --- src/audit-logs/lib/config.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/audit-logs/lib/config.json b/src/audit-logs/lib/config.json index a670cdfa3914..6138130954ba 100644 --- a/src/audit-logs/lib/config.json +++ b/src/audit-logs/lib/config.json @@ -3,5 +3,5 @@ "apiOnlyEvents": "This event is not available in the web interface, only via the REST API, audit log streaming, or JSON/CSV exports.", "apiRequestEvent": "This event is only available via audit log streaming." }, - "sha": "96b459aaf32e993f2746b92479c4bc3cf3331b25" + "sha": "30a09f504125749aff6a164e2f7a4518c5096b2d" } \ No newline at end of file From eaa13fab57b1751534dba215372fc6031d03c8e5 Mon Sep 17 00:00:00 2001 From: Felicity Chapman Date: Tue, 22 Oct 2024 18:18:53 +0100 Subject: [PATCH 4/5] Review and update the front matter for CodeQL tools (#52725) --- .../preparing-your-code-for-codeql-analysis.md | 1 + ...loading-codeql-analysis-results-to-github.md | 8 +++++++- .../about-codeql-for-vs-code.md | 1 + .../installing-codeql-for-vs-code.md | 1 + data/reusables/code-scanning/codeql-license.md | 17 +---------------- data/reusables/permissions/repo-checkout.md | 1 + .../rai/code-scanning/gated-feature-autofix.md | 5 ++++- 7 files changed, 16 insertions(+), 18 deletions(-) create mode 100644 data/reusables/permissions/repo-checkout.md diff --git a/content/code-security/codeql-cli/getting-started-with-the-codeql-cli/preparing-your-code-for-codeql-analysis.md b/content/code-security/codeql-cli/getting-started-with-the-codeql-cli/preparing-your-code-for-codeql-analysis.md index e413f395c75e..210a964aebf5 100644 --- a/content/code-security/codeql-cli/getting-started-with-the-codeql-cli/preparing-your-code-for-codeql-analysis.md +++ b/content/code-security/codeql-cli/getting-started-with-the-codeql-cli/preparing-your-code-for-codeql-analysis.md @@ -2,6 +2,7 @@ title: Preparing your code for CodeQL analysis intro: 'You can build a {% data variables.product.prodname_codeql %} database containing the data needed to analyze your code.' shortTitle: Preparing code for analysis +permissions: '{% data reusables.permissions.repo-checkout %}' product: '{% data reusables.gated-features.codeql %}' versions: fpt: '*' diff --git a/content/code-security/codeql-cli/getting-started-with-the-codeql-cli/uploading-codeql-analysis-results-to-github.md b/content/code-security/codeql-cli/getting-started-with-the-codeql-cli/uploading-codeql-analysis-results-to-github.md index 92ddbbe07af7..e469b5636f48 100644 --- a/content/code-security/codeql-cli/getting-started-with-the-codeql-cli/uploading-codeql-analysis-results-to-github.md +++ b/content/code-security/codeql-cli/getting-started-with-the-codeql-cli/uploading-codeql-analysis-results-to-github.md @@ -2,6 +2,7 @@ title: Uploading CodeQL analysis results to GitHub shortTitle: Uploading results to GitHub intro: 'You can use the {% data variables.product.prodname_codeql_cli %} to upload {% data variables.product.prodname_codeql %} analysis results to {% data variables.product.product_name %}.' +permissions: '{% data reusables.permissions.code-scanning-all-alerts %}' product: '{% data reusables.gated-features.codeql %}' versions: fpt: '*' @@ -25,7 +26,12 @@ If you used a method other than the {% data variables.product.prodname_codeql_cl ## Generating a token for authentication with {% data variables.product.product_name %} -Before you can upload your results to {% data variables.product.product_name %}, you will first need to generate a {% data variables.product.pat_generic %} with the `security_events` write permission. For more information, see "[AUTOTITLE](/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token)." +Before you can upload your results to {% data variables.product.product_name %}, you will first need to generate a {% data variables.product.pat_generic %}. + +* **{% data variables.product.pat_v1_caps %}** requires "{% data variables.product.prodname_code_scanning_caps %} alerts" **Read and write** access for the required repositories. +* **{% data variables.product.pat_v2_caps %}** requires "repo" **security_events** access. + +For more information, see "[AUTOTITLE](/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token)." If you have installed the {% data variables.product.prodname_codeql_cli %} in a third-party CI system to create results to display in {% data variables.product.prodname_dotcom %} as code scanning alerts, you can use a {% data variables.product.prodname_github_app %} or {% data variables.product.pat_generic %} to upload results to {% data variables.product.product_name %}. For more information, see "[AUTOTITLE](/code-security/code-scanning/integrating-with-code-scanning/using-code-scanning-with-your-existing-ci-system#generating-a-token-for-authentication-with-github)." diff --git a/content/code-security/codeql-for-vs-code/getting-started-with-codeql-for-vs-code/about-codeql-for-vs-code.md b/content/code-security/codeql-for-vs-code/getting-started-with-codeql-for-vs-code/about-codeql-for-vs-code.md index 9993b39ff74d..da7e73b023c4 100644 --- a/content/code-security/codeql-for-vs-code/getting-started-with-codeql-for-vs-code/about-codeql-for-vs-code.md +++ b/content/code-security/codeql-for-vs-code/getting-started-with-codeql-for-vs-code/about-codeql-for-vs-code.md @@ -5,6 +5,7 @@ versions: fpt: '*' ghec: '*' ghes: '*' +product: '{% data reusables.gated-features.codeql %}' topics: - Advanced Security - Code scanning diff --git a/content/code-security/codeql-for-vs-code/getting-started-with-codeql-for-vs-code/installing-codeql-for-vs-code.md b/content/code-security/codeql-for-vs-code/getting-started-with-codeql-for-vs-code/installing-codeql-for-vs-code.md index 83f5b2fba501..7900bb7323fa 100644 --- a/content/code-security/codeql-for-vs-code/getting-started-with-codeql-for-vs-code/installing-codeql-for-vs-code.md +++ b/content/code-security/codeql-for-vs-code/getting-started-with-codeql-for-vs-code/installing-codeql-for-vs-code.md @@ -5,6 +5,7 @@ versions: fpt: '*' ghec: '*' ghes: '*' +product: '{% data reusables.gated-features.codeql %}' topics: - Advanced Security - Code scanning diff --git a/data/reusables/code-scanning/codeql-license.md b/data/reusables/code-scanning/codeql-license.md index 2aa62389711f..cfbe90443883 100644 --- a/data/reusables/code-scanning/codeql-license.md +++ b/data/reusables/code-scanning/codeql-license.md @@ -1,20 +1,5 @@ ## About the {% data variables.product.prodname_dotcom %} {% data variables.product.prodname_codeql %} license -**License notice:** If you don’t have a {% data variables.product.prodname_enterprise %} license then, by installing this product, you are agreeing to the [{% data variables.product.prodname_dotcom %} {% data variables.product.prodname_codeql %} Terms and Conditions](https://securitylab.github.com/tools/codeql/license). - -{% data variables.product.prodname_dotcom %} {% data variables.product.prodname_codeql %} is licensed on a per-user basis. Under the license restrictions, you can use {% data variables.product.prodname_codeql %} to perform the following tasks: - -* To perform academic research. -* To demonstrate the software. -* To test {% data variables.product.prodname_codeql %} queries that are released under an OSI-approved License to confirm that new versions of those queries continue to find the right vulnerabilities. - -Where "OSI-approved License" means an Open Source Initiative (OSI)-approved open source software license. - -If you are working with an Open Source Codebase (that is, a codebase that is released under an OSI-approved License) you can also use {% data variables.product.prodname_codeql %} for the following tasks: - -* To perform analysis of the Open Source Codebase. -* If the Open Source Codebase is hosted and maintained on {% data variables.product.prodname_dotcom_the_website %}, to generate {% data variables.product.prodname_codeql %} databases for or during automated analysis, continuous integration, or continuous delivery. - -{% data variables.product.prodname_codeql %} can’t be used for automated analysis, continuous integration or continuous delivery, whether as part of normal software engineering processes or otherwise, except in the express cases set forth herein unless you have a license for {% data variables.product.prodname_GH_advanced_security %}. +**License notice:** If you don’t have a license for {% data variables.product.prodname_GH_advanced_security %} then, by installing this product, you are agreeing to the [{% data variables.product.prodname_dotcom %} {% data variables.product.prodname_codeql %} Terms and Conditions](https://github.com/github/codeql-cli-binaries/blob/main/LICENSE.md). {% data reusables.advanced-security.ghas-trial %} diff --git a/data/reusables/permissions/repo-checkout.md b/data/reusables/permissions/repo-checkout.md new file mode 100644 index 000000000000..b88d73a5cda4 --- /dev/null +++ b/data/reusables/permissions/repo-checkout.md @@ -0,0 +1 @@ +Users with **read** access to a repository diff --git a/data/reusables/rai/code-scanning/gated-feature-autofix.md b/data/reusables/rai/code-scanning/gated-feature-autofix.md index f8bc26c8aed4..b22b2fe0df3f 100644 --- a/data/reusables/rai/code-scanning/gated-feature-autofix.md +++ b/data/reusables/rai/code-scanning/gated-feature-autofix.md @@ -1 +1,4 @@ -{% data variables.product.prodname_copilot_autofix %} for {% data variables.product.prodname_code_scanning %} is available for all public repositories on {% data variables.product.prodname_dotcom_the_website %}. {% data variables.product.prodname_copilot_autofix %} for {% data variables.product.prodname_code_scanning %} is also available for private repositories owned by organizations that use {% data variables.product.prodname_ghe_cloud %} and have a license for {% data variables.product.prodname_GH_advanced_security %}. For more information, see "[AUTOTITLE](/get-started/learning-about-github/about-github-advanced-security)." +{% data variables.product.prodname_copilot_autofix %} for {% data variables.product.prodname_code_scanning %} is available for the following repository types: + +* Public repositories on {% data variables.product.prodname_dotcom_the_website %} +* Organization-owned repositories on {% data variables.product.prodname_ghe_cloud %} with [{% data variables.product.prodname_GH_advanced_security %}](/get-started/learning-about-github/about-github-advanced-security) enabled From 2f294e40ee112cc166ee9c03ae501ff9d5077f5f Mon Sep 17 00:00:00 2001 From: Kevin Heis Date: Tue, 22 Oct 2024 11:06:43 -0700 Subject: [PATCH 5/5] Node 22 (#52828) --- .devcontainer/Dockerfile | 2 +- .devcontainer/devcontainer.json | 110 ++++++++++++++++---------------- .github/workflows/local-dev.yml | 3 +- Dockerfile | 2 +- package-lock.json | 57 ++++++++--------- package.json | 6 +- 6 files changed, 87 insertions(+), 93 deletions(-) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index c035216fb2e4..4a39ced8cf21 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -1,7 +1,7 @@ # To find available Node images, see https://mcr.microsoft.com/en-us/product/devcontainers/javascript-node/tags # [Choice] Node.js version -ARG VARIANT="dev-20-bullseye" +ARG VARIANT="dev-22-bullseye" FROM mcr.microsoft.com/devcontainers/javascript-node:${VARIANT} # [Optional] Uncomment this section to install additional OS packages. diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index e9645b9ec918..021cf63593e5 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -2,67 +2,67 @@ // https://github.com/microsoft/vscode-dev-containers/tree/v0.177.0/containers/javascript-node // - { - "name": "docs.github.com", - "build": { - "dockerfile": "Dockerfile", - // Update 'VARIANT' to pick a Node version - "args": { "VARIANT": "20" } - }, + "name": "docs.github.com", + "build": { + "dockerfile": "Dockerfile", + // Update 'VARIANT' to pick a Node version + "args": { "VARIANT": "22" } + }, - // Install features. Type 'feature' in the VS Code command palette for a full list. - "features": { - "sshd": "latest" - }, + // Install features. Type 'feature' in the VS Code command palette for a full list. + "features": { + "sshd": "latest" + }, - "customizations": { - "vscode": { - // Set *default* container specific settings.json values on container create. - "settings": { - "terminal.integrated.shell.linux": "/bin/bash", - "cSpell.language": ",en" - }, - // Visual Studio Code extensions which help authoring for docs.github.com. - "extensions": [ - "dbaeumer.vscode-eslint", - "sissel.shopify-liquid", - "davidanson.vscode-markdownlint", - "bierner.markdown-preview-github-styles", - "streetsidesoftware.code-spell-checker", - "alistairchristie.open-reusables", - "AlistairChristie.version-identifier", - "peterbe.ghdocs-goer", - "GitHub.copilot", - "GitHub.copilot-chat" - ] - }, - "codespaces": { - "repositories": { - // allow Codespaces to pull from separate repo when user has access - "github/docs-early-access": { - "permissions": { - "contents": "write" - } - } - } - } + "customizations": { + "vscode": { + // Set *default* container specific settings.json values on container create. + "settings": { + "terminal.integrated.shell.linux": "/bin/bash", + "cSpell.language": ",en" + }, + // Visual Studio Code extensions which help authoring for docs.github.com. + "extensions": [ + "dbaeumer.vscode-eslint", + "sissel.shopify-liquid", + "davidanson.vscode-markdownlint", + "bierner.markdown-preview-github-styles", + "streetsidesoftware.code-spell-checker", + "alistairchristie.open-reusables", + "AlistairChristie.version-identifier", + "peterbe.ghdocs-goer", + "GitHub.copilot", + "GitHub.copilot-chat" + ] }, + "codespaces": { + "repositories": { + // allow Codespaces to pull from separate repo when user has access + "github/docs-early-access": { + "permissions": { + "contents": "write" + } + } + } + } + }, - // Use 'forwardPorts' to make a list of ports inside the container available locally. - "forwardPorts": [4000], + // Use 'forwardPorts' to make a list of ports inside the container available locally. + "forwardPorts": [4000], - "portsAttributes": { - "4000": { - "label": "Preview" - } - }, + "portsAttributes": { + "4000": { + "label": "Preview" + } + }, - // Use 'postCreateCommand' to run commands after the container is created. - "postCreateCommand": "npm ci", + // Use 'postCreateCommand' to run commands after the container is created. + "postCreateCommand": "npm ci", - // Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root. - "remoteUser": "node", + // Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root. + "remoteUser": "node", - "hostRequirements": { - "memory": "8gb" - } + "hostRequirements": { + "memory": "8gb" + } } diff --git a/.github/workflows/local-dev.yml b/.github/workflows/local-dev.yml index 885c9f6ea631..360dd408201d 100644 --- a/.github/workflows/local-dev.yml +++ b/.github/workflows/local-dev.yml @@ -21,8 +21,7 @@ jobs: - name: Check out repo uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - - name: Install dependencies - run: npm install + - uses: ./.github/actions/node-npm-setup - uses: ./.github/actions/get-docs-early-access if: ${{ github.repository == 'github/docs-internal' }} diff --git a/Dockerfile b/Dockerfile index 38cd737ac299..dd9033bb3752 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,7 @@ # -------------------------------------------------------------------------------- # To update the sha, run `docker pull node:$VERSION-alpine` # look for something like: `Digest: sha256:0123456789abcdef` -FROM node:20-alpine@sha256:66f7f89199daea88a6b5d5aadaa6d20f7a16a90fc35274deda8e901e267d4bd7 AS base +FROM node:22-alpine@sha256:c13b26e7e602ef2f1074aef304ce6e9b7dd284c419b35d89fcf3cc8e44a8def9 AS base # This directory is owned by the node user ARG APP_HOME=/home/node/app diff --git a/package-lock.json b/package-lock.json index 1ae70a209830..b4056d6ae6a3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -102,12 +102,12 @@ "devDependencies": { "@actions/core": "^1.10.0", "@actions/github": "^6.0.0", - "@axe-core/playwright": "^4.9.1", + "@axe-core/playwright": "^4.10.0", "@github/markdownlint-github": "^0.6.2", "@graphql-inspector/core": "^6.1.0", "@graphql-tools/load": "^8.0.0", "@octokit/rest": "21.0.2", - "@playwright/test": "1.46.1", + "@playwright/test": "^1.48.1", "@types/accept-language-parser": "1.5.6", "@types/connect-datadog": "0.0.10", "@types/connect-timeout": "0.0.39", @@ -169,7 +169,7 @@ "website-scraper": "^5.3.1" }, "engines": { - "node": "^18 || ^20 || ^22" + "node": "^20 || ^22" }, "optionalDependencies": { "esm": "^3.2.25" @@ -385,12 +385,13 @@ } }, "node_modules/@axe-core/playwright": { - "version": "4.9.1", - "resolved": "https://registry.npmjs.org/@axe-core/playwright/-/playwright-4.9.1.tgz", - "integrity": "sha512-8m4WZbZq7/aq7ZY5IG8GqV+ZdvtGn/iJdom+wBg+iv/3BAOBIfNQtIu697a41438DzEEyptXWmC3Xl5Kx/o9/g==", + "version": "4.10.0", + "resolved": "https://registry.npmjs.org/@axe-core/playwright/-/playwright-4.10.0.tgz", + "integrity": "sha512-kEr3JPEVUSnKIYp/egV2jvFj+chIjCjPp3K3zlpJMza/CB3TFw8UZNbI9agEC2uMz4YbgAOyzlbUy0QS+OofFA==", "dev": true, + "license": "MPL-2.0", "dependencies": { - "axe-core": "~4.9.1" + "axe-core": "~4.10.0" }, "peerDependencies": { "playwright-core": ">= 1.0.0" @@ -2604,12 +2605,13 @@ } }, "node_modules/@playwright/test": { - "version": "1.46.1", - "resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.46.1.tgz", - "integrity": "sha512-Fq6SwLujA/DOIvNC2EL/SojJnkKf/rAwJ//APpJJHRyMi1PdKrY3Az+4XNQ51N4RTbItbIByQ0jgd1tayq1aeA==", + "version": "1.48.1", + "resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.48.1.tgz", + "integrity": "sha512-s9RtWoxkOLmRJdw3oFvhFbs9OJS0BzrLUc8Hf6l2UdCNd1rqeEyD4BhCJkvzeEoD1FsK4mirsWwGerhVmYKtZg==", "devOptional": true, + "license": "Apache-2.0", "dependencies": { - "playwright": "1.46.1" + "playwright": "1.48.1" }, "bin": { "playwright": "cli.js" @@ -4113,10 +4115,11 @@ } }, "node_modules/axe-core": { - "version": "4.9.1", - "resolved": "https://registry.npmjs.org/axe-core/-/axe-core-4.9.1.tgz", - "integrity": "sha512-QbUdXJVTpvUTHU7871ppZkdOLBeGUKBQWHkHrvN2V9IQWGMt61zf3B45BtzjxEJzYuj0JBjBZP/hmYS/R9pmAw==", + "version": "4.10.1", + "resolved": "https://registry.npmjs.org/axe-core/-/axe-core-4.10.1.tgz", + "integrity": "sha512-qPC9o+kD8Tir0lzNGLeghbOrWMr3ZJpaRlCIb6Uobt/7N4FiEDvqUMnxzCHRHmg8vOg14kr5gVNyScRmbMaJ9g==", "dev": true, + "license": "MPL-2.0", "engines": { "node": ">=4" } @@ -6112,16 +6115,6 @@ "deep-equal": "^2.0.5" } }, - "node_modules/eslint-plugin-jsx-a11y/node_modules/axe-core": { - "version": "4.10.0", - "resolved": "https://registry.npmjs.org/axe-core/-/axe-core-4.10.0.tgz", - "integrity": "sha512-Mr2ZakwQ7XUAjp7pAwQWRhhK8mQQ6JAaNWSjmjxil0R8BPioMtQsTLOolGYkji1rcL++3dCqZA3zWqpT+9Ew6g==", - "dev": true, - "license": "MPL-2.0", - "engines": { - "node": ">=4" - } - }, "node_modules/eslint-plugin-jsx-a11y/node_modules/brace-expansion": { "version": "1.1.11", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", @@ -11545,12 +11538,13 @@ } }, "node_modules/playwright": { - "version": "1.46.1", - "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.46.1.tgz", - "integrity": "sha512-oPcr1yqoXLCkgKtD5eNUPLiN40rYEM39odNpIb6VE6S7/15gJmA1NzVv6zJYusV0e7tzvkU/utBFNa/Kpxmwng==", + "version": "1.48.1", + "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.48.1.tgz", + "integrity": "sha512-j8CiHW/V6HxmbntOfyB4+T/uk08tBy6ph0MpBXwuoofkSnLmlfdYNNkFTYD6ofzzlSqLA1fwH4vwvVFvJgLN0w==", "devOptional": true, + "license": "Apache-2.0", "dependencies": { - "playwright-core": "1.46.1" + "playwright-core": "1.48.1" }, "bin": { "playwright": "cli.js" @@ -11563,10 +11557,11 @@ } }, "node_modules/playwright-core": { - "version": "1.46.1", - "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.46.1.tgz", - "integrity": "sha512-h9LqIQaAv+CYvWzsZ+h3RsrqCStkBHlgo6/TJlFst3cOTlLghBQlJwPOZKQJTKNaD3QIB7aAVQ+gfWbN3NXB7A==", + "version": "1.48.1", + "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.48.1.tgz", + "integrity": "sha512-Yw/t4VAFX/bBr1OzwCuOMZkY1Cnb4z/doAFSwf4huqAGWmf9eMNjmK7NiOljCdLmxeRYcGPPmcDgU0zOlzP0YA==", "devOptional": true, + "license": "Apache-2.0", "bin": { "playwright-core": "cli.js" }, diff --git a/package.json b/package.json index d9ee1dcd7ebe..6fe196f906ed 100644 --- a/package.json +++ b/package.json @@ -320,12 +320,12 @@ "devDependencies": { "@actions/core": "^1.10.0", "@actions/github": "^6.0.0", - "@axe-core/playwright": "^4.9.1", + "@axe-core/playwright": "^4.10.0", "@github/markdownlint-github": "^0.6.2", "@graphql-inspector/core": "^6.1.0", "@graphql-tools/load": "^8.0.0", "@octokit/rest": "21.0.2", - "@playwright/test": "1.46.1", + "@playwright/test": "^1.48.1", "@types/accept-language-parser": "1.5.6", "@types/connect-datadog": "0.0.10", "@types/connect-timeout": "0.0.39", @@ -391,7 +391,7 @@ "esm": "^3.2.25" }, "engines": { - "node": "^18 || ^20 || ^22" + "node": "^20 || ^22" }, "cacheDirectories": [ "node_modules",