npm / unist-util-visit-parents
unist-util-visit-parents
What changed in unist-util-visit-parents 3 to 6, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-31.
5 breaking2 new APIs and options1 performance3 tooling1 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initunist-util-visit-parents 68 changes
Breaking changes 3
This declaration file was removed; use the main export instead.
The package now uses an export map; consumers should avoid private APIs.
Node.js 16 is now required to use the package.
New APIs and options 2
Support for exit visitors was added.
The index of a node in its parent is now available.
Performance 1
The performance of the InclusiveDescendant type was improved.
Tooling 1
TypeScript can now infer the type of parents.
Fixes and other changes 1
Fixes type support for readonly arrays.
unist-util-visit-parents 51 changes
Breaking changes 1
Types now base what visitor gets on tree; this is a breaking change for TypeScript users.
unist-util-visit-parents 42 changes
Breaking changes 1
The package uses ESM, affecting how developers import it.
Tooling 1
Types are added based on JSDoc, providing type information to developers.
unist-util-visit-parents 31 changes
Tooling 1
Typings were added; this may be breaking if you or your dependents use TypeScript.