From 15ee136921d9bc9866762fd53d40588dac7be622 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 13 Aug 2026 10:59:58 +0000 Subject: [PATCH] chore: bump react-infinite-scroll-component from 7.1.0 to 7.2.1 in /site (#28112) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [react-infinite-scroll-component](https://github.com/ankeetmaini/react-infinite-scroll-component) from 7.1.0 to 7.2.1.
Release notes

Sourced from react-infinite-scroll-component's releases.

v7.2.1 - Accessibility props

What's new

Accessibility props

You can now pass role, aria-label, aria-labelledby, tabIndex, id, and any aria-* attribute directly to the scroll container:

<InfiniteScroll
  role="list"
  aria-label="Search results"
  dataLength={items.length}
  next={fetchMore}
  hasMore={hasMore}
  loader={<p>Loading...</p>}
>
  {items.map(item => (
<div role="listitem"
key={item.id}>{item.name}</div>
  ))}
</InfiniteScroll>

Closes #411. Thanks to @​sayedrisat for the contribution!

Commits

v7.2.0 - useInfiniteScroll hook

What's new

useInfiniteScroll hook

A new named export for building fully custom infinite scroll UIs. The hook manages the IntersectionObserver lifecycle and exposes sentinelRef and isLoading — your markup, your styles, your loader.

import { useInfiniteScroll } from
'react-infinite-scroll-component';

const { sentinelRef, isLoading } = useInfiniteScroll({
next: fetchMore,
hasMore,
dataLength: items.length,
});

Attach sentinelRef to any element at the end of your list. isLoading is true from when next() fires until dataLength changes.

Accepts the same hasMore, dataLength, next, scrollThreshold, scrollableTarget, and inverse props as the InfiniteScroll component.

... (truncated)

Commits

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=react-infinite-scroll-component&package-manager=npm_and_yarn&previous-version=7.1.0&new-version=7.2.1)](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) ---
Dependabot commands and options
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 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)
Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- site/package.json | 2 +- site/pnpm-lock.yaml | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/site/package.json b/site/package.json index 5d282c924a..a6d645bc70 100644 --- a/site/package.json +++ b/site/package.json @@ -94,7 +94,7 @@ "react-confetti": "6.4.0", "react-day-picker": "9.14.0", "react-dom": "19.2.8", - "react-infinite-scroll-component": "7.1.0", + "react-infinite-scroll-component": "7.2.1", "react-markdown": "9.1.0", "react-query": "npm:@tanstack/react-query@5.82.0", "react-resizable-panels": "3.0.6", diff --git a/site/pnpm-lock.yaml b/site/pnpm-lock.yaml index c0d9e2f1ee..43fe93f716 100644 --- a/site/pnpm-lock.yaml +++ b/site/pnpm-lock.yaml @@ -204,8 +204,8 @@ importers: specifier: 19.2.8 version: 19.2.8(react@19.2.8) react-infinite-scroll-component: - specifier: 7.1.0 - version: 7.1.0(react-dom@19.2.8(react@19.2.8))(react@19.2.8) + specifier: 7.2.1 + version: 7.2.1(react-dom@19.2.8(react@19.2.8))(react@19.2.8) react-markdown: specifier: 9.1.0 version: 9.1.0(@types/react@19.2.18)(react@19.2.8) @@ -5258,12 +5258,12 @@ packages: react-fast-compare@2.0.4: resolution: {integrity: sha512-suNP+J1VU1MWFKcyt7RtjiSWUjvidmQSlqu+eHslq+342xCbGTYmC0mEhPCOHxlW0CywylOC1u2DFAT+bv4dBw==, tarball: https://registry.npmjs.org/react-fast-compare/-/react-fast-compare-2.0.4.tgz} - react-infinite-scroll-component@7.1.0: - resolution: {integrity: sha512-EPUMyOnpmJDqI1aoUi9uR/TSUfJCUN77ZkpzYSshGwrC2NTaH6p+rxaP/2DZJWygOZmZcAieZk4VciF8q9H/tw==, tarball: https://registry.npmjs.org/react-infinite-scroll-component/-/react-infinite-scroll-component-7.1.0.tgz} + react-infinite-scroll-component@7.2.1: + resolution: {integrity: sha512-yPuEf6VHBJXFt+YXDxjlnAuhorUwiA2cKURx/P6a7WW3k+TvwY/mbx7KP1rQ1hxGzDcwreczRyLIv6eSd1sFIw==, tarball: https://registry.npmjs.org/react-infinite-scroll-component/-/react-infinite-scroll-component-7.2.1.tgz} engines: {node: '>=20.0.0'} peerDependencies: - react: '>=17.0.0' - react-dom: '>=17.0.0' + react: '>=17' + react-dom: '>=17' react-inspector@6.0.2: resolution: {integrity: sha512-x+b7LxhmHXjHoU/VrFAzw5iutsILRoYyDq97EDYdFpPLcvqtEzk4ZSZSQjnFPbr5T57tLXnHcqFYoN1pI6u8uQ==, tarball: https://registry.npmjs.org/react-inspector/-/react-inspector-6.0.2.tgz} @@ -11734,7 +11734,7 @@ snapshots: react-fast-compare@2.0.4: {} - react-infinite-scroll-component@7.1.0(react-dom@19.2.8(react@19.2.8))(react@19.2.8): + react-infinite-scroll-component@7.2.1(react-dom@19.2.8(react@19.2.8))(react@19.2.8): dependencies: react: 19.2.8 react-dom: 19.2.8(react@19.2.8)