@sentry/node
Advanced tools
Comparing version 5.16.0 to 5.16.1
@@ -8,2 +8,3 @@ Object.defineProperty(exports, "__esModule", { value: true }); | ||
var url = require("url"); | ||
var version_1 = require("../version"); | ||
/** Base Transport class implementation */ | ||
@@ -22,6 +23,7 @@ var BaseTransport = /** @class */ (function () { | ||
BaseTransport.prototype._getRequestOptions = function (uri) { | ||
var headers = tslib_1.__assign({}, this.options.headers); | ||
var hostname = uri.hostname, pathname = uri.pathname, port = uri.port, protocol = uri.protocol, search = uri.search; | ||
var headers = tslib_1.__assign({}, this._api.getRequestHeaders(version_1.SDK_NAME, version_1.SDK_VERSION), this.options.headers); | ||
var hostname = uri.hostname, pathname = uri.pathname, port = uri.port, protocol = uri.protocol; | ||
// See https://github.com/nodejs/node/blob/38146e717fed2fabe3aacb6540d839475e0ce1c6/lib/internal/url.js#L1268-L1290 | ||
var path = "" + pathname + search; | ||
// We ignore the query string on purpose | ||
var path = "" + pathname; | ||
return tslib_1.__assign({ agent: this.client, headers: headers, | ||
@@ -28,0 +30,0 @@ hostname: hostname, method: 'POST', path: path, |
export declare const SDK_NAME = "sentry.javascript.node"; | ||
export declare const SDK_VERSION = "5.16.0"; | ||
export declare const SDK_VERSION = "5.16.1"; | ||
//# sourceMappingURL=version.d.ts.map |
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.SDK_NAME = 'sentry.javascript.node'; | ||
exports.SDK_VERSION = '5.16.0'; | ||
exports.SDK_VERSION = '5.16.1'; | ||
//# sourceMappingURL=version.js.map |
@@ -7,2 +7,3 @@ import * as tslib_1 from "tslib"; | ||
import * as url from 'url'; | ||
import { SDK_NAME, SDK_VERSION } from '../version'; | ||
/** Base Transport class implementation */ | ||
@@ -21,6 +22,7 @@ var BaseTransport = /** @class */ (function () { | ||
BaseTransport.prototype._getRequestOptions = function (uri) { | ||
var headers = tslib_1.__assign({}, this.options.headers); | ||
var hostname = uri.hostname, pathname = uri.pathname, port = uri.port, protocol = uri.protocol, search = uri.search; | ||
var headers = tslib_1.__assign({}, this._api.getRequestHeaders(SDK_NAME, SDK_VERSION), this.options.headers); | ||
var hostname = uri.hostname, pathname = uri.pathname, port = uri.port, protocol = uri.protocol; | ||
// See https://github.com/nodejs/node/blob/38146e717fed2fabe3aacb6540d839475e0ce1c6/lib/internal/url.js#L1268-L1290 | ||
var path = "" + pathname + search; | ||
// We ignore the query string on purpose | ||
var path = "" + pathname; | ||
return tslib_1.__assign({ agent: this.client, headers: headers, | ||
@@ -27,0 +29,0 @@ hostname: hostname, method: 'POST', path: path, |
export declare const SDK_NAME = "sentry.javascript.node"; | ||
export declare const SDK_VERSION = "5.16.0"; | ||
export declare const SDK_VERSION = "5.16.1"; | ||
//# sourceMappingURL=version.d.ts.map |
export var SDK_NAME = 'sentry.javascript.node'; | ||
export var SDK_VERSION = '5.16.0'; | ||
export var SDK_VERSION = '5.16.1'; | ||
//# sourceMappingURL=version.js.map |
{ | ||
"name": "@sentry/node", | ||
"version": "5.16.0", | ||
"version": "5.16.1", | ||
"description": "Offical Sentry SDK for Node.js", | ||
@@ -19,7 +19,7 @@ "repository": "git://github.com/getsentry/sentry-javascript.git", | ||
"dependencies": { | ||
"@sentry/apm": "5.16.0", | ||
"@sentry/core": "5.16.0", | ||
"@sentry/hub": "5.16.0", | ||
"@sentry/types": "5.16.0", | ||
"@sentry/utils": "5.16.0", | ||
"@sentry/apm": "5.16.1", | ||
"@sentry/core": "5.16.1", | ||
"@sentry/hub": "5.16.1", | ||
"@sentry/types": "5.16.1", | ||
"@sentry/utils": "5.16.1", | ||
"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
407335
4446
+ Added@sentry/apm@5.16.1(transitive)
+ Added@sentry/browser@5.16.1(transitive)
+ Added@sentry/core@5.16.1(transitive)
+ Added@sentry/hub@5.16.1(transitive)
+ Added@sentry/minimal@5.16.1(transitive)
+ Added@sentry/types@5.16.1(transitive)
+ Added@sentry/utils@5.16.1(transitive)
- Removed@sentry/apm@5.16.0(transitive)
- Removed@sentry/browser@5.16.0(transitive)
- Removed@sentry/core@5.16.0(transitive)
- Removed@sentry/hub@5.16.0(transitive)
- Removed@sentry/minimal@5.16.0(transitive)
- Removed@sentry/types@5.16.0(transitive)
- Removed@sentry/utils@5.16.0(transitive)
Updated@sentry/apm@5.16.1
Updated@sentry/core@5.16.1
Updated@sentry/hub@5.16.1
Updated@sentry/types@5.16.1
Updated@sentry/utils@5.16.1