@sentry/node
Advanced tools
Comparing version 5.10.0 to 5.10.1
@@ -5,3 +5,2 @@ Object.defineProperty(exports, "__esModule", { value: true }); | ||
var http = require("http"); | ||
var HttpsProxyAgent = require("https-proxy-agent"); | ||
var base_1 = require("./base"); | ||
@@ -15,7 +14,6 @@ /** Node http module transport */ | ||
_this.options = options; | ||
var proxy = options.httpProxy || process.env.http_proxy; | ||
_this.module = http; | ||
var proxy = options.httpProxy || process.env.http_proxy; | ||
_this.client = proxy | ||
? // tslint:disable-next-line:no-unsafe-any | ||
new HttpsProxyAgent(proxy) | ||
? new (require('https-proxy-agent'))(proxy) // tslint:disable-line:no-unsafe-any | ||
: new http.Agent({ keepAlive: false, maxSockets: 30, timeout: 2000 }); | ||
@@ -22,0 +20,0 @@ return _this; |
@@ -5,3 +5,2 @@ Object.defineProperty(exports, "__esModule", { value: true }); | ||
var https = require("https"); | ||
var HttpsProxyAgent = require("https-proxy-agent"); | ||
var base_1 = require("./base"); | ||
@@ -15,7 +14,6 @@ /** Node https module transport */ | ||
_this.options = options; | ||
var proxy = options.httpsProxy || options.httpProxy || process.env.https_proxy || process.env.http_proxy; | ||
_this.module = https; | ||
var proxy = options.httpsProxy || options.httpProxy || process.env.https_proxy || process.env.http_proxy; | ||
_this.client = proxy | ||
? // tslint:disable-next-line:no-unsafe-any | ||
new HttpsProxyAgent(proxy) | ||
? new (require('https-proxy-agent'))(proxy) // tslint:disable-line:no-unsafe-any | ||
: new https.Agent({ keepAlive: false, maxSockets: 30, timeout: 2000 }); | ||
@@ -22,0 +20,0 @@ return _this; |
export declare const SDK_NAME = "sentry.javascript.node"; | ||
export declare const SDK_VERSION = "5.10.0"; | ||
export declare const SDK_VERSION = "5.10.1"; | ||
//# sourceMappingURL=version.d.ts.map |
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.SDK_NAME = 'sentry.javascript.node'; | ||
exports.SDK_VERSION = '5.10.0'; | ||
exports.SDK_VERSION = '5.10.1'; | ||
//# sourceMappingURL=version.js.map |
import * as tslib_1 from "tslib"; | ||
import { SentryError } from '@sentry/utils'; | ||
import * as http from 'http'; | ||
import * as HttpsProxyAgent from 'https-proxy-agent'; | ||
import { BaseTransport } from './base'; | ||
@@ -13,7 +12,6 @@ /** Node http module transport */ | ||
_this.options = options; | ||
var proxy = options.httpProxy || process.env.http_proxy; | ||
_this.module = http; | ||
var proxy = options.httpProxy || process.env.http_proxy; | ||
_this.client = proxy | ||
? // tslint:disable-next-line:no-unsafe-any | ||
new HttpsProxyAgent(proxy) | ||
? new (require('https-proxy-agent'))(proxy) // tslint:disable-line:no-unsafe-any | ||
: new http.Agent({ keepAlive: false, maxSockets: 30, timeout: 2000 }); | ||
@@ -20,0 +18,0 @@ return _this; |
import * as tslib_1 from "tslib"; | ||
import { SentryError } from '@sentry/utils'; | ||
import * as https from 'https'; | ||
import * as HttpsProxyAgent from 'https-proxy-agent'; | ||
import { BaseTransport } from './base'; | ||
@@ -13,7 +12,6 @@ /** Node https module transport */ | ||
_this.options = options; | ||
var proxy = options.httpsProxy || options.httpProxy || process.env.https_proxy || process.env.http_proxy; | ||
_this.module = https; | ||
var proxy = options.httpsProxy || options.httpProxy || process.env.https_proxy || process.env.http_proxy; | ||
_this.client = proxy | ||
? // tslint:disable-next-line:no-unsafe-any | ||
new HttpsProxyAgent(proxy) | ||
? new (require('https-proxy-agent'))(proxy) // tslint:disable-line:no-unsafe-any | ||
: new https.Agent({ keepAlive: false, maxSockets: 30, timeout: 2000 }); | ||
@@ -20,0 +18,0 @@ return _this; |
export declare const SDK_NAME = "sentry.javascript.node"; | ||
export declare const SDK_VERSION = "5.10.0"; | ||
export declare const SDK_VERSION = "5.10.1"; | ||
//# sourceMappingURL=version.d.ts.map |
export var SDK_NAME = 'sentry.javascript.node'; | ||
export var SDK_VERSION = '5.10.0'; | ||
export var SDK_VERSION = '5.10.1'; | ||
//# sourceMappingURL=version.js.map |
{ | ||
"name": "@sentry/node", | ||
"version": "5.10.0", | ||
"version": "5.10.1", | ||
"description": "Offical Sentry SDK for Node.js", | ||
@@ -19,7 +19,7 @@ "repository": "git://github.com/getsentry/sentry-javascript.git", | ||
"dependencies": { | ||
"@sentry/apm": "5.10.0", | ||
"@sentry/core": "5.10.0", | ||
"@sentry/hub": "5.10.0", | ||
"@sentry/apm": "5.10.1", | ||
"@sentry/core": "5.10.1", | ||
"@sentry/hub": "5.10.1", | ||
"@sentry/types": "5.10.0", | ||
"@sentry/utils": "5.10.0", | ||
"@sentry/utils": "5.10.1", | ||
"cookie": "^0.3.1", | ||
@@ -26,0 +26,0 @@ "https-proxy-agent": "^3.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
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
398761
4383
+ Added@sentry/apm@5.10.1(transitive)
+ Added@sentry/core@5.10.1(transitive)
+ Added@sentry/hub@5.10.1(transitive)
+ Added@sentry/minimal@5.10.1(transitive)
+ Added@sentry/utils@5.10.1(transitive)
- Removed@sentry/apm@5.10.0(transitive)
- Removed@sentry/core@5.10.0(transitive)
- Removed@sentry/hub@5.10.0(transitive)
- Removed@sentry/minimal@5.10.0(transitive)
- Removed@sentry/utils@5.10.0(transitive)
Updated@sentry/apm@5.10.1
Updated@sentry/core@5.10.1
Updated@sentry/hub@5.10.1
Updated@sentry/utils@5.10.1