Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

get-current-line

Package Overview
Dependencies
Maintainers
1
Versions
115
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

get-current-line - npm Package Versions

1
1012

5.2.0-next.1589359810.bc7a845a1c90bed0a9783b67d71ad885012689f1

Diff

bevryme
published 5.1.0 •

Changelog

Source

v5.1.0 2020 May 8

  • Add support for Regular Expressions for file and method offsets, to support such things as case insentitivity
bevryme
published 5.1.0-next.1588915495.22fbbb61a92b63ba893c264322b3d10915d74754 •

bevryme
published 5.0.0 •

Changelog

Source

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.

bevryme
published 5.0.0-next.1588915085.6932dd53f9475bf57202af9776b27444739814e7 •

bevryme
published 4.0.0 •

Changelog

Source

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

bevryme
published 4.0.0-next.1588911746.8d29f145b0115d6ab097f90f65279de94526b727 •

bevryme
published 3.1.0 •

Changelog

Source

v3.1.0 2020 May 4

bevryme
published 3.1.0-next.1588597757.31ab7564575632f7ff3c27904ee8a39092c99fa3 •

bevryme
published 3.0.0 •

Changelog

Source

v3.0.0 2020 March 26

  • Updated dependencies, base files, and editions using boundation
  • Minimum required node version changed from node: >=8 to node: >=10 to keep up with mandatory ecosystem changes
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc