@sentry/integrations
Advanced tools
Comparing version 5.29.2 to 5.30.0
@@ -243,6 +243,7 @@ (function (__window) { | ||
* @param name A name of method to be wrapped. | ||
* @param replacement A function that should be used to wrap a given method. | ||
* @param replacementFactory A function that should be used to wrap a given method, returning the wrapped method which | ||
* will be substituted in for `source[name]`. | ||
* @returns void | ||
*/ | ||
function fill(source, name, replacement) { | ||
function fill(source, name, replacementFactory) { | ||
if (!(name in source)) { | ||
@@ -252,3 +253,3 @@ return; | ||
var original = source[name]; | ||
var wrapped = replacement(original); | ||
var wrapped = replacementFactory(original); | ||
// Make sure it's a function first, as we need to attach an empty prototype for `defineProperties` to work | ||
@@ -255,0 +256,0 @@ // otherwise it'll throw "TypeError: Object.defineProperties called on non-object" |
@@ -354,6 +354,6 @@ (function (__window) { | ||
/** | ||
* Transforms any object into an object literal with all it's attributes | ||
* Transforms any object into an object literal with all its attributes | ||
* attached to it. | ||
* | ||
* @param value Initial source that we have to transform in order to be usable by the serializer | ||
* @param value Initial source that we have to transform in order for it to be usable by the serializer | ||
*/ | ||
@@ -360,0 +360,0 @@ function getWalkSource(value) { |
{ | ||
"name": "@sentry/integrations", | ||
"version": "5.29.2", | ||
"version": "5.30.0", | ||
"description": "Pluggable integrations that can be used to enhance JS SDKs", | ||
@@ -19,4 +19,4 @@ "repository": "git://github.com/getsentry/sentry-javascript.git", | ||
"dependencies": { | ||
"@sentry/types": "5.29.2", | ||
"@sentry/utils": "5.29.2", | ||
"@sentry/types": "5.30.0", | ||
"@sentry/utils": "5.30.0", | ||
"localforage": "1.8.1", | ||
@@ -26,3 +26,3 @@ "tslib": "^1.9.3" | ||
"devDependencies": { | ||
"@sentry-internal/eslint-config-sdk": "5.29.2", | ||
"@sentry-internal/eslint-config-sdk": "5.30.0", | ||
"chai": "^4.1.2", | ||
@@ -29,0 +29,0 @@ "eslint": "7.6.0", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
1978471
10757
+ Added@sentry/types@5.30.0(transitive)
+ Added@sentry/utils@5.30.0(transitive)
- Removed@sentry/types@5.29.2(transitive)
- Removed@sentry/utils@5.29.2(transitive)
Updated@sentry/types@5.30.0
Updated@sentry/utils@5.30.0