Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@sentry/apm

Package Overview
Dependencies
Maintainers
12
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sentry/apm - npm Package Compare versions

Comparing version 5.11.0 to 5.11.1

dist/index.bundle.d.ts

2

dist/integrations/tracing.js

@@ -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

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