unstale

npm / scroll-into-view-if-needed

scroll-into-view-if-needed

What changed in scroll-into-view-if-needed 3, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.

2 breaking3 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

scroll-into-view-if-needed 35 changes

Breaking changes 2

  • Node.js 26 or later is required to run the package.

    3.2.0release notes

  • UMD builds are dropped; ESM is the baseline and the package ships more modern syntax.

    3.0.0release notes

Fixes and other changes 3

  • Removes the Node.js version requirement, which had unintentionally broken consumers on older Node.js versions.

    3.2.1release notes

  • Published bundles are compiled to ES2019 syntax again, avoiding optional chaining and nullish coalescing that broke Webpack 4 and other older toolchains.

    3.2.1release notes

  • The package now supports Node ESM.

    3.0.0release notes