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

@sentry/node

Package Overview
Dependencies
Maintainers
13
Versions
550
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.12.3 to 5.12.4

26

dist/handlers.d.ts

@@ -11,5 +11,14 @@ /// <reference types="node" />

/**
* Options deciding what parts of the request to use when enhancing an event
*/
interface ParseRequestOptions {
request?: boolean | string[];
serverName?: boolean;
transaction?: boolean | TransactionTypes;
user?: boolean | string[];
version?: boolean;
}
/**
* Enriches passed event with request data.
*
*
* @param event Will be mutated and enriched with req data

@@ -22,9 +31,3 @@ * @param req Request object

[key: string]: any;
}, options?: {
request?: boolean | string[];
serverName?: boolean;
transaction?: boolean | TransactionTypes;
user?: boolean | string[];
version?: boolean;
}): Event;
}, options?: ParseRequestOptions): Event;
/**

@@ -34,8 +37,3 @@ * Express compatible request handler.

*/
export declare function requestHandler(options?: {
request?: boolean;
serverName?: boolean;
transaction?: boolean | TransactionTypes;
user?: boolean | string[];
version?: boolean;
export declare function requestHandler(options?: ParseRequestOptions & {
flushTimeout?: number;

@@ -42,0 +40,0 @@ }): (req: http.IncomingMessage, res: http.ServerResponse, next: (error?: any) => void) => void;

@@ -159,3 +159,2 @@ Object.defineProperty(exports, "__esModule", { value: true });

*
*
* @param event Will be mutated and enriched with req data

@@ -162,0 +161,0 @@ * @param req Request object

export declare const SDK_NAME = "sentry.javascript.node";
export declare const SDK_VERSION = "5.12.3";
export declare const SDK_VERSION = "5.12.4";
//# sourceMappingURL=version.d.ts.map
Object.defineProperty(exports, "__esModule", { value: true });
exports.SDK_NAME = 'sentry.javascript.node';
exports.SDK_VERSION = '5.12.3';
exports.SDK_VERSION = '5.12.4';
//# sourceMappingURL=version.js.map

@@ -11,5 +11,14 @@ /// <reference types="node" />

/**
* Options deciding what parts of the request to use when enhancing an event
*/
interface ParseRequestOptions {
request?: boolean | string[];
serverName?: boolean;
transaction?: boolean | TransactionTypes;
user?: boolean | string[];
version?: boolean;
}
/**
* Enriches passed event with request data.
*
*
* @param event Will be mutated and enriched with req data

@@ -22,9 +31,3 @@ * @param req Request object

[key: string]: any;
}, options?: {
request?: boolean | string[];
serverName?: boolean;
transaction?: boolean | TransactionTypes;
user?: boolean | string[];
version?: boolean;
}): Event;
}, options?: ParseRequestOptions): Event;
/**

@@ -34,8 +37,3 @@ * Express compatible request handler.

*/
export declare function requestHandler(options?: {
request?: boolean;
serverName?: boolean;
transaction?: boolean | TransactionTypes;
user?: boolean | string[];
version?: boolean;
export declare function requestHandler(options?: ParseRequestOptions & {
flushTimeout?: number;

@@ -42,0 +40,0 @@ }): (req: http.IncomingMessage, res: http.ServerResponse, next: (error?: any) => void) => void;

@@ -157,3 +157,2 @@ import * as tslib_1 from "tslib";

*
*
* @param event Will be mutated and enriched with req data

@@ -160,0 +159,0 @@ * @param req Request object

export declare const SDK_NAME = "sentry.javascript.node";
export declare const SDK_VERSION = "5.12.3";
export declare const SDK_VERSION = "5.12.4";
//# sourceMappingURL=version.d.ts.map
export var SDK_NAME = 'sentry.javascript.node';
export var SDK_VERSION = '5.12.3';
export var SDK_VERSION = '5.12.4';
//# sourceMappingURL=version.js.map
{
"name": "@sentry/node",
"version": "5.12.3",
"version": "5.12.4",
"description": "Offical Sentry SDK for Node.js",

@@ -19,7 +19,7 @@ "repository": "git://github.com/getsentry/sentry-javascript.git",

"dependencies": {
"@sentry/apm": "5.12.3",
"@sentry/core": "5.12.0",
"@sentry/hub": "5.12.0",
"@sentry/types": "5.12.0",
"@sentry/utils": "5.12.0",
"@sentry/apm": "5.12.4",
"@sentry/core": "5.12.4",
"@sentry/hub": "5.12.4",
"@sentry/types": "5.12.4",
"@sentry/utils": "5.12.4",
"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