New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@sentry/node

Package Overview
Dependencies
Maintainers
13
Versions
562
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sentry/node - npm Package Compare versions

Comparing version 5.16.0 to 5.16.1

8

dist/transports/base.js

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

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