Socket
Socket
Sign inDemoInstall

@sentry/hub

Package Overview
Dependencies
Maintainers
8
Versions
430
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sentry/hub - npm Package Compare versions

Comparing version 4.4.1 to 4.4.2

14

dist/scope.js

@@ -106,3 +106,3 @@ "use strict";

Scope.prototype.setUser = function (user) {
this.user = user;
this.user = object_1.safeNormalize(user);
this.notifyScopeListeners();

@@ -117,3 +117,3 @@ return this;

var _a;
this.tags = tslib_1.__assign({}, this.tags, (_a = {}, _a[key] = value, _a));
this.tags = tslib_1.__assign({}, this.tags, (_a = {}, _a[key] = object_1.safeNormalize(value), _a));
this.notifyScopeListeners();

@@ -128,3 +128,3 @@ return this;

var _a;
this.extra = tslib_1.__assign({}, this.extra, (_a = {}, _a[key] = extra, _a));
this.extra = tslib_1.__assign({}, this.extra, (_a = {}, _a[key] = object_1.safeNormalize(extra), _a));
this.notifyScopeListeners();

@@ -138,3 +138,3 @@ return this;

Scope.prototype.setFingerprint = function (fingerprint) {
this.fingerprint = fingerprint;
this.fingerprint = object_1.safeNormalize(fingerprint);
this.notifyScopeListeners();

@@ -148,3 +148,3 @@ return this;

Scope.prototype.setLevel = function (level) {
this.level = level;
this.level = object_1.safeNormalize(level);
this.notifyScopeListeners();

@@ -188,4 +188,4 @@ return this;

maxBreadcrumbs !== undefined && maxBreadcrumbs >= 0
? tslib_1.__spread(this.breadcrumbs, [breadcrumb]).slice(-maxBreadcrumbs)
: tslib_1.__spread(this.breadcrumbs, [breadcrumb]);
? tslib_1.__spread(this.breadcrumbs, [object_1.safeNormalize(breadcrumb)]).slice(-maxBreadcrumbs)
: tslib_1.__spread(this.breadcrumbs, [object_1.safeNormalize(breadcrumb)]);
this.notifyScopeListeners();

@@ -192,0 +192,0 @@ };

{
"name": "@sentry/hub",
"version": "4.4.1",
"version": "4.4.2",
"description": "Sentry hub which handles global state managment.",

@@ -18,4 +18,4 @@ "repository": "git://github.com/getsentry/raven-js.git",

"dependencies": {
"@sentry/types": "4.4.1",
"@sentry/utils": "4.4.1",
"@sentry/types": "4.4.2",
"@sentry/utils": "4.4.2",
"tslib": "^1.9.3"

@@ -22,0 +22,0 @@ },

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