Compare commits

..
Author SHA1 Message Date
dependabot[bot] c6a5881392 build(deps): bump mermaid in /docs/mkdocs/scripts/mermaid
Bumps [mermaid](https://github.com/mermaid-js/mermaid) from 12.3.0 to 12.4.0.
- [Release notes](https://github.com/mermaid-js/mermaid/releases)
- [Commits](https://github.com/mermaid-js/mermaid/compare/mermaid@12.3.0...mermaid@12.4.0)

---
updated-dependencies:
- dependency-name: mermaid
  dependency-version: 12.4.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-12-04 15:43:40 +00:00
5 changed files with 11 additions and 17 deletions

No files matched your search

+4 -4
View File
@@ -7,7 +7,7 @@
"name": "check-mermaid",
"dependencies": {
"jsdom": "31.0.1",
"mermaid": "12.3.0"
"mermaid": "12.4.0"
}
},
"node_modules/@antfu/install-pkg": {
@@ -1209,9 +1209,9 @@
}
},
"node_modules/mermaid": {
"version": "12.3.0",
"resolved": "https://registry.npmjs.org/mermaid/-/mermaid-12.3.0.tgz",
"integrity": "sha512-4113TdXeLAsMruJ79OpFL5O8+LTFXhQqZ260rF3tgUmiNAtRm4Uume04I+65PRN6yZ69J4f8rVYWW8zRk65UYw==",
"version": "12.4.0",
"resolved": "https://registry.npmjs.org/mermaid/-/mermaid-12.4.0.tgz",
"integrity": "sha512-j2gvsGUFeS/53WdYLl9H5G2YtMZX9G/PlCvV3E5Pf4j5XSnK19DwazU6wki7OTcKeYKed7+qujRDLhy8NV2zBg==",
"license": "MIT",
"dependencies": {
"@braintree/sanitize-url": "^7.1.2",
+1 -1
View File
@@ -5,6 +5,6 @@
"type": "module",
"dependencies": {
"jsdom": "31.0.1",
"mermaid": "12.3.0"
"mermaid": "12.4.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>