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

callsites

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

callsites - npm Package Compare versions

Comparing version 1.0.1 to 2.0.0

10

index.js
'use strict';
module.exports = function () {
var _ = Error.prepareStackTrace;
Error.prepareStackTrace = function (_, stack) {
return stack;
};
var stack = new Error().stack.slice(1);
module.exports = () => {
const _ = Error.prepareStackTrace;
Error.prepareStackTrace = (_, stack) => stack;
const stack = new Error().stack.slice(1);
Error.prepareStackTrace = _;
return stack;
};

7

package.json
{
"name": "callsites",
"version": "1.0.1",
"version": "2.0.0",
"description": "Get callsites from the V8 stack trace API",

@@ -13,3 +13,3 @@ "license": "MIT",

"engines": {
"node": ">=0.10"
"node": ">=4"
},

@@ -37,3 +37,6 @@ "scripts": {

"xo": "*"
},
"xo": {
"esnext": true
}
}
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