@sentry/apm
Advanced tools
Comparing version 5.25.0-beta.2 to 5.25.0
@@ -360,3 +360,3 @@ Object.defineProperty(exports, "__esModule", { value: true }); | ||
Tracing._addPerformanceEntries = function (transactionSpan) { | ||
if (!global.performance || !global.performance.getEntries) { | ||
if (!global.performance || !global.performance.getEntries || !utils_1.browserPerformanceTimeOrigin) { | ||
// Gatekeeper if performance API not available | ||
@@ -375,3 +375,3 @@ return; | ||
} | ||
var timeOrigin = Tracing._msToSec(performance.timeOrigin); | ||
var timeOrigin = Tracing._msToSec(utils_1.browserPerformanceTimeOrigin); | ||
// eslint-disable-next-line jsdoc/require-jsdoc | ||
@@ -378,0 +378,0 @@ function addPerformanceNavigationTiming(parent, entry, event) { |
import { __assign, __read, __rest, __spread } from "tslib"; | ||
import { Severity } from '@sentry/types'; | ||
import { addInstrumentationHandler, getGlobalObject, isInstanceOf, isMatchingPattern, logger, safeJoin, supportsNativeFetch, timestampWithMs, } from '@sentry/utils'; | ||
import { addInstrumentationHandler, browserPerformanceTimeOrigin, getGlobalObject, isInstanceOf, isMatchingPattern, logger, safeJoin, supportsNativeFetch, timestampWithMs, } from '@sentry/utils'; | ||
import { Span as SpanClass } from '../span'; | ||
@@ -359,3 +359,3 @@ import { SpanStatus } from '../spanstatus'; | ||
Tracing._addPerformanceEntries = function (transactionSpan) { | ||
if (!global.performance || !global.performance.getEntries) { | ||
if (!global.performance || !global.performance.getEntries || !browserPerformanceTimeOrigin) { | ||
// Gatekeeper if performance API not available | ||
@@ -374,3 +374,3 @@ return; | ||
} | ||
var timeOrigin = Tracing._msToSec(performance.timeOrigin); | ||
var timeOrigin = Tracing._msToSec(browserPerformanceTimeOrigin); | ||
// eslint-disable-next-line jsdoc/require-jsdoc | ||
@@ -377,0 +377,0 @@ function addPerformanceNavigationTiming(parent, entry, event) { |
{ | ||
"name": "@sentry/apm", | ||
"version": "5.25.0-beta.2", | ||
"version": "5.25.0", | ||
"description": "Extensions for APM", | ||
@@ -19,11 +19,11 @@ "repository": "git://github.com/getsentry/sentry-javascript.git", | ||
"dependencies": { | ||
"@sentry/browser": "5.25.0-beta.2", | ||
"@sentry/hub": "5.25.0-beta.2", | ||
"@sentry/minimal": "5.25.0-beta.2", | ||
"@sentry/types": "5.25.0-beta.2", | ||
"@sentry/utils": "5.25.0-beta.2", | ||
"@sentry/browser": "5.25.0", | ||
"@sentry/hub": "5.25.0", | ||
"@sentry/minimal": "5.25.0", | ||
"@sentry/types": "5.25.0", | ||
"@sentry/utils": "5.25.0", | ||
"tslib": "^1.9.3" | ||
}, | ||
"devDependencies": { | ||
"@sentry-internal/eslint-config-sdk": "5.24.2", | ||
"@sentry-internal/eslint-config-sdk": "5.25.0", | ||
"@types/express": "^4.17.1", | ||
@@ -64,2 +64,5 @@ "eslint": "7.6.0", | ||
}, | ||
"volta": { | ||
"extends": "../../package.json" | ||
}, | ||
"jest": { | ||
@@ -66,0 +69,0 @@ "collectCoverage": true, |
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
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
400343
1
1
+ Added@sentry/browser@5.25.0(transitive)
+ Added@sentry/core@5.25.0(transitive)
+ Added@sentry/hub@5.25.0(transitive)
+ Added@sentry/minimal@5.25.0(transitive)
+ Added@sentry/types@5.25.0(transitive)
+ Added@sentry/utils@5.25.0(transitive)
- Removed@sentry/browser@5.25.0-beta.2(transitive)
- Removed@sentry/core@5.25.0-beta.2(transitive)
- Removed@sentry/hub@5.25.0-beta.2(transitive)
- Removed@sentry/minimal@5.25.0-beta.2(transitive)
- Removed@sentry/types@5.25.0-beta.2(transitive)
- Removed@sentry/utils@5.25.0-beta.2(transitive)
Updated@sentry/browser@5.25.0
Updated@sentry/hub@5.25.0
Updated@sentry/minimal@5.25.0
Updated@sentry/types@5.25.0
Updated@sentry/utils@5.25.0