Back to Explore

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

GitHub
1 watchersOpen source

Last release: 7/7/2023

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

  • The upstream repo appears maintained only intermittently, with the last observed upstream push on 2023-07-07 and the most recent tagged update (2.0.0) also dated 2023-07-07, suggesting no recent activity after that point.
  • Update cadence looks low and bursty, with updates at least in 2021 (1.1.1), 2023-01 (1.1.2), and 2023-07 (2.0.0), indicating there is no regular release rhythm.

AI summary generated Today

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

Recent updates

  • 2.0.0

    7/7/2023

    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

    1/20/2023

    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

    8/12/2021

    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