vfile / vfile-location

utility to convert between positional (line and column-based) and offset (range-based) locations
https://unifiedjs.com
MIT License
13 stars 2 forks source link

Return undefined when no point is found #11

Closed remcohaszing closed 1 year ago

remcohaszing commented 1 year ago

Initial checklist

Description of changes

toPoint now returns a valid unist Point or undefined. This means the internal Point type is no longer used. The PointLike type was already unused.

Closes #10

github-actions[bot] commented 1 year ago

Hi! This was closed. Team: If this was merged, please describe when this is likely to be released. Otherwise, please add one of the no/* labels.