Back to Explore

syntax-tree/unist-util-position-from-estree

GitHub
1 watchersOpen source

Last release:

unist-util-position-from-estree is a small utility that creates a proper unist position (line, column, and offset) from an Estree node. It is useful when you need to run other unist utilities with code parsed into Estree nodes.

Project status

  • This source appears dormant or in maintenance mode, with the last upstream push and most recent recorded updates dating to 2023-07-07, which is over three years ago from today (2026-09-10).
  • The update cadence is low, with only four tagged updates across roughly 5.5 years (2021-02 to 2023-07), suggesting no active ongoing development.

AI summary generated

AI-generated from public sources. May be inaccurate. Report

Recent updates

  • 2.0.0

    Release 2.0.0 updates the package for a Node.js 16 baseline, adjusts publishing to use an exports map, and changes behavior so `positionFromEstree` can return `undefined` for invalid inputs. It also updates `@types/unist` (and related type tooling) to newer versions.

    Breaking
  • 1.1.2

    Release 1.1.2 is presented as a documentation and refactor-only release, along with a tsconfig update. The code diff shows a broader internal re-organization (moving the implementation into a new lib/ entry point) plus build/test/CI tooling updates and dependency bumps in devDependencies.

  • 1.1.1

    Release 1.1.1 is described as a small type adjustment to allow null in the relevant position-related types. The actual code change updates how missing position information is represented and adds some tooling/config and CI workflow changes that are not mentioned in the release notes.

    Breaking
  • 1.1.0

    Release 1.1.0 is primarily described as adding JSDoc based types. The diff shows that, beyond documentation, the package now generates and ships TypeScript declaration files and includes additional build and metadata changes, plus a subtle behavior change in offset handling.

    Features
  • 1.0.0

    Release 1.0.0 contains no actionable release notes beyond a placeholder emoji. No new features, fixes, security updates, or breaking changes are described, so developer impact cannot be determined from the provided text.