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.8.3 to 0.8.4

34

index.js

@@ -368,20 +368,22 @@ 'use strict';

var worker = _cluster_fork.apply(this, arguments);
// we get an open handle for a pipe, but no reference to the
// worker itself, so we add one, as well as the call site info
if (worker && worker.process && worker.process._channel) {
Object.defineProperties(worker.process._channel, {
__callSite: {
enumerable: false,
configurable: false,
writable: false,
value: findCallsite(getStack())
},
__worker: {
enumerable: false,
configurable: false,
writable: false,
value: worker
}
});
if (worker && worker.process) {
var channel = worker.process.channel || worker.process._channel;
if (!channel.hasOwnProperty('__callSite')) {
Object.defineProperties(worker.process._channel, {
__callSite: {
enumerable: false,
configurable: false,
writable: false,
value: findCallsite(getStack())
},
__worker: {
enumerable: false,
configurable: false,
writable: false,
value: worker
}
});
}
}

@@ -388,0 +390,0 @@

{
"name": "wtfnode",
"version": "0.8.3",
"version": "0.8.4",
"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