From 69157d8d7d60371a7daa90fff7b19de8eb768f63 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 24 Jun 2025 06:40:25 +0000 Subject: [PATCH 01/29] Build(deps-dev): bump eslint-webpack-plugin from 4.2.0 to 5.0.2 Bumps [eslint-webpack-plugin](https://github.com/webpack-contrib/eslint-webpack-plugin) from 4.2.0 to 5.0.2. - [Release notes](https://github.com/webpack-contrib/eslint-webpack-plugin/releases) - [Changelog](https://github.com/webpack-contrib/eslint-webpack-plugin/blob/master/CHANGELOG.md) - [Commits](https://github.com/webpack-contrib/eslint-webpack-plugin/compare/v4.2.0...v5.0.2) --- updated-dependencies: - dependency-name: eslint-webpack-plugin dependency-version: 5.0.2 dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- package-lock.json | 76 +++++++++++++++++++++++++---------------------- package.json | 2 +- 2 files changed, 42 insertions(+), 36 deletions(-) diff --git a/package-lock.json b/package-lock.json index b63ca5bcc..ea379d781 100644 --- a/package-lock.json +++ b/package-lock.json @@ -24,7 +24,7 @@ "eslint-formatter-table": "^7.32.1", "eslint-import-resolver-webpack": "^0.13.10", "eslint-plugin-import": "^2.32.0", - "eslint-webpack-plugin": "^4.2.0", + "eslint-webpack-plugin": "^5.0.2", "foundation-sites": "^6.9.0", "jquery": "^3.7.1", "mini-css-extract-plugin": "^2.9.2", @@ -3396,10 +3396,11 @@ } }, "node_modules/@types/eslint": { - "version": "8.56.10", - "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-8.56.10.tgz", - "integrity": "sha512-Shavhk87gCtY2fhXDctcfS3e6FdxWkCx1iUZ9eEUbh7rTqlZT0/IzOkCOVt0fCjcFuZ9FPYfuezTBImfHCDBGQ==", + "version": "9.6.1", + "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-9.6.1.tgz", + "integrity": "sha512-FXx2pKgId/WyYo2jXw63kk7/+TY7u7AziEJxJAnSFzHlqTAS3Ync6SvgYAN/k4/PQpnnVuzoMuVnByKK2qp0ag==", "dev": true, + "license": "MIT", "dependencies": { "@types/estree": "*", "@types/json-schema": "*" @@ -5657,19 +5658,21 @@ } }, "node_modules/eslint-webpack-plugin": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/eslint-webpack-plugin/-/eslint-webpack-plugin-4.2.0.tgz", - "integrity": "sha512-rsfpFQ01AWQbqtjgPRr2usVRxhWDuG0YDYcG8DJOteD3EFnpeuYuOwk0PQiN7PRBTqS6ElNdtPZPggj8If9WnA==", + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/eslint-webpack-plugin/-/eslint-webpack-plugin-5.0.2.tgz", + "integrity": "sha512-cB7EO2o+4gPUzK6zxgegSet8uu/hHwzOiG+2976MHWiwWFj9mmPbTrzlW0InFl6hl89S1D9MPKK5F7vNFpZc4g==", "dev": true, + "license": "MIT", "dependencies": { - "@types/eslint": "^8.56.10", + "@types/eslint": "^9.6.1", + "flatted": "^3.3.3", "jest-worker": "^29.7.0", - "micromatch": "^4.0.5", + "micromatch": "^4.0.8", "normalize-path": "^3.0.0", - "schema-utils": "^4.2.0" + "schema-utils": "^4.3.0" }, "engines": { - "node": ">= 14.15.0" + "node": ">= 18.12.0" }, "funding": { "type": "opencollective", @@ -5958,10 +5961,11 @@ } }, "node_modules/flatted": { - "version": "3.3.1", - "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.3.1.tgz", - "integrity": "sha512-X8cqMLLie7KsNUDSdzeN8FYK9rEt4Dt67OsG/DNGnYTSDBG4uFAJFBnUeiV+zCVAvwFy56IjM9sH51jVaEhNxw==", - "dev": true + "version": "3.3.3", + "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.3.3.tgz", + "integrity": "sha512-GX+ysw4PBCz0PzosHDepZGANEuFCMLrnRTiEy9McGjmkCQYwRq4A/X786G/fjM/+OjsWSU1ZrY5qyARZmO/uwg==", + "dev": true, + "license": "ISC" }, "node_modules/for-each": { "version": "0.3.5", @@ -7211,12 +7215,13 @@ "dev": true }, "node_modules/micromatch": { - "version": "4.0.5", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz", - "integrity": "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==", + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz", + "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==", "dev": true, + "license": "MIT", "dependencies": { - "braces": "^3.0.2", + "braces": "^3.0.3", "picomatch": "^2.3.1" }, "engines": { @@ -12603,9 +12608,9 @@ "dev": true }, "@types/eslint": { - "version": "8.56.10", - "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-8.56.10.tgz", - "integrity": "sha512-Shavhk87gCtY2fhXDctcfS3e6FdxWkCx1iUZ9eEUbh7rTqlZT0/IzOkCOVt0fCjcFuZ9FPYfuezTBImfHCDBGQ==", + "version": "9.6.1", + "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-9.6.1.tgz", + "integrity": "sha512-FXx2pKgId/WyYo2jXw63kk7/+TY7u7AziEJxJAnSFzHlqTAS3Ync6SvgYAN/k4/PQpnnVuzoMuVnByKK2qp0ag==", "dev": true, "requires": { "@types/estree": "*", @@ -14235,16 +14240,17 @@ "dev": true }, "eslint-webpack-plugin": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/eslint-webpack-plugin/-/eslint-webpack-plugin-4.2.0.tgz", - "integrity": "sha512-rsfpFQ01AWQbqtjgPRr2usVRxhWDuG0YDYcG8DJOteD3EFnpeuYuOwk0PQiN7PRBTqS6ElNdtPZPggj8If9WnA==", + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/eslint-webpack-plugin/-/eslint-webpack-plugin-5.0.2.tgz", + "integrity": "sha512-cB7EO2o+4gPUzK6zxgegSet8uu/hHwzOiG+2976MHWiwWFj9mmPbTrzlW0InFl6hl89S1D9MPKK5F7vNFpZc4g==", "dev": true, "requires": { - "@types/eslint": "^8.56.10", + "@types/eslint": "^9.6.1", + "flatted": "^3.3.3", "jest-worker": "^29.7.0", - "micromatch": "^4.0.5", + "micromatch": "^4.0.8", "normalize-path": "^3.0.0", - "schema-utils": "^4.2.0" + "schema-utils": "^4.3.0" }, "dependencies": { "jest-worker": { @@ -14391,9 +14397,9 @@ } }, "flatted": { - "version": "3.3.1", - "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.3.1.tgz", - "integrity": "sha512-X8cqMLLie7KsNUDSdzeN8FYK9rEt4Dt67OsG/DNGnYTSDBG4uFAJFBnUeiV+zCVAvwFy56IjM9sH51jVaEhNxw==", + "version": "3.3.3", + "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.3.3.tgz", + "integrity": "sha512-GX+ysw4PBCz0PzosHDepZGANEuFCMLrnRTiEy9McGjmkCQYwRq4A/X786G/fjM/+OjsWSU1ZrY5qyARZmO/uwg==", "dev": true }, "for-each": { @@ -15232,12 +15238,12 @@ "dev": true }, "micromatch": { - "version": "4.0.5", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz", - "integrity": "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==", + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz", + "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==", "dev": true, "requires": { - "braces": "^3.0.2", + "braces": "^3.0.3", "picomatch": "^2.3.1" } }, diff --git a/package.json b/package.json index e91cc56b0..47cc00281 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ "eslint-formatter-table": "^7.32.1", "eslint-import-resolver-webpack": "^0.13.10", "eslint-plugin-import": "^2.32.0", - "eslint-webpack-plugin": "^4.2.0", + "eslint-webpack-plugin": "^5.0.2", "foundation-sites": "^6.9.0", "jquery": "^3.7.1", "mini-css-extract-plugin": "^2.9.2", From 18e5e747e1f3f739eb901f1825fbddc701bd1619 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 1 Sep 2025 03:34:45 +0000 Subject: [PATCH 02/29] Build(deps-dev): bump copy-webpack-plugin from 13.0.0 to 13.0.1 Bumps [copy-webpack-plugin](https://github.com/webpack-contrib/copy-webpack-plugin) from 13.0.0 to 13.0.1. - [Release notes](https://github.com/webpack-contrib/copy-webpack-plugin/releases) - [Changelog](https://github.com/webpack-contrib/copy-webpack-plugin/blob/master/CHANGELOG.md) - [Commits](https://github.com/webpack-contrib/copy-webpack-plugin/compare/v13.0.0...v13.0.1) --- updated-dependencies: - dependency-name: copy-webpack-plugin dependency-version: 13.0.1 dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- package-lock.json | 15 +++++++-------- package.json | 2 +- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/package-lock.json b/package-lock.json index 12245737d..88e153ee3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -16,7 +16,7 @@ "@babel/preset-env": "^7.28.3", "babel-loader": "^10.0.0", "clean-webpack-plugin": "^4.0.0", - "copy-webpack-plugin": "^13.0.0", + "copy-webpack-plugin": "^13.0.1", "cross-env": "^10.0.0", "css-loader": "^7.1.2", "css-minimizer-webpack-plugin": "^7.0.2", @@ -4315,11 +4315,10 @@ "dev": true }, "node_modules/copy-webpack-plugin": { - "version": "13.0.0", - "resolved": "https://registry.npmjs.org/copy-webpack-plugin/-/copy-webpack-plugin-13.0.0.tgz", - "integrity": "sha512-FgR/h5a6hzJqATDGd9YG41SeDViH+0bkHn6WNXCi5zKAZkeESeSxLySSsFLHqLEVCh0E+rITmCf0dusXWYukeQ==", + "version": "13.0.1", + "resolved": "https://registry.npmjs.org/copy-webpack-plugin/-/copy-webpack-plugin-13.0.1.tgz", + "integrity": "sha512-J+YV3WfhY6W/Xf9h+J1znYuqTye2xkBUIGyTPWuBAT27qajBa5mR4f8WBmfDY3YjRftT2kqZZiLi1qf0H+UOFw==", "dev": true, - "license": "MIT", "dependencies": { "glob-parent": "^6.0.1", "normalize-path": "^3.0.0", @@ -13293,9 +13292,9 @@ "dev": true }, "copy-webpack-plugin": { - "version": "13.0.0", - "resolved": "https://registry.npmjs.org/copy-webpack-plugin/-/copy-webpack-plugin-13.0.0.tgz", - "integrity": "sha512-FgR/h5a6hzJqATDGd9YG41SeDViH+0bkHn6WNXCi5zKAZkeESeSxLySSsFLHqLEVCh0E+rITmCf0dusXWYukeQ==", + "version": "13.0.1", + "resolved": "https://registry.npmjs.org/copy-webpack-plugin/-/copy-webpack-plugin-13.0.1.tgz", + "integrity": "sha512-J+YV3WfhY6W/Xf9h+J1znYuqTye2xkBUIGyTPWuBAT27qajBa5mR4f8WBmfDY3YjRftT2kqZZiLi1qf0H+UOFw==", "dev": true, "requires": { "glob-parent": "^6.0.1", diff --git a/package.json b/package.json index 47e8a9eb9..33faaddb5 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ "@babel/preset-env": "^7.28.3", "babel-loader": "^10.0.0", "clean-webpack-plugin": "^4.0.0", - "copy-webpack-plugin": "^13.0.0", + "copy-webpack-plugin": "^13.0.1", "cross-env": "^10.0.0", "css-loader": "^7.1.2", "css-minimizer-webpack-plugin": "^7.0.2", From f9f6e74af560233258bdc23e7ea7957b55dc5bf4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 2 Sep 2025 21:31:46 +0000 Subject: [PATCH 03/29] Build(deps-dev): bump postcss-loader from 8.1.1 to 8.2.0 Bumps [postcss-loader](https://github.com/webpack-contrib/postcss-loader) from 8.1.1 to 8.2.0. - [Release notes](https://github.com/webpack-contrib/postcss-loader/releases) - [Changelog](https://github.com/webpack-contrib/postcss-loader/blob/master/CHANGELOG.md) - [Commits](https://github.com/webpack-contrib/postcss-loader/compare/v8.1.1...v8.2.0) --- updated-dependencies: - dependency-name: postcss-loader dependency-version: 8.2.0 dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- package-lock.json | 56 +++++++++++++++++++++-------------------------- package.json | 2 +- 2 files changed, 26 insertions(+), 32 deletions(-) diff --git a/package-lock.json b/package-lock.json index 12245737d..41e72136e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -28,7 +28,7 @@ "foundation-sites": "^6.9.0", "jquery": "^3.7.1", "mini-css-extract-plugin": "^2.9.4", - "postcss-loader": "^8.1.1", + "postcss-loader": "^8.2.0", "postcss-preset-env": "^10.2.4", "sass": "^1.90.0", "sass-loader": "^16.0.5", @@ -6956,12 +6956,12 @@ } }, "node_modules/jiti": { - "version": "1.21.0", - "resolved": "https://registry.npmjs.org/jiti/-/jiti-1.21.0.tgz", - "integrity": "sha512-gFqAIbuKyyso/3G2qhiO2OM6shY6EPP/R0+mkDbyspxKazh8BXDC5FiFsUjlczgdNz/vfra0da2y+aHrusLG/Q==", + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/jiti/-/jiti-2.5.1.tgz", + "integrity": "sha512-twQoecYPiVA5K/h6SxtORw/Bs3ar+mLUtoPSc7iMXzQzK8d7eJ/R09wmTwAjiamETn1cXYPGfNnu7DMoHgu12w==", "dev": true, "bin": { - "jiti": "bin/jiti.js" + "jiti": "lib/jiti-cli.mjs" } }, "node_modules/jquery": { @@ -8384,14 +8384,14 @@ } }, "node_modules/postcss-loader": { - "version": "8.1.1", - "resolved": "https://registry.npmjs.org/postcss-loader/-/postcss-loader-8.1.1.tgz", - "integrity": "sha512-0IeqyAsG6tYiDRCYKQJLAmgQr47DX6N7sFSWvQxt6AcupX8DIdmykuk/o/tx0Lze3ErGHJEp5OSRxrelC6+NdQ==", + "version": "8.2.0", + "resolved": "https://registry.npmjs.org/postcss-loader/-/postcss-loader-8.2.0.tgz", + "integrity": "sha512-tHX+RkpsXVcc7st4dSdDGliI+r4aAQDuv+v3vFYHixb6YgjreG5AG4SEB0kDK8u2s6htqEEpKlkhSBUTvWKYnA==", "dev": true, "dependencies": { "cosmiconfig": "^9.0.0", - "jiti": "^1.20.0", - "semver": "^7.5.4" + "jiti": "^2.5.1", + "semver": "^7.6.2" }, "engines": { "node": ">= 18.12.0" @@ -8415,13 +8415,10 @@ } }, "node_modules/postcss-loader/node_modules/semver": { - "version": "7.5.4", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", - "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", + "version": "7.7.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.2.tgz", + "integrity": "sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA==", "dev": true, - "dependencies": { - "lru-cache": "^6.0.0" - }, "bin": { "semver": "bin/semver.js" }, @@ -15048,9 +15045,9 @@ } }, "jiti": { - "version": "1.21.0", - "resolved": "https://registry.npmjs.org/jiti/-/jiti-1.21.0.tgz", - "integrity": "sha512-gFqAIbuKyyso/3G2qhiO2OM6shY6EPP/R0+mkDbyspxKazh8BXDC5FiFsUjlczgdNz/vfra0da2y+aHrusLG/Q==", + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/jiti/-/jiti-2.5.1.tgz", + "integrity": "sha512-twQoecYPiVA5K/h6SxtORw/Bs3ar+mLUtoPSc7iMXzQzK8d7eJ/R09wmTwAjiamETn1cXYPGfNnu7DMoHgu12w==", "dev": true }, "jquery": { @@ -15938,24 +15935,21 @@ } }, "postcss-loader": { - "version": "8.1.1", - "resolved": "https://registry.npmjs.org/postcss-loader/-/postcss-loader-8.1.1.tgz", - "integrity": "sha512-0IeqyAsG6tYiDRCYKQJLAmgQr47DX6N7sFSWvQxt6AcupX8DIdmykuk/o/tx0Lze3ErGHJEp5OSRxrelC6+NdQ==", + "version": "8.2.0", + "resolved": "https://registry.npmjs.org/postcss-loader/-/postcss-loader-8.2.0.tgz", + "integrity": "sha512-tHX+RkpsXVcc7st4dSdDGliI+r4aAQDuv+v3vFYHixb6YgjreG5AG4SEB0kDK8u2s6htqEEpKlkhSBUTvWKYnA==", "dev": true, "requires": { "cosmiconfig": "^9.0.0", - "jiti": "^1.20.0", - "semver": "^7.5.4" + "jiti": "^2.5.1", + "semver": "^7.6.2" }, "dependencies": { "semver": { - "version": "7.5.4", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", - "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", - "dev": true, - "requires": { - "lru-cache": "^6.0.0" - } + "version": "7.7.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.2.tgz", + "integrity": "sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA==", + "dev": true } } }, diff --git a/package.json b/package.json index 47e8a9eb9..fec17369a 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ "foundation-sites": "^6.9.0", "jquery": "^3.7.1", "mini-css-extract-plugin": "^2.9.4", - "postcss-loader": "^8.1.1", + "postcss-loader": "^8.2.0", "postcss-preset-env": "^10.2.4", "sass": "^1.90.0", "sass-loader": "^16.0.5", From 985fd6a2201d17b2d25551795fe61717a646579b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 5 Sep 2025 01:02:35 +0000 Subject: [PATCH 04/29] Build(deps): bump actions/setup-python from 5 to 6 Bumps [actions/setup-python](https://github.com/actions/setup-python) from 5 to 6. - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](https://github.com/actions/setup-python/compare/v5...v6) --- updated-dependencies: - dependency-name: actions/setup-python dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/docs-pages.yaml | 2 +- .github/workflows/docs-pr.yaml | 2 +- .github/workflows/multiversion-tests.yaml | 2 +- .github/workflows/theme-tests.yaml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/docs-pages.yaml b/.github/workflows/docs-pages.yaml index 81332b8e3..ee7004b4b 100644 --- a/.github/workflows/docs-pages.yaml +++ b/.github/workflows/docs-pages.yaml @@ -22,7 +22,7 @@ jobs: persist-credentials: false fetch-depth: 0 - name: Set up Python - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: '3.10' diff --git a/.github/workflows/docs-pr.yaml b/.github/workflows/docs-pr.yaml index a1e779c76..d869685e0 100644 --- a/.github/workflows/docs-pr.yaml +++ b/.github/workflows/docs-pr.yaml @@ -20,7 +20,7 @@ jobs: fetch-depth: 0 - name: Set up Python - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: '3.10' diff --git a/.github/workflows/multiversion-tests.yaml b/.github/workflows/multiversion-tests.yaml index df5504b3b..3e771a2f8 100644 --- a/.github/workflows/multiversion-tests.yaml +++ b/.github/workflows/multiversion-tests.yaml @@ -26,7 +26,7 @@ jobs: fetch-depth: 0 - name: Set up Python - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: '3.10' diff --git a/.github/workflows/theme-tests.yaml b/.github/workflows/theme-tests.yaml index af629a737..202b6c243 100644 --- a/.github/workflows/theme-tests.yaml +++ b/.github/workflows/theme-tests.yaml @@ -23,7 +23,7 @@ jobs: fetch-depth: 0 - name: Set up Python - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: "3.10" From 1123ca360db781a56ea6ac2f88d51f34ef0a245e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 5 Sep 2025 01:03:13 +0000 Subject: [PATCH 05/29] Build(deps-dev): bump pytest from 8.4.1 to 8.4.2 Bumps [pytest](https://github.com/pytest-dev/pytest) from 8.4.1 to 8.4.2. - [Release notes](https://github.com/pytest-dev/pytest/releases) - [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst) - [Commits](https://github.com/pytest-dev/pytest/compare/8.4.1...8.4.2) --- updated-dependencies: - dependency-name: pytest dependency-version: 8.4.2 dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- poetry.lock | 8 ++++---- pyproject.toml | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/poetry.lock b/poetry.lock index 1d26e7ee4..67381fabe 100644 --- a/poetry.lock +++ b/poetry.lock @@ -648,14 +648,14 @@ windows-terminal = ["colorama (>=0.4.6)"] [[package]] name = "pytest" -version = "8.4.1" +version = "8.4.2" description = "pytest: simple powerful testing with Python" optional = false python-versions = ">=3.9" groups = ["dev"] files = [ - {file = "pytest-8.4.1-py3-none-any.whl", hash = "sha256:539c70ba6fcead8e78eebbf1115e8b589e7565830d7d006a8723f19ac8a0afb7"}, - {file = "pytest-8.4.1.tar.gz", hash = "sha256:7c67fd69174877359ed9371ec3af8a3d2b04741818c51e5e99cc1742251fa93c"}, + {file = "pytest-8.4.2-py3-none-any.whl", hash = "sha256:872f880de3fc3a5bdc88a11b39c9710c3497a547cfa9320bc3c5e62fbf272e79"}, + {file = "pytest-8.4.2.tar.gz", hash = "sha256:86c0d0b93306b961d58d62a4db4879f27fe25513d4b969df351abdddb3c30e01"}, ] [package.dependencies] @@ -1504,4 +1504,4 @@ files = [ [metadata] lock-version = "2.1" python-versions = "^3.10" -content-hash = "f627ca6e671e700e58990e4cf5a824c1bbfdfe2cf612aa7b22021beb55387076" +content-hash = "17baacfa8faff2d424f7a030a936b53d0359101e4ec1bec779472dce06fd1c39" diff --git a/pyproject.toml b/pyproject.toml index d81323365..bdbea020a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -19,7 +19,7 @@ setuptools = ">=70.1.1,<81.0.0" sphinxcontrib-mermaid = "^1.0.0" [tool.poetry.dev-dependencies] -pytest = "^8.4.1" +pytest = "^8.4.2" sphinx-autobuild = "^2024.10.3" pre-commit = "^4.3.0" myst-parser = "^3.0.1" From 7644330139262a0d5ac138a56b645f93138acb0b Mon Sep 17 00:00:00 2001 From: David Garcia Date: Sun, 21 Sep 2025 23:18:38 +0100 Subject: [PATCH 06/29] fix: announcement banner on mobile --- sphinx_scylladb_theme/promo-banner.html | 18 +++++++------ sphinx_scylladb_theme/static/css/main.css | 2 +- src/css/base/_variables.scss | 1 + src/css/components/_promo-banner.scss | 32 ++++++++++++++++------- 4 files changed, 35 insertions(+), 18 deletions(-) diff --git a/sphinx_scylladb_theme/promo-banner.html b/sphinx_scylladb_theme/promo-banner.html index b9f2a75a8..b9ea514a4 100644 --- a/sphinx_scylladb_theme/promo-banner.html +++ b/sphinx_scylladb_theme/promo-banner.html @@ -1,13 +1,15 @@ {% include 'footer.html' %} diff --git a/sphinx_scylladb_theme/side-nav-toggle.html b/sphinx_scylladb_theme/side-nav-toggle.html index cf0d44bca..7a86b3b18 100644 --- a/sphinx_scylladb_theme/side-nav-toggle.html +++ b/sphinx_scylladb_theme/side-nav-toggle.html @@ -3,4 +3,4 @@
- \ No newline at end of file + diff --git a/sphinx_scylladb_theme/side-nav.html b/sphinx_scylladb_theme/side-nav.html index 2679f70da..874dd59f6 100644 --- a/sphinx_scylladb_theme/side-nav.html +++ b/sphinx_scylladb_theme/side-nav.html @@ -19,4 +19,4 @@ collapse=theme_collapse_navigation|tobool)}} - \ No newline at end of file + diff --git a/sphinx_scylladb_theme/utils.py b/sphinx_scylladb_theme/utils.py index 264f95d90..c96828e54 100644 --- a/sphinx_scylladb_theme/utils.py +++ b/sphinx_scylladb_theme/utils.py @@ -1,5 +1,5 @@ import requests -import json + def multiversion_regex_builder(versions): """Generates a regex string from a list of versions. diff --git a/tests/extensions/test_alerts.py b/tests/extensions/test_alerts.py index 2eef2805f..d4d915d22 100644 --- a/tests/extensions/test_alerts.py +++ b/tests/extensions/test_alerts.py @@ -1,4 +1,5 @@ from unittest.mock import Mock + import pytest from bs4 import BeautifulSoup as bs @@ -7,7 +8,12 @@ test_data = [ [ [], - {"link": "https://scylladb.com", "link_text": "Learn more", "icon": "logs", "target": "_blank"}, + { + "link": "https://scylladb.com", + "link_text": "Learn more", + "icon": "logs", + "target": "_blank", + }, ["We’re updating our license & versioning policy."], """
@@ -18,7 +24,11 @@ ], [ [], - {"link": "https://scylladb.com", "link_text": "Learn more about the change", "icon": "logs"}, + { + "link": "https://scylladb.com", + "link_text": "Learn more about the change", + "icon": "logs", + }, ["We’re updating our license & versioning policy."], """
diff --git a/tests/extensions/test_grid.py b/tests/extensions/test_grid.py index 548c6fe96..0145574fd 100644 --- a/tests/extensions/test_grid.py +++ b/tests/extensions/test_grid.py @@ -108,4 +108,4 @@ def test(arguments, options, content, expected): assert ( bs(result[0].astext(), "html.parser").prettify() == bs(expected, "html.parser").prettify() - ) \ No newline at end of file + ) diff --git a/tests/extensions/test_hero_box.py b/tests/extensions/test_hero_box.py index 2d6140706..a3664f9fb 100644 --- a/tests/extensions/test_hero_box.py +++ b/tests/extensions/test_hero_box.py @@ -58,7 +58,11 @@ [ # Test search box with AI chatbot [], - {"title": "Lorem Ipsum", "search_box": True, "ai_chatbot_id": "test-chatbot-id"}, + { + "title": "Lorem Ipsum", + "search_box": True, + "ai_chatbot_id": "test-chatbot-id", + }, ["Content"], """
@@ -135,7 +139,7 @@
diff --git a/tests/extensions/test_include_tooltip.py b/tests/extensions/test_include_tooltip.py index 6b5676fb1..dccf3c40e 100644 --- a/tests/extensions/test_include_tooltip.py +++ b/tests/extensions/test_include_tooltip.py @@ -1,10 +1,11 @@ from unittest.mock import Mock + import pytest from bs4 import BeautifulSoup as bs -from docutils import nodes + from sphinx_scylladb_theme.extensions.include_tooltip import ( - include_tooltip_role, include_tooltip_node, + include_tooltip_role, ) tooltip_data = [ @@ -22,11 +23,18 @@ mock_inliner.document.settings.env = Mock() mock_inliner.document.reporter.error = Mock() -@pytest.mark.parametrize("role_name, input_text, expected_output, glossary, is_error", tooltip_data) -def test_include_tooltip_role(role_name, input_text, expected_output, glossary, is_error): + +@pytest.mark.parametrize( + "role_name, input_text, expected_output, glossary, is_error", tooltip_data +) +def test_include_tooltip_role( + role_name, input_text, expected_output, glossary, is_error +): glossary = glossary or {} - mock_inliner.document.settings.env.get_domain = Mock(return_value=Mock(_terms=glossary)) - + mock_inliner.document.settings.env.get_domain = Mock( + return_value=Mock(_terms=glossary) + ) + name = role_name rawtext = input_text text = input_text @@ -35,11 +43,16 @@ def test_include_tooltip_role(role_name, input_text, expected_output, glossary, options = {} content = [] - result, messages = include_tooltip_role(name, rawtext, text, lineno, inliner, options, content) - + result, messages = include_tooltip_role( + name, rawtext, text, lineno, inliner, options, content + ) + assert len(result) == 1 node = result[0] assert isinstance(node, include_tooltip_node) output_html = f'{node.astext()}' - assert bs(output_html, "html.parser").prettify() == bs(expected_output, "html.parser").prettify() + assert ( + bs(output_html, "html.parser").prettify() + == bs(expected_output, "html.parser").prettify() + ) diff --git a/tests/test_utils.py b/tests/test_utils.py index 3c7ee86e2..f8f107355 100644 --- a/tests/test_utils.py +++ b/tests/test_utils.py @@ -1,7 +1,12 @@ +from unittest.mock import MagicMock, patch + import requests -from sphinx_scylladb_theme.utils import multiversion_regex_builder, fetch_multiversion_configuration + from sphinx_scylladb_theme.extensions.utils import resolve_link -from unittest.mock import patch, MagicMock +from sphinx_scylladb_theme.utils import ( + fetch_multiversion_configuration, + multiversion_regex_builder, +) def test_multiversion_regex_builder_empty(): @@ -23,6 +28,7 @@ def test_multiversion_regex_builder_many_version(): versions = ["1.0", "2.0"] assert multiversion_regex_builder(versions) == r"\b(^1.0$|^2.0$)\b" + def test_fetch_multiversion_configuration_success(): url = "https://example.com/success" @@ -83,7 +89,7 @@ def test_resolve_link_empty(): env = MagicMock() result = resolve_link("", env) assert result == "" - + result = resolve_link(None, env) assert result is None @@ -94,10 +100,12 @@ def test_resolve_link_absolute_path(): env.docname = "examples/topic-box" env.found_docs = {"getting-started/installation"} env.app.builder.get_relative_uri.return_value = "getting-started/installation.html" - + result = resolve_link("/getting-started/installation", env) assert result == "getting-started/installation.html" - env.app.builder.get_relative_uri.assert_called_with("examples/topic-box", "getting-started/installation") + env.app.builder.get_relative_uri.assert_called_with( + "examples/topic-box", "getting-started/installation" + ) def test_resolve_link_relative_path(): @@ -106,10 +114,12 @@ def test_resolve_link_relative_path(): env.docname = "examples/topic-box" env.found_docs = {"examples/code-blocks"} env.app.builder.get_relative_uri.return_value = "code-blocks.html" - + result = resolve_link("code-blocks", env) assert result == "code-blocks.html" - env.app.builder.get_relative_uri.assert_called_with("examples/topic-box", "examples/code-blocks") + env.app.builder.get_relative_uri.assert_called_with( + "examples/topic-box", "examples/code-blocks" + ) def test_resolve_link_parent_directory(): @@ -118,10 +128,12 @@ def test_resolve_link_parent_directory(): env.docname = "examples/topic-box" env.found_docs = {"getting-started/installation"} env.app.builder.get_relative_uri.return_value = "getting-started/installation.html" - + result = resolve_link("../getting-started/installation", env) assert result == "getting-started/installation.html" - env.app.builder.get_relative_uri.assert_called_with("examples/topic-box", "getting-started/installation") + env.app.builder.get_relative_uri.assert_called_with( + "examples/topic-box", "getting-started/installation" + ) def test_resolve_link_index_fallback(): @@ -130,10 +142,12 @@ def test_resolve_link_index_fallback(): env.docname = "examples/topic-box" env.found_docs = {"getting-started/index"} env.app.builder.get_relative_uri.return_value = "getting-started/index.html" - + result = resolve_link("/getting-started", env) assert result == "getting-started/index.html" - env.app.builder.get_relative_uri.assert_called_with("examples/topic-box", "getting-started/index") + env.app.builder.get_relative_uri.assert_called_with( + "examples/topic-box", "getting-started/index" + ) def test_resolve_link_html_fallback(): @@ -141,7 +155,7 @@ def test_resolve_link_html_fallback(): env = MagicMock() env.docname = "examples/topic-box" env.found_docs = set() # Empty set, no documents found - + result = resolve_link("/nonexistent", env) assert result == "nonexistent.html" @@ -151,6 +165,6 @@ def test_resolve_link_anchor(): env = MagicMock() result = resolve_link("#section-name", env) assert result == "#section-name" - + result = resolve_link("#", env) assert result == "#"