@sentry/hub
Advanced tools
Comparing version 4.2.1 to 4.2.2
@@ -332,3 +332,6 @@ "use strict"; | ||
try { | ||
var domain = require('domain'); | ||
// 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 | ||
// for example so we do not have to shim it and use `getCurrentHub` universally. | ||
var domain = misc_1.bundlerSafeRequire('domain'); | ||
var activeDomain = domain.active; | ||
@@ -335,0 +338,0 @@ // If there no active domain, just return global hub |
{ | ||
"name": "@sentry/hub", | ||
"version": "4.2.1", | ||
"version": "4.2.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.2.1", | ||
"@sentry/utils": "4.2.1" | ||
"@sentry/types": "4.2.2", | ||
"@sentry/utils": "4.2.2" | ||
}, | ||
@@ -22,0 +22,0 @@ "devDependencies": { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
75535
1033
+ Added@sentry/types@4.2.2(transitive)
+ Added@sentry/utils@4.2.2(transitive)
- Removed@sentry/types@4.2.1(transitive)
- Removed@sentry/utils@4.2.1(transitive)
Updated@sentry/types@4.2.2
Updated@sentry/utils@4.2.2