compute-scroll-into-view breaking changes
compute-scroll-into-view 4.0.0 (November 17, 2026) is its newest release with breaking changes, 14 of them. The first: Package ships ESM only; the CommonJS build is removed in compute-scroll-into-view 4.0.0. Every breaking API change we have recorded in compute-scroll-into-view on npm: 14 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 4.0.0, released November 17, 2026. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
compute-scroll-into-view 4.0.0 breaking changes
- Removed
Code that loads the package with require must use require(esm) on Node.js 20.19+ or 22.12+, or switch to ESM imports. github.com - Removed
Tooling that reads the declaration source map from the published package will no longer find it. github.com - Removed
Build tooling that relies on the source export condition or the source and typings fields must stop using them. github.com - Removed
Options.boundary
Use the boundary() middleware from compute-scroll-into-view/middleware instead. npmjs.com - Removed
Options.scrollMode
Use the onlyIfNeeded() middleware from compute-scroll-into-view/middleware instead. npmjs.com - Removed
Options.skipOverflowHiddenElements
Use the skipOverflowHiddenElements() middleware from compute-scroll-into-view/middleware instead. npmjs.com - Removed
ScrollMode
Code that imports or references the ScrollMode type must drop it and use middleware instead. npmjs.com - Renamed
typings
Use the types field in package.json instead of typings. github.com - Behavior changed
Scroll containers that an absolutely or fixed positioned target escapes are no longer scrolled, and fixed targets no longer scroll the viewport. github.com - Behavior changed
When the target is in a same-origin iframe, the parent document's scroll containers and viewport are also scrolled. github.com - Behavior changed
Code relying on the body not being scrolled will see it scroll when its overflow is set under a root with overflow hidden, auto or clip. github.com - Behavior changed
block
Alignment now uses the target's logical axes, so right-to-left and vertical targets align differently than before. github.com - Behavior changed
scrollMode
A target covered by scroll-padding is now considered not visible and is scrolled into view in if-needed mode. github.com - Signature changed
compute
Was const compute: (target: Element, options: Options) => ScrollAction[]; now const compute: (target: Element, options?: Options) => ScrollAction[]. npmjs.com
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.