This commit is contained in:
nlohmann committed 2026-09-25 22:42:24 +00:00
1 parent ac7a671836
commit 90bef9173a
270 files changed
+350 -269

No files matched your search

+12
View File
@@ -665,6 +665,18 @@ The library is checked for memory correctness and absence of undefined behavior.
- The test suite is executed with [Valgrind](https://valgrind.org) (Memcheck) to detect memory leaks.
- The test suite is executed with [Sanitizers](https://github.com/google/sanitizers) (address sanitizer, undefined behavior sanitizer, integer overflow detection, nullability violations).
## Dependencies
Requirement: No vulnerable dependencies
The library has no dependencies besides the C++ standard library. The tools used to build, test, and document it are kept free of known vulnerabilities.
- GitHub Actions are pinned to a commit hash, and the Python packages used by the documentation and the tools are pinned to exact versions.
- [Dependabot](https://docs.github.com/en/code-security/dependabot) checks these dependencies daily and proposes updates as pull requests.
- Every pull request is checked with the [dependency review action](https://github.com/actions/dependency-review-action). A pull request that adds a dependency with a known vulnerability of any severity fails this check and is not merged.
- Vulnerability alerts for dependencies are fixed or dismissed with a documented reason before the next release. No release is made while such an alert is open.
- Third-party code included in the repository for testing, such as [doctest](https://github.com/doctest/doctest), is updated manually.
## Style check
Requirement: Common code style