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.2.2 to 4.2.3

6

dist/hub.js

@@ -332,6 +332,6 @@ "use strict";

try {
// We need to use `bundlerSafeRequire` because `require` on it's own will be optimized by webpack.
// We do not want this to happen, we need to try `require` the domain node module and fail if we are in browser
// We need to use `dynamicRequire` because `require` on it's own will be optimized by webpack.
// We do not want this to happen, we need to try to `require` the domain node module and fail if we are in browser
// for example so we do not have to shim it and use `getCurrentHub` universally.
var domain = misc_1.bundlerSafeRequire('domain');
var domain = misc_1.dynamicRequire(module, 'domain');
var activeDomain = domain.active;

@@ -338,0 +338,0 @@ // If there no active domain, just return global hub

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

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

"dependencies": {
"@sentry/types": "4.2.2",
"@sentry/utils": "4.2.2"
"@sentry/types": "4.2.3",
"@sentry/utils": "4.2.3"
},

@@ -22,0 +22,0 @@ "devDependencies": {

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