@sentry/node
Advanced tools
Comparing version 5.14.2 to 5.15.0
@@ -115,15 +115,10 @@ Object.defineProperty(exports, "__esModule", { value: true }); | ||
case 'data': | ||
if (method === 'GET' || method === 'HEAD') { | ||
break; | ||
} | ||
// body data: | ||
// node, express, koa: req.body | ||
var data = req.body; | ||
if (method === 'GET' || method === 'HEAD') { | ||
if (typeof data === 'undefined') { | ||
data = '<unavailable>'; | ||
} | ||
if (req.body !== undefined) { | ||
request.data = utils_1.isString(req.body) ? req.body : JSON.stringify(utils_1.normalize(req.body)); | ||
} | ||
if (data && !utils_1.isString(data)) { | ||
// Make sure the request body is a string | ||
data = JSON.stringify(utils_1.normalize(data)); | ||
} | ||
request.data = data; | ||
break; | ||
@@ -130,0 +125,0 @@ default: |
@@ -60,3 +60,3 @@ Object.defineProperty(exports, "__esModule", { value: true }); | ||
span = core_1.getCurrentHub().startSpan({ | ||
description: (typeof options === 'string' || !options.method ? 'GET' : options.method) + "|" + requestUrl, | ||
description: (typeof options === 'string' || !options.method ? 'GET' : options.method) + " " + requestUrl, | ||
op: 'request', | ||
@@ -63,0 +63,0 @@ }); |
export declare const SDK_NAME = "sentry.javascript.node"; | ||
export declare const SDK_VERSION = "5.14.2"; | ||
export declare const SDK_VERSION = "5.15.0"; | ||
//# sourceMappingURL=version.d.ts.map |
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.SDK_NAME = 'sentry.javascript.node'; | ||
exports.SDK_VERSION = '5.14.2'; | ||
exports.SDK_VERSION = '5.15.0'; | ||
//# sourceMappingURL=version.js.map |
@@ -113,15 +113,10 @@ import * as tslib_1 from "tslib"; | ||
case 'data': | ||
if (method === 'GET' || method === 'HEAD') { | ||
break; | ||
} | ||
// body data: | ||
// node, express, koa: req.body | ||
var data = req.body; | ||
if (method === 'GET' || method === 'HEAD') { | ||
if (typeof data === 'undefined') { | ||
data = '<unavailable>'; | ||
} | ||
if (req.body !== undefined) { | ||
request.data = isString(req.body) ? req.body : JSON.stringify(normalize(req.body)); | ||
} | ||
if (data && !isString(data)) { | ||
// Make sure the request body is a string | ||
data = JSON.stringify(normalize(data)); | ||
} | ||
request.data = data; | ||
break; | ||
@@ -128,0 +123,0 @@ default: |
@@ -59,3 +59,3 @@ import { getCurrentHub } from '@sentry/core'; | ||
span = getCurrentHub().startSpan({ | ||
description: (typeof options === 'string' || !options.method ? 'GET' : options.method) + "|" + requestUrl, | ||
description: (typeof options === 'string' || !options.method ? 'GET' : options.method) + " " + requestUrl, | ||
op: 'request', | ||
@@ -62,0 +62,0 @@ }); |
export declare const SDK_NAME = "sentry.javascript.node"; | ||
export declare const SDK_VERSION = "5.14.2"; | ||
export declare const SDK_VERSION = "5.15.0"; | ||
//# sourceMappingURL=version.d.ts.map |
export var SDK_NAME = 'sentry.javascript.node'; | ||
export var SDK_VERSION = '5.14.2'; | ||
export var SDK_VERSION = '5.15.0'; | ||
//# sourceMappingURL=version.js.map |
{ | ||
"name": "@sentry/node", | ||
"version": "5.14.2", | ||
"version": "5.15.0", | ||
"description": "Offical Sentry SDK for Node.js", | ||
@@ -19,7 +19,7 @@ "repository": "git://github.com/getsentry/sentry-javascript.git", | ||
"dependencies": { | ||
"@sentry/apm": "5.14.2", | ||
"@sentry/core": "5.14.2", | ||
"@sentry/hub": "5.14.2", | ||
"@sentry/types": "5.14.2", | ||
"@sentry/utils": "5.14.2", | ||
"@sentry/apm": "5.15.0", | ||
"@sentry/core": "5.15.0", | ||
"@sentry/hub": "5.15.0", | ||
"@sentry/types": "5.15.0", | ||
"@sentry/utils": "5.15.0", | ||
"cookie": "^0.3.1", | ||
@@ -26,0 +26,0 @@ "https-proxy-agent": "^4.0.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
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
397015
4383
+ Added@sentry/apm@5.15.0(transitive)
+ Added@sentry/browser@5.15.0(transitive)
+ Added@sentry/core@5.15.0(transitive)
+ Added@sentry/hub@5.15.0(transitive)
+ Added@sentry/minimal@5.15.0(transitive)
+ Added@sentry/types@5.15.0(transitive)
+ Added@sentry/utils@5.15.0(transitive)
- Removed@sentry/apm@5.14.2(transitive)
- Removed@sentry/browser@5.14.2(transitive)
- Removed@sentry/core@5.14.2(transitive)
- Removed@sentry/hub@5.14.2(transitive)
- Removed@sentry/minimal@5.14.2(transitive)
- Removed@sentry/types@5.14.2(transitive)
- Removed@sentry/utils@5.14.2(transitive)
Updated@sentry/apm@5.15.0
Updated@sentry/core@5.15.0
Updated@sentry/hub@5.15.0
Updated@sentry/types@5.15.0
Updated@sentry/utils@5.15.0