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

wtfnode

Package Overview
Dependencies
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wtfnode - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

6

index.js

@@ -54,9 +54,9 @@ #!/usr/bin/env node

listener.__fullStack = stack;
if (stack[3].file === 'events.js') {
if (stack[3] && stack[3].file === 'events.js') {
listener.__callSite = stack[6]; // inline listener binding on net.connect
}
else if (/express\/lib\/application\.js$/.test(stack[4].file)) {
else if (stack[4] && /express\/lib\/application\.js$/.test(stack[4].file)) {
listener.__callSite = stack[5]; // express 4
}
else if (stack[3].file === 'http.js') {
else if (stack[3] && stack[3].file === 'http.js') {
listener.__callSite = stack[4]; // http.createServer(fn)

@@ -63,0 +63,0 @@ }

{
"name": "wtfnode",
"version": "0.2.0",
"version": "0.2.1",
"description": "Utility to help find out why Node isn't exiting",

@@ -5,0 +5,0 @@ "repository": {

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