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

stack-sites

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stack-sites - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

2

package.json
{
"name": "stack-sites",
"description": "Returns current stack as call sites",
"version": "1.0.0",
"version": "1.1.0",
"author": "Gleb Bahmutov <gleb.bahmutov@gmail.com>",

@@ -6,0 +6,0 @@ "bugs": "https://github.com/bahmutov/stack-sites/issues",

@@ -25,4 +25,6 @@ # stack-sites

const caller = sites[2]
console.log('I got called from %s line %d column %d',
caller.filename, caller.line, caller.column
console.log('I got called from %s in %s line %d column %d',
caller.functionName,
caller.filename,
caller.line, caller.column
)

@@ -29,0 +31,0 @@ }

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