New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

longjohn

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

longjohn - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

42

dist/longjohn.js
(function() {
var ERROR_ID, EventEmitter, call_stack_location, create_callsite, current_trace_error, filename, format_location, format_method, in_prepare, limit_frames, prepareStackTrace, wrap_callback, _addListener, _nextTick, _on, _once, _removeListener, _setInterval, _setTimeout;
var ERROR_ID, EventEmitter, call_stack_location, create_callsite, current_trace_error, filename, format_location, format_method, in_prepare, limit_frames, prepareStackTrace, wrap_callback, __nextDomainTick, _addListener, _listeners, _nextTick, _on, _once, _removeListener, _setImmediate, _setInterval, _setTimeout;

@@ -198,2 +198,4 @@ EventEmitter = require('events').EventEmitter;

_listeners = EventEmitter.prototype.listeners;
EventEmitter.prototype.addListener = function(event, callback) {

@@ -253,2 +255,17 @@ var args;

EventEmitter.prototype.listeners = function(event) {
var l, listeners, unwrapped, _i, _len;
listeners = _listeners.call(this, event);
unwrapped = [];
for (_i = 0, _len = listeners.length; _i < _len; _i++) {
l = listeners[_i];
if (l.__original_callback__) {
unwrapped.push(l.__original_callback__);
} else {
unwrapped.push(l);
}
}
return unwrapped;
};
_nextTick = process.nextTick;

@@ -263,2 +280,11 @@

__nextDomainTick = process._nextDomainTick;
process._nextDomainTick = function(callback) {
var args;
args = Array.prototype.slice.call(arguments);
args[0] = wrap_callback(callback, 'process.nextDomainTick');
return __nextDomainTick.apply(this, args);
};
_setTimeout = global.setTimeout;

@@ -271,3 +297,3 @@

args = Array.prototype.slice.call(arguments);
args[0] = wrap_callback(callback, 'process.nextTick');
args[0] = wrap_callback(callback, 'global.setTimeout');
return _setTimeout.apply(this, args);

@@ -279,8 +305,18 @@ };

args = Array.prototype.slice.call(arguments);
args[0] = wrap_callback(callback, 'process.nextTick');
args[0] = wrap_callback(callback, 'global.setInterval');
return _setInterval.apply(this, args);
};
if (global.setImmediate != null) {
_setImmediate = global.setImmediate;
global.setImmediate = function(callback) {
var args;
args = Array.prototype.slice.call(arguments);
args[0] = wrap_callback(callback, 'global.setImmediate');
return _setImmediate.apply(this, args);
};
}
Error.prepareStackTrace = prepareStackTrace;
}).call(this);

2

package.json
{
"name": "longjohn",
"description": "Long stack traces for node.js inspired by https://github.com/tlrobinson/long-stack-traces",
"version": "0.2.0",
"version": "0.2.1",
"homepage": "https://github.com/mattinsler/longjohn",

@@ -6,0 +6,0 @@ "author": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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