Compare commits

..
Author SHA1 Message Date
dependabot[bot] cab0d5ef37 build(deps): bump semgrep from 1.185.0 to 1.187.0 in /cmake/requirements
Bumps [semgrep](https://github.com/semgrep/semgrep) from 1.185.0 to 1.187.0.
- [Release notes](https://github.com/semgrep/semgrep/releases)
- [Changelog](https://github.com/semgrep/semgrep/blob/v1.187.0/CHANGELOG.md)
- [Commits](https://github.com/semgrep/semgrep/compare/v1.185.0...v1.187.0)

---
updated-dependencies:
- dependency-name: semgrep
  dependency-version: 1.187.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-12-02 15:43:10 +00:00
4 changed files with 7 additions and 13 deletions

No files matched your search

+1 -1
View File
@@ -1 +1 @@
semgrep==1.185.0
semgrep==1.187.0
+2 -5
View File
@@ -1322,11 +1322,8 @@ class json_sax_dom_parser : public json_sax_dom_error_state
}
/// the number of members an object collects on the stack before it
/// switches to storing them directly; both collect_member() and a stored
/// object below key_index_threshold search their keys linearly, so the
/// object stays on the stack as long as a linear search is cheap, and a
/// spilled object looks up its keys in a hash table right away
static constexpr std::size_t object_buffer_limit = key_index_threshold;
/// switches to storing them directly
static constexpr std::size_t object_buffer_limit = 32;
void reserve_members()
{
+2 -5
View File
@@ -17540,11 +17540,8 @@ class json_sax_dom_parser : public json_sax_dom_error_state
}
/// the number of members an object collects on the stack before it
/// switches to storing them directly; both collect_member() and a stored
/// object below key_index_threshold search their keys linearly, so the
/// object stays on the stack as long as a linear search is cheap, and a
/// spilled object looks up its keys in a hash table right away
static constexpr std::size_t object_buffer_limit = key_index_threshold;
/// switches to storing them directly
static constexpr std::size_t object_buffer_limit = 32;
void reserve_members()
{
+2 -2
View File
@@ -247,8 +247,8 @@ TEST_CASE("regression test for issue #5673 - ordered_json::emplace with a non-rv
namespace
{
// the sizes around which the DOM parser changes how it stores the elements of
// an array (16) and the members of an object in a vector (64, which is also
// where the key index starts)
// an array (16) and the members of an object in a vector (32, and 64 for the
// key index)
const std::array<std::size_t, 17> container_sizes = {{0, 1, 2, 3, 15, 16, 17, 18, 31, 32, 33, 34, 63, 64, 65, 66, 200}};
template<typename Json>