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

  • Maintenance status: Not actively maintained as of today, last upstream update was in 2023-07-07, so the repo appears quiet/dormant (no evidence of recent ongoing work).
  • Update cadence: Updates were in 2021 (1.0.0, 1.1.0, 1.1.1), then 2023 (1.1.2, 2.0.0), indicating a low cadence with a long gap from mid 2023 to today.

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.