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

@everymundo/linenumber

Package Overview
Dependencies
Maintainers
23
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@everymundo/linenumber - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

3

index.js

@@ -7,3 +7,4 @@ function linenumber() {

secndI = (stack + '\n').indexOf('\n', firstI + 1),
firstMatch = stack.substring(firstI, secndI).match(/\s+\(?(\/([^:]+):\d+)/);
line = stack.substring(firstI, secndI),
firstMatch = line.match(/\s+\(?((?:\/|\w:)([^:]+):\d+)/);

@@ -10,0 +11,0 @@ return firstMatch[1].split(':').pop();

{
"name": "@everymundo/linenumber",
"version": "1.0.0",
"version": "1.0.1",
"description": "This is a debugging and testing helper tool that returns the line number in which the function was invoked",

@@ -5,0 +5,0 @@ "main": "index.js",

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