Socket
Socket
Sign inDemoInstall

raven

Package Overview
Dependencies
8
Maintainers
10
Versions
70
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.6.1 to 2.6.2

4

History.md
# Changelog
## 2.6.2 - 2018-05-17
- ref: Emit transaction instead of culprit (#458)
## 2.6.1 - 2018-05-10

@@ -4,0 +8,0 @@

10

lib/parsers.js

@@ -48,6 +48,8 @@ 'use strict';

for (var n = frames.length - 1; n >= 0; n--) {
if (frames[n].in_app) {
kwargs.culprit = kwargs.culprit || utils.getCulprit(frames[n]);
break;
if (!kwargs.transaction && !kwargs.culprit) {
for (var n = frames.length - 1; n >= 0; n--) {
if (frames[n].in_app) {
kwargs.transaction = utils.getTransaction(frames[n]);
break;
}
}

@@ -54,0 +56,0 @@ }

@@ -209,3 +209,3 @@ 'use strict';

module.exports.getCulprit = function getCulprit(frame) {
module.exports.getTransaction = function getTransaction(frame) {
if (frame.module || frame.function) {

@@ -212,0 +212,0 @@ return (frame.module || '?') + ' at ' + (frame.function || '?');

@@ -12,3 +12,3 @@ {

],
"version": "2.6.1",
"version": "2.6.2",
"repository": "git://github.com/getsentry/raven-node.git",

@@ -15,0 +15,0 @@ "license": "BSD-2-Clause",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc