chore(deps): update dependency eslint-plugin-security to v4 (#27)
Some checks failed
CD / Build and push (amd64) (push) Has been cancelled
CD / test (push) Has been cancelled
CD / Check changes (push) Has been cancelled
CD / Build and push (arm64) (push) Has been cancelled
CD / Create manifest (push) Has been cancelled

This PR contains the following updates:

| Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|
| [eslint-plugin-security](https://github.com/eslint-community/eslint-plugin-security) | [`3.0.1` → `4.0.0`](https://renovatebot.com/diffs/npm/eslint-plugin-security/3.0.1/4.0.0) | ![age](https://developer.mend.io/api/mc/badges/age/npm/eslint-plugin-security/4.0.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/eslint-plugin-security/3.0.1/4.0.0?slim=true) |

---

### Release Notes

<details>
<summary>eslint-community/eslint-plugin-security (eslint-plugin-security)</summary>

### [`v4.0.0`](https://github.com/eslint-community/eslint-plugin-security/blob/HEAD/CHANGELOG.md#400-2026-02-19)

[Compare Source](https://github.com/eslint-community/eslint-plugin-security/compare/v3.0.1...eslint-plugin-security-v4.0.0)

##### ⚠ BREAKING CHANGES

- requires node ^18.18.0 || ^20.9.0 || >=21.1.0 ([#&#8203;146](https://github.com/eslint-community/eslint-plugin-security/issues/146))
- switch the recommended config to flat ([#&#8203;118](https://github.com/eslint-community/eslint-plugin-security/issues/118))

##### Features

- add config recommended-legacy ([#&#8203;132](https://github.com/eslint-community/eslint-plugin-security/issues/132)) ([13d3f2f](13d3f2fc6b))
- Add meta object documentation for all rules ([#&#8203;79](https://github.com/eslint-community/eslint-plugin-security/issues/79)) ([fb1d9ef](fb1d9ef56e))
- detect-bidi-characters rule ([#&#8203;95](https://github.com/eslint-community/eslint-plugin-security/issues/95)) ([4294d29](4294d29cca))
- **detect-non-literal-fs-filename:** change to track non-top-level `require()` as well ([#&#8203;105](https://github.com/eslint-community/eslint-plugin-security/issues/105)) ([d3b1543](d3b15435b4))
- extend detect non literal fs filename ([#&#8203;92](https://github.com/eslint-community/eslint-plugin-security/issues/92)) ([08ba476](08ba4764a8))
- improve detect-child-process rule ([#&#8203;108](https://github.com/eslint-community/eslint-plugin-security/issues/108)) ([64ae529](64ae52944a))
- **non-literal-require:** support template literals ([#&#8203;81](https://github.com/eslint-community/eslint-plugin-security/issues/81)) ([208019b](208019bad4))
- requires node ^18.18.0 || ^20.9.0 || >=21.1.0 ([#&#8203;146](https://github.com/eslint-community/eslint-plugin-security/issues/146)) ([df1b606](df1b6063c1))
- switch the recommended config to flat ([#&#8203;118](https://github.com/eslint-community/eslint-plugin-security/issues/118)) ([e20a366](e20a3664c2))

##### Bug Fixes

- Add ESLint 10 compatibility for context.sourceCode API change ([#&#8203;186](https://github.com/eslint-community/eslint-plugin-security/issues/186)) ([7f9ee77](7f9ee77677))
- add name to recommended flat config ([#&#8203;161](https://github.com/eslint-community/eslint-plugin-security/issues/161)) ([aa1c8c5](aa1c8c57a2))
- Avoid crash when exec() is passed no arguments ([7f97815](7f97815acc)), closes [#&#8203;82](https://github.com/eslint-community/eslint-plugin-security/issues/82) [#&#8203;23](https://github.com/eslint-community/eslint-plugin-security/issues/23)
- Avoid TypeError when exec stub is used with no arguments ([#&#8203;97](https://github.com/eslint-community/eslint-plugin-security/issues/97)) ([9c18f16](9c18f16187))
- **detect-child-process:** false positive for destructuring with `exec` ([#&#8203;102](https://github.com/eslint-community/eslint-plugin-security/issues/102)) ([657921a](657921a93f))
- **detect-child-process:** false positives for destructuring `spawn` ([#&#8203;103](https://github.com/eslint-community/eslint-plugin-security/issues/103)) ([fdfe37d](fdfe37d667))
- Ensure empty eval() doesn't crash detect-eval-with-expression ([#&#8203;139](https://github.com/eslint-community/eslint-plugin-security/issues/139)) ([8a7c7db](8a7c7db1e2))
- Ensure everything works with ESLint v9 ([#&#8203;145](https://github.com/eslint-community/eslint-plugin-security/issues/145)) ([ac50ab4](ac50ab481e))
- false positives for static expressions in detect-non-literal-fs-filename, detect-child-process, detect-non-literal-regexp, and detect-non-literal-require ([#&#8203;109](https://github.com/eslint-community/eslint-plugin-security/issues/109)) ([56102b5](56102b50ae))
- generate provenance statement for release ([#&#8203;168](https://github.com/eslint-community/eslint-plugin-security/issues/168)) ([eb3ee9c](eb3ee9c38c))
- Incorrect method name in detect-buffer-noassert. ([313c0c6](313c0c693f)), closes [#&#8203;63](https://github.com/eslint-community/eslint-plugin-security/issues/63) [#&#8203;80](https://github.com/eslint-community/eslint-plugin-security/issues/80)
- release-please config ([#&#8203;189](https://github.com/eslint-community/eslint-plugin-security/issues/189)) ([2443d10](2443d10c42))

##### [3.0.1](https://www.github.com/eslint-community/eslint-plugin-security/compare/v3.0.0...v3.0.1) (2024-06-14)

##### Bug Fixes

- add name to recommended flat config ([#&#8203;161](https://www.github.com/eslint-community/eslint-plugin-security/issues/161)) ([aa1c8c5](aa1c8c57a2))

##### [3.0.1](https://www.github.com/eslint-community/eslint-plugin-security/compare/v3.0.0...v3.0.1) (2024-06-13)

##### Bug Fixes

- add name to recommended flat config ([#&#8203;161](https://www.github.com/eslint-community/eslint-plugin-security/issues/161)) ([aa1c8c5](aa1c8c57a2))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My41LjQiLCJ1cGRhdGVkSW5WZXIiOiI0My41LjQiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbXX0=-->

Reviewed-on: #27
Reviewed-by: t.behrendt <t.behrendt@noreply.localhost>
Co-authored-by: Renovate Bot <renovate@t00n.de>
Co-committed-by: Renovate Bot <renovate@t00n.de>
This commit was merged in pull request #27.
This commit is contained in:
2026-03-15 22:19:30 +01:00
committed by t.behrendt
parent 370781b5a2
commit 091cee0d43
2 changed files with 3 additions and 3 deletions

View File

@@ -21,7 +21,7 @@
"eslint": "9.39.2",
"eslint-plugin-import": "2.32.0",
"eslint-plugin-prettier": "5.5.5",
"eslint-plugin-security": "3.0.1",
"eslint-plugin-security": "4.0.0",
"eslint-plugin-unicorn": "61.0.2",
"typescript-eslint": "8.55.0",
},
@@ -439,7 +439,7 @@
"eslint-plugin-prettier": ["eslint-plugin-prettier@5.5.5", "", { "dependencies": { "prettier-linter-helpers": "^1.0.1", "synckit": "^0.11.12" }, "peerDependencies": { "@types/eslint": ">=8.0.0", "eslint": ">=8.0.0", "eslint-config-prettier": ">= 7.0.0 <10.0.0 || >=10.1.0", "prettier": ">=3.0.0" }, "optionalPeers": ["@types/eslint", "eslint-config-prettier"] }, "sha512-hscXkbqUZ2sPithAuLm5MXL+Wph+U7wHngPBv9OMWwlP8iaflyxpjTYZkmdgB4/vPIhemRlBEoLrH7UC1n7aUw=="],
"eslint-plugin-security": ["eslint-plugin-security@3.0.1", "", { "dependencies": { "safe-regex": "^2.1.1" } }, "sha512-XjVGBhtDZJfyuhIxnQ/WMm385RbX3DBu7H1J7HNNhmB2tnGxMeqVSnYv79oAj992ayvIBZghsymwkYFS6cGH4Q=="],
"eslint-plugin-security": ["eslint-plugin-security@4.0.0", "", { "dependencies": { "safe-regex": "^2.1.1" } }, "sha512-tfuQT8K/Li1ZxhFzyD8wPIKtlzZxqBcPr9q0jFMQ77wWAbKBVEhaMPVQRTMTvCMUDhwBe5vPVqQPwAGk/ASfxQ=="],
"eslint-plugin-unicorn": ["eslint-plugin-unicorn@61.0.2", "", { "dependencies": { "@babel/helper-validator-identifier": "^7.27.1", "@eslint-community/eslint-utils": "^4.7.0", "@eslint/plugin-kit": "^0.3.3", "change-case": "^5.4.4", "ci-info": "^4.3.0", "clean-regexp": "^1.0.0", "core-js-compat": "^3.44.0", "esquery": "^1.6.0", "find-up-simple": "^1.0.1", "globals": "^16.3.0", "indent-string": "^5.0.0", "is-builtin-module": "^5.0.0", "jsesc": "^3.1.0", "pluralize": "^8.0.0", "regexp-tree": "^0.1.27", "regjsparser": "^0.12.0", "semver": "^7.7.2", "strip-indent": "^4.0.0" }, "peerDependencies": { "eslint": ">=9.29.0" } }, "sha512-zLihukvneYT7f74GNbVJXfWIiNQmkc/a9vYBTE4qPkQZswolWNdu+Wsp9sIXno1JOzdn6OUwLPd19ekXVkahRA=="],