get-current-line
Advanced tools
Changelog
v5.1.0 2020 May 8
file
and method
offsets, to support such things as case insentitivityChangelog
v5.0.0 2020 May 8
Breaking Change:
Offset intention is now compatible with v3 and below. That is, skipping will continue until:
1. The file or method is found
2. Once found, will continue until neither the file nor method are found anymore
3. Once exited, the frame offset will then apply
If you still wish to capture the method or the file, combine them with frames: -1
.
Changelog
v4.0.0 2020 May 8
Breaking Change:
Behaviour of the offset has changed, it now continues until the provided file (if any) or method (if any) is found, once found, it will then continue for the specified frames (if any).
This does not affect you if you never passed an offset, however if you did, you probably want to add frames: 1
so that it continues oen more stack frame to the probable caller, rather than just stopping at the frame of the found method or file.
The lines
offset parameter has been discarded and replaced by frames
, however you probably always want to use frames
with a file
or method
be sure to specify it.
The default offset properties now only apply if no properties were specified, rather than just if a particular property was empty.
Updated dependencies, base files, and editions using boundation
Changelog
v3.0.0 2020 March 26
node: >=8
to node: >=10
to keep up with mandatory ecosystem changes