dependabot[bot] opened a new pull request, #37162: URL: https://github.com/apache/superset/pull/37162
Bumps [react-intersection-observer](https://github.com/thebuilder/react-intersection-observer) from 9.16.0 to 10.0.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/thebuilder/react-intersection-observer/releases">react-intersection-observer's releases</a>.</em></p> <blockquote> <h2>v10.0.0</h2> <p>Based on the great work in <a href="https://redirect.github.com/thebuilder/react-intersection-observer/issues/718">#718</a> by <a href="https://github.com/jantimon"><code>@jantimon</code></a> - This release adds the new <code>useOnInView</code> hook.</p> <h3>✨ New</h3> <ul> <li><strong><code>useOnInView</code> hook</strong> — a no-re-render alternative to <code>useInView</code> that delivers <code>(inView, entry)</code> to your callback while returning a ref you can attach to any element. Designed for tracking, analytics, and other side effect heavy workloads where state updates are unnecessary.</li> <li><strong><code>IntersectionChangeEffect</code> / <code>IntersectionEffectOptions</code> types</strong> — exported helper types that describe the new hook’s callback and options surface.</li> <li><strong>Storybook playground + documentation</strong> — new story, README section, and JSDoc example demonstrating how to use <code>useOnInView</code>.</li> </ul> <h3>⚠️ Breaking Changes</h3> <ul> <li><code>useInView</code>, <code>useOnInView</code>, and <code><InView></code> now ignore the browser’s initial <code>inView === false</code> emission for <code>onChange</code> events, so handlers only fire once a real visibility change occurs, while still reporting all subsequent enter/leave transitions.</li> </ul> <h3>🧪 Testing</h3> <ul> <li>Added a dedicated Vitest suite for <code>useOnInView</code>, covering thresholds, <code>triggerOnce</code>, <code>skip</code> toggling, merged refs, and multiple observers on the same node.</li> </ul> <h2>What's Changed</h2> <ul> <li>chore: update package url in package.json by <a href="https://github.com/thebuilder"><code>@thebuilder</code></a> in <a href="https://redirect.github.com/thebuilder/react-intersection-observer/pull/721">thebuilder/react-intersection-observer#721</a></li> <li>build(deps-dev): bump vite from 6.2.0 to 6.2.5 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/thebuilder/react-intersection-observer/pull/724">thebuilder/react-intersection-observer#724</a></li> <li>build(deps-dev): bump vite from 6.2.5 to 6.2.7 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/thebuilder/react-intersection-observer/pull/727">thebuilder/react-intersection-observer#727</a></li> <li>Fix minor grammatical issue in documentation intro by <a href="https://github.com/Akshay-Vs"><code>@Akshay-Vs</code></a> in <a href="https://redirect.github.com/thebuilder/react-intersection-observer/pull/728">thebuilder/react-intersection-observer#728</a></li> <li>Remove bundlephobia badge from README by <a href="https://github.com/Copilot"><code>@Copilot</code></a> in <a href="https://redirect.github.com/thebuilder/react-intersection-observer/pull/731">thebuilder/react-intersection-observer#731</a></li> <li>Update dependencies by <a href="https://github.com/thebuilder"><code>@thebuilder</code></a> in <a href="https://redirect.github.com/thebuilder/react-intersection-observer/pull/737">thebuilder/react-intersection-observer#737</a></li> <li>feat: implement the useOnInView hook by <a href="https://github.com/thebuilder"><code>@thebuilder</code></a> in <a href="https://redirect.github.com/thebuilder/react-intersection-observer/pull/738">thebuilder/react-intersection-observer#738</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/Akshay-Vs"><code>@Akshay-Vs</code></a> made their first contribution in <a href="https://redirect.github.com/thebuilder/react-intersection-observer/pull/728">thebuilder/react-intersection-observer#728</a></li> <li><a href="https://github.com/Copilot"><code>@Copilot</code></a> made their first contribution in <a href="https://redirect.github.com/thebuilder/react-intersection-observer/pull/731">thebuilder/react-intersection-observer#731</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/thebuilder/react-intersection-observer/compare/v9.16.0...v10.0.0">https://github.com/thebuilder/react-intersection-observer/compare/v9.16.0...v10.0.0</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/thebuilder/react-intersection-observer/commit/901ec5ef00efd23c817edc969660a2ebdbb95c5f"><code>901ec5e</code></a> chore: release v10.0.0</li> <li><a href="https://github.com/thebuilder/react-intersection-observer/commit/efe59c8e61d214124d7466c4a087da1ebc056946"><code>efe59c8</code></a> feat: implement the useOnInView hook (<a href="https://redirect.github.com/thebuilder/react-intersection-observer/issues/738">#738</a>)</li> <li><a href="https://github.com/thebuilder/react-intersection-observer/commit/66cda4fedffb8ef8ec14c99c2b031f3b842c88df"><code>66cda4f</code></a> feat: Update dependencies (<a href="https://redirect.github.com/thebuilder/react-intersection-observer/issues/737">#737</a>)</li> <li><a href="https://github.com/thebuilder/react-intersection-observer/commit/1e8a3b7710f375b2d9cd321d50318450426d6c59"><code>1e8a3b7</code></a> Merge pull request <a href="https://redirect.github.com/thebuilder/react-intersection-observer/issues/731">#731</a> from thebuilder/copilot/fix-730</li> <li><a href="https://github.com/thebuilder/react-intersection-observer/commit/23367ccf87c7ddb78d644ace2d7a4376f31c500e"><code>23367cc</code></a> Remove package-lock.json and add to .gitignore</li> <li><a href="https://github.com/thebuilder/react-intersection-observer/commit/7e1c31456131bac8eb646d68f8fb440287aa7638"><code>7e1c314</code></a> Remove bundlephobia badge from README</li> <li><a href="https://github.com/thebuilder/react-intersection-observer/commit/d8e9130e21126a2593e839dc2d3e91c028e09c4b"><code>d8e9130</code></a> Initial analysis and planning for bundlephobia badge removal</li> <li><a href="https://github.com/thebuilder/react-intersection-observer/commit/ed5893843eaf9de605235e517649e4065fcb7838"><code>ed58938</code></a> Initial plan</li> <li><a href="https://github.com/thebuilder/react-intersection-observer/commit/09beee936aa4a089f81b25ed17504aaa53df2a47"><code>09beee9</code></a> Merge pull request <a href="https://redirect.github.com/thebuilder/react-intersection-observer/issues/728">#728</a> from Akshay-Vs/main</li> <li><a href="https://github.com/thebuilder/react-intersection-observer/commit/7a8215b31951cbb28c26210fbd59ab0075923969"><code>7a8215b</code></a> docs: fix minor grammar issue in docs intro</li> <li>Additional commits viewable in <a href="https://github.com/thebuilder/react-intersection-observer/compare/v9.16.0...v10.0.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 merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@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]
