From: Julien Déramond Date: Wed, 7 May 2025 15:24:20 +0000 (+0200) Subject: Update `devDependencies` (#41450) X-Git-Tag: v5.3.7~38 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0f19b067451d72be353f286e95d969795143cf19;p=thirdparty%2Fbootstrap.git Update `devDependencies` (#41450) --- diff --git a/.eslintrc.json b/.eslintrc.json index 017a6d13f8..da686166f5 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -95,6 +95,7 @@ "unicorn/prefer-array-flat": "off", "unicorn/prefer-at": "off", "unicorn/prefer-dom-node-dataset": "off", + "unicorn/prefer-global-this": "off", "unicorn/prefer-module": "off", "unicorn/prefer-query-selector": "off", "unicorn/prefer-spread": "off", diff --git a/js/src/util/sanitizer.js b/js/src/util/sanitizer.js index 3d2883aff3..bcd565a9cf 100644 --- a/js/src/util/sanitizer.js +++ b/js/src/util/sanitizer.js @@ -63,7 +63,6 @@ const uriAttributes = new Set([ * * Shout-out to Angular https://github.com/angular/angular/blob/15.2.8/packages/core/src/sanitization/url_sanitizer.ts#L38 */ -// eslint-disable-next-line unicorn/better-regex const SAFE_URL_PATTERN = /^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i const allowedAttribute = (attribute, allowedAttributeList) => { diff --git a/package-lock.json b/package-lock.json index d16e29b8c2..d357ca25e5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -50,7 +50,7 @@ "eslint-plugin-html": "^8.1.2", "eslint-plugin-import": "^2.31.0", "eslint-plugin-markdown": "^5.1.0", - "eslint-plugin-unicorn": "^55.0.0", + "eslint-plugin-unicorn": "^56.0.1", "find-unused-sass-variables": "^6.1.0", "github-slugger": "^2.0.0", "globby": "^14.1.0", @@ -73,7 +73,7 @@ "lockfile-lint": "^4.14.1", "mime": "^4.0.7", "nodemon": "^3.1.10", - "npm-run-all2": "^7.0.2", + "npm-run-all2": "^8.0.1", "postcss": "^8.5.3", "postcss-cli": "^11.0.1", "prettier": "^3.5.3", @@ -7571,19 +7571,19 @@ } }, "node_modules/eslint-plugin-unicorn": { - "version": "55.0.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-unicorn/-/eslint-plugin-unicorn-55.0.0.tgz", - "integrity": "sha512-n3AKiVpY2/uDcGrS3+QsYDkjPfaOrNrsfQxU9nt5nitd9KuvVXrfAvgCO9DYPSfap+Gqjw9EOrXIsBp5tlHZjA==", + "version": "56.0.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-unicorn/-/eslint-plugin-unicorn-56.0.1.tgz", + "integrity": "sha512-FwVV0Uwf8XPfVnKSGpMg7NtlZh0G0gBarCaFcMUOoqPxXryxdYxTRRv4kH6B9TFCVIrjRXG+emcxIk2ayZilog==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-validator-identifier": "^7.24.5", + "@babel/helper-validator-identifier": "^7.24.7", "@eslint-community/eslint-utils": "^4.4.0", "ci-info": "^4.0.0", "clean-regexp": "^1.0.0", - "core-js-compat": "^3.37.0", - "esquery": "^1.5.0", - "globals": "^15.7.0", + "core-js-compat": "^3.38.1", + "esquery": "^1.6.0", + "globals": "^15.9.0", "indent-string": "^4.0.0", "is-builtin-module": "^3.2.1", "jsesc": "^3.0.2", @@ -7591,7 +7591,7 @@ "read-pkg-up": "^7.0.1", "regexp-tree": "^0.1.27", "regjsparser": "^0.10.0", - "semver": "^7.6.1", + "semver": "^7.6.3", "strip-indent": "^3.0.0" }, "engines": { @@ -13716,16 +13716,16 @@ } }, "node_modules/npm-run-all2": { - "version": "7.0.2", - "resolved": "https://registry.npmjs.org/npm-run-all2/-/npm-run-all2-7.0.2.tgz", - "integrity": "sha512-7tXR+r9hzRNOPNTvXegM+QzCuMjzUIIq66VDunL6j60O4RrExx32XUhlrS7UK4VcdGw5/Wxzb3kfNcFix9JKDA==", + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/npm-run-all2/-/npm-run-all2-8.0.1.tgz", + "integrity": "sha512-jkhE0AsELQeCtScrcJ/7mSIdk+ZsnWjvKk3KwE96HZ6+OFVB74XhxQtHT1W6kdUfn92fRnBb29Mz82j9bV2XEQ==", "dev": true, "license": "MIT", "dependencies": { "ansi-styles": "^6.2.1", "cross-spawn": "^7.0.6", "memorystream": "^0.3.1", - "minimatch": "^9.0.0", + "minimatch": "^10.0.1", "pidtree": "^0.6.0", "read-package-json-fast": "^4.0.0", "shell-quote": "^1.7.3", @@ -13738,8 +13738,8 @@ "run-s": "bin/run-s/index.js" }, "engines": { - "node": "^18.17.0 || >=20.5.0", - "npm": ">= 9" + "node": "^20.5.0 || >=22.0.0", + "npm": ">= 10" } }, "node_modules/npm-run-all2/node_modules/brace-expansion": { @@ -13763,16 +13763,16 @@ } }, "node_modules/npm-run-all2/node_modules/minimatch": { - "version": "9.0.5", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", - "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", + "version": "10.0.1", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.0.1.tgz", + "integrity": "sha512-ethXTt3SGGR+95gudmqJ1eNhRO7eGEGIgYA9vnPatK4/etz2MEVDno5GMCibdMTuBMyElzIlgxMna3K94XDIDQ==", "dev": true, "license": "ISC", "dependencies": { "brace-expansion": "^2.0.1" }, "engines": { - "node": ">=16 || 14 >=14.17" + "node": "20 || >=22" }, "funding": { "url": "https://github.com/sponsors/isaacs" diff --git a/package.json b/package.json index 07ae5d6431..657f1dcf5b 100644 --- a/package.json +++ b/package.json @@ -139,7 +139,7 @@ "eslint-plugin-html": "^8.1.2", "eslint-plugin-import": "^2.31.0", "eslint-plugin-markdown": "^5.1.0", - "eslint-plugin-unicorn": "^55.0.0", + "eslint-plugin-unicorn": "^56.0.1", "find-unused-sass-variables": "^6.1.0", "github-slugger": "^2.0.0", "globby": "^14.1.0", @@ -162,7 +162,7 @@ "lockfile-lint": "^4.14.1", "mime": "^4.0.7", "nodemon": "^3.1.10", - "npm-run-all2": "^7.0.2", + "npm-run-all2": "^8.0.1", "postcss": "^8.5.3", "postcss-cli": "^11.0.1", "prettier": "^3.5.3",