@sentry/apm
Advanced tools
Comparing version 5.11.0 to 5.11.1
@@ -56,3 +56,3 @@ Object.defineProperty(exports, "__esModule", { value: true }); | ||
// tslint:disable-next-line: no-non-null-assertion | ||
if (this._options.traceFetch !== false) { | ||
if (this._options.traceFetch !== false && utils_1.supportsNativeFetch()) { | ||
utils_1.addInstrumentationHandler({ | ||
@@ -59,0 +59,0 @@ callback: fetchCallback, |
import * as tslib_1 from "tslib"; | ||
import { addInstrumentationHandler, getGlobalObject, isMatchingPattern, logger } from '@sentry/utils'; | ||
import { addInstrumentationHandler, getGlobalObject, isMatchingPattern, logger, supportsNativeFetch, } from '@sentry/utils'; | ||
var global = getGlobalObject(); | ||
@@ -55,3 +55,3 @@ /** | ||
// tslint:disable-next-line: no-non-null-assertion | ||
if (this._options.traceFetch !== false) { | ||
if (this._options.traceFetch !== false && supportsNativeFetch()) { | ||
addInstrumentationHandler({ | ||
@@ -58,0 +58,0 @@ callback: fetchCallback, |
{ | ||
"name": "@sentry/apm", | ||
"version": "5.11.0", | ||
"version": "5.11.1", | ||
"description": "Extensions for APM", | ||
@@ -19,6 +19,7 @@ "repository": "git://github.com/getsentry/sentry-javascript.git", | ||
"dependencies": { | ||
"@sentry/hub": "5.11.0", | ||
"@sentry/minimal": "5.11.0", | ||
"@sentry/browser": "5.11.1", | ||
"@sentry/hub": "5.11.1", | ||
"@sentry/minimal": "5.11.1", | ||
"@sentry/types": "5.11.0", | ||
"@sentry/utils": "5.11.0", | ||
"@sentry/utils": "5.11.1", | ||
"tslib": "^1.9.3" | ||
@@ -33,2 +34,8 @@ }, | ||
"rimraf": "^2.6.3", | ||
"rollup": "^1.10.1", | ||
"rollup-plugin-commonjs": "^9.3.4", | ||
"rollup-plugin-license": "^0.8.1", | ||
"rollup-plugin-node-resolve": "^4.2.3", | ||
"rollup-plugin-terser": "^4.0.4", | ||
"rollup-plugin-typescript2": "^0.21.0", | ||
"tslint": "^5.16.0", | ||
@@ -38,3 +45,5 @@ "typescript": "^3.4.5" | ||
"scripts": { | ||
"build": "run-p build:es5 build:esm", | ||
"build": "run-p build:es5 build:esm build:bundle", | ||
"build:bundle": "rollup --config", | ||
"build:bundle:watch": "rollup --config --watch", | ||
"build:es5": "tsc -p tsconfig.build.json", | ||
@@ -45,3 +54,3 @@ "build:esm": "tsc -p tsconfig.esm.json", | ||
"build:watch:esm": "tsc -p tsconfig.esm.json -w --preserveWatchOutput", | ||
"clean": "rimraf dist coverage", | ||
"clean": "rimraf dist coverage build esm", | ||
"link:yarn": "yarn link", | ||
@@ -48,0 +57,0 @@ "lint": "run-s lint:prettier lint:tslint", |
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
198550
58
2344
6
14
+ Added@sentry/browser@5.11.1
+ Added@sentry/browser@5.11.1(transitive)
+ Added@sentry/core@5.11.1(transitive)
+ Added@sentry/hub@5.11.1(transitive)
+ Added@sentry/minimal@5.11.1(transitive)
+ Added@sentry/utils@5.11.1(transitive)
- Removed@sentry/hub@5.11.0(transitive)
- Removed@sentry/minimal@5.11.0(transitive)
- Removed@sentry/utils@5.11.0(transitive)
Updated@sentry/hub@5.11.1
Updated@sentry/minimal@5.11.1
Updated@sentry/utils@5.11.1