dependabot[bot] opened a new pull request, #45710: URL: https://github.com/apache/superset/pull/45710
Bumps [jsonpath-ng](https://github.com/jsonpath-ng/jsonpath-ng) from 1.8.0 to 1.11.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/jsonpath-ng/jsonpath-ng/releases">jsonpath-ng's releases</a>.</em></p> <blockquote> <h2>v1.11.0</h2> <h2>Breaking changes</h2> <ul> <li> <p>When applying an index to a string, nothing will be returned.</p> <p>Previously, an index applied to a string would "find" individual characters. For example, <code>$[0]</code> applied to <code>"abc"</code> would find <code>"a"</code>.</p> <p>This change improves RFC 9535 compliance.</p> </li> <li> <p>Slices and the <code>[*]</code> wildcard no longer coerce scalars and objects into arrays. (<a href="https://redirect.github.com/jsonpath-ng/jsonpath-ng/issues/96">#96</a>)</p> <p>Previously, <code>$[*]</code> applied to <code>"abc"</code> or <code>5</code> would find the value itself, and <code>$[*]</code> applied to <code>{"a": 1}</code> would find the whole object. This also caused <code>$..[*]</code> to return phantom nodes, such as the root object and a second copy of each string.</p> <p>Now, slices like <code>[0:2]</code> find nothing unless they are applied to an array, and <code>[*]</code> finds the member values of an object or the elements of an array and nothing from a scalar value.</p> <p>This change improves RFC 9535 compliance.</p> </li> </ul> <h2>Fixed</h2> <ul> <li> <p>Fix <code>RecursionError</code> when paths using <code>..</code> are applied to deeply nested data.</p> <p>It is still possible to encounter <code>RecursionError</code>. For example, very long JSONPath expressions can still raise <code>RecursionError</code>.</p> <p>Note that cyclic data structures can trigger indefinite execution, as can updating data with a value that the path can match again. Cyclic data structures are impossible to encounter in JSON and can only be constructed programmatically in Python.</p> </li> <li> <p>Make <code>Descendants.find()</code> runtimes scale linearly with the depth of the data.</p> </li> <li> <p>Fix <code>TypeError</code> when an index like <code>[0]</code> is applied to a scalar value.</p> <p>These values now match nothing, as required by RFC 9535.</p> </li> <li> <p>Fix <code>..[*]</code> omitting the member values of objects. (<a href="https://redirect.github.com/jsonpath-ng/jsonpath-ng/issues/96">#96</a>)</p> </li> <li> <p>Fix <code>*</code> (used as a field) omitting the elements of arrays. (<a href="https://redirect.github.com/jsonpath-ng/jsonpath-ng/issues/11">#11</a>, <a href="https://redirect.github.com/jsonpath-ng/jsonpath-ng/issues/164">#164</a>)</p> <p><code>$.*</code> and <code>$..*</code> now find array elements as well as object member values.</p> <p><code>update()</code> and <code>filter()</code> now also act on array elements for these wildcards.</p> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/jsonpath-ng/jsonpath-ng/blob/main/CHANGELOG.rst">jsonpath-ng's changelog</a>.</em></p> <blockquote> <h1>1.11.0 - 2026-10-16</h1> <h2>Breaking changes</h2> <ul> <li> <p>When applying an index to a string, nothing will be returned.</p> <p>Previously, an index applied to a string would "find" individual characters. For example, <code>$[0]</code> applied to <code>"abc"</code> would find <code>"a"</code>.</p> <p>This change improves RFC 9535 compliance.</p> </li> <li> <p>Slices and the <code>[*]</code> wildcard no longer coerce scalars and objects into arrays. (<a href="https://redirect.github.com/jsonpath-ng/jsonpath-ng/issues/96">#96</a>)</p> <p>Previously, <code>$[*]</code> applied to <code>"abc"</code> or <code>5</code> would find the value itself, and <code>$[*]</code> applied to <code>{"a": 1}</code> would find the whole object. This also caused <code>$..[*]</code> to return phantom nodes, such as the root object and a second copy of each string.</p> <p>Now, slices like <code>[0:2]</code> find nothing unless they are applied to an array, and <code>[*]</code> finds the member values of an object or the elements of an array and nothing from a scalar value.</p> <p>This change improves RFC 9535 compliance.</p> </li> </ul> <h2>Fixed</h2> <ul> <li> <p>Fix <code>RecursionError</code> when paths using <code>..</code> are applied to deeply nested data.</p> <p>It is still possible to encounter <code>RecursionError</code>. For example, very long JSONPath expressions can still raise <code>RecursionError</code>.</p> <p>Note that cyclic data structures can trigger indefinite execution, as can updating data with a value that the path can match again. Cyclic data structures are impossible to encounter in JSON and can only be constructed programmatically in Python.</p> </li> <li> <p>Make <code>Descendants.find()</code> runtimes scale linearly with the depth of the data.</p> </li> <li> <p>Fix <code>TypeError</code> when an index like <code>[0]</code> is applied to a scalar value.</p> <p>These values now match nothing, as required by RFC 9535.</p> </li> <li> <p>Fix <code>..[*]</code> omitting the member values of objects. (<a href="https://redirect.github.com/jsonpath-ng/jsonpath-ng/issues/96">#96</a>)</p> </li> <li> <p>Fix <code>*</code> (used as a field) omitting the elements of arrays. (<a href="https://redirect.github.com/jsonpath-ng/jsonpath-ng/issues/11">#11</a>, <a href="https://redirect.github.com/jsonpath-ng/jsonpath-ng/issues/164">#164</a>)</p> <p><code>$.*</code> and <code>$..*</code> now find array elements as well as object member values.</p> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/jsonpath-ng/jsonpath-ng/commit/8bb8915322d1c89c2ab169cee5bb3d0b9e44cd6f"><code>8bb8915</code></a> Release v1.11.0 (<a href="https://redirect.github.com/jsonpath-ng/jsonpath-ng/issues/294">#294</a>)</li> <li><a href="https://github.com/jsonpath-ng/jsonpath-ng/commit/02851a43b97c3465ad4ed1a355089a8bbbdcf525"><code>02851a4</code></a> Update project metadata</li> <li><a href="https://github.com/jsonpath-ng/jsonpath-ng/commit/2edf99fb26acc29f12fd72efdeb68f3b96c70be5"><code>2edf99f</code></a> Allow <code>true</code> and <code>false</code> as field names; fix bool comparisons (<a href="https://redirect.github.com/jsonpath-ng/jsonpath-ng/issues/293">#293</a>)</li> <li><a href="https://github.com/jsonpath-ng/jsonpath-ng/commit/a7e78d396affefefb40dc04cb90a932dd677d952"><code>a7e78d3</code></a> Allow <code>true</code> and <code>false</code> as field names; fix bool comparisons</li> <li><a href="https://github.com/jsonpath-ng/jsonpath-ng/commit/74d89a07caa0448fad57e817a623f71e137ba7a6"><code>74d89a0</code></a> Allow filters to compare against JSON <code>null</code> values (<a href="https://redirect.github.com/jsonpath-ng/jsonpath-ng/issues/292">#292</a>)</li> <li><a href="https://github.com/jsonpath-ng/jsonpath-ng/commit/8a11de458d25955afe4d3075ff6a19466da8180f"><code>8a11de4</code></a> Allow filters to compare against JSON <code>null</code> values</li> <li><a href="https://github.com/jsonpath-ng/jsonpath-ng/commit/ee19dfb3bab1abc20ef2f367a48bce024174fdd4"><code>ee19dfb</code></a> Fix a parse error when a filter follows <code>..</code> (<a href="https://redirect.github.com/jsonpath-ng/jsonpath-ng/issues/291">#291</a>)</li> <li><a href="https://github.com/jsonpath-ng/jsonpath-ng/commit/d867262ccfe6406982352c91a9a58d887808d33c"><code>d867262</code></a> Fix a parse error when a filter follows <code>..</code></li> <li><a href="https://github.com/jsonpath-ng/jsonpath-ng/commit/e927b30d600981de17dccc738ce57e53509e445b"><code>e927b30</code></a> Fix <code>*</code> ignoring the elements of arrays (<a href="https://redirect.github.com/jsonpath-ng/jsonpath-ng/issues/290">#290</a>)</li> <li><a href="https://github.com/jsonpath-ng/jsonpath-ng/commit/3ac85939e9005417445685ea6565ce43e848b304"><code>3ac8593</code></a> Fix <code>*</code> ignoring the elements of arrays</li> <li>Additional commits viewable in <a href="https://github.com/jsonpath-ng/jsonpath-ng/compare/v1.8.0...v1.11.0">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
