Socket
Socket
Sign inDemoInstall

raven

Package Overview
Dependencies
Maintainers
10
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

raven - npm Package Compare versions

Comparing version 2.5.0 to 2.6.0

4

History.md
# Changelog
## 2.6.0 - 2018-04-24
- fix: Use shallow-copy instead of deep-copy when working with context to prevent too large memory usage and slowing down request resonses [See #452]
## 2.5.0 - 2018-04-09

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

10

lib/client.js

@@ -336,4 +336,3 @@ 'use strict';

} else {
// Do not use reference, as we'll modify this object later on
kwargs = kwargs ? JSON.parse(stringify(kwargs)) : {};
kwargs = utils.isPlainObject(kwargs) ? extend({}, kwargs) : {};
}

@@ -368,8 +367,3 @@

} else {
var req = kwargs && kwargs.req;
// Do not use reference, as we'll modify this object later on
kwargs = kwargs ? JSON.parse(stringify(kwargs)) : {};
// Preserve `req` so we can use some framework's middleware methods
// `req` is the only thing that we pass through in `errorHandler`, so we need just that
if (req) kwargs.req = req;
kwargs = utils.isPlainObject(kwargs) ? extend({}, kwargs) : {};
}

@@ -376,0 +370,0 @@

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

],
"version": "2.5.0",
"version": "2.6.0",
"repository": "git://github.com/getsentry/raven-node.git",

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

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