Back to Explore

vfile/vfile-location

GitHub
1 watchersOpen source

Last release: 7/15/2024

vfile-location is a small utility for vfile that converts between positional locations in a text file (line and column) and offset-based locations (range-based index positions). It is useful when you need to search raw file content or report AST findings using line and column coordinates for users.

Project status

  • The source appears actively maintained, with a recent upstream push dated 2024-10-22, and a recent update that includes non-trivial code and type changes (5.0.3, 2024-07-15).
  • Apparent update cadence is moderate, with updates in mid-2023 (5.0.1 on 2023-06-15), follow-up in late 2023 (5.0.2 on 2023-08-22), and a further functional update in mid-2024 (5.0.3 on 2024-07-15).

AI summary generated Today

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

Recent updates

  • 5.0.3

    7/15/2024

    Release 5.0.3 focuses on a performance refactor (lazy indexing) and a fix for out of bounds columns handling. The code changes go beyond the release notes by also introducing new/changed TypeScript declarations and altering some runtime edge case behavior around invalid column values.

  • 5.0.2

    8/22/2023

    v5.0.2 contains a dependency and tooling update only, with no application logic changes shown in the diff. The package.json changes bump @types/unist, prettier, and xo, and adjust lint configuration and the prettier CLI flag.

  • 5.0.1

    6/15/2023

    Release 5.0.1 is described in the release notes as a types-only update related to `vfile`. The actual diff shows a broader set of changes, including dependency major version bumps and TypeScript configuration updates.