Socket
Socket
Sign inDemoInstall

@sentry/node

Package Overview
Dependencies
Maintainers
8
Versions
514
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 4.0.3 to 4.0.5

38

dist/client.js

@@ -15,2 +15,13 @@ "use strict";

})();
var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {

@@ -51,5 +62,26 @@ return new (P || (P = Promise))(function (resolve, reject) {

};
var __read = (this && this.__read) || function (o, n) {
var m = typeof Symbol === "function" && o[Symbol.iterator];
if (!m) return o;
var i = m.call(o), r, ar = [], e;
try {
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
}
catch (error) { e = { error: error }; }
finally {
try {
if (r && !r.done && (m = i["return"])) m.call(i);
}
finally { if (e) throw e.error; }
}
return ar;
};
var __spread = (this && this.__spread) || function () {
for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read(arguments[i]));
return ar;
};
Object.defineProperty(exports, "__esModule", { value: true });
var core_1 = require("@sentry/core");
var backend_1 = require("./backend");
var version_1 = require("./version");
/**

@@ -77,2 +109,8 @@ * The Sentry Node SDK Client.

event.platform = event.platform || 'node';
event.sdk = __assign({}, event.sdk, { name: version_1.SDK_NAME, packages: __spread(((event.sdk && event.sdk.packages) || []), [
{
name: 'npm:@sentry/node',
version: version_1.SDK_VERSION,
},
]), version: version_1.SDK_VERSION });
if (this.getOptions().serverName) {

@@ -79,0 +117,0 @@ event.server_name = this.getOptions().serverName;

4

dist/handlers.d.ts
/// <reference types="node" />
import * as http from 'http';
/** JSDoc */
export declare function requestHandler(): (req: http.ClientRequest, res: http.ServerResponse, next: () => void) => void;
export declare function requestHandler(): (req: http.IncomingMessage, res: http.ServerResponse, next: () => void) => void;
/** JSDoc */

@@ -15,3 +15,3 @@ interface MiddlewareError extends Error {

/** JSDoc */
export declare function errorHandler(): (error: MiddlewareError, req: http.ClientRequest, res: http.ServerResponse, next: (error: MiddlewareError) => void) => void;
export declare function errorHandler(): (error: MiddlewareError, req: http.IncomingMessage, res: http.ServerResponse, next: (error: MiddlewareError) => void) => void;
/** JSDoc */

@@ -18,0 +18,0 @@ export declare function defaultOnFatalError(error: Error): void;

import { Integrations as CoreIntegrations } from '@sentry/core';
import { NodeOptions } from './backend';
import { Console, Http, LinkedErrors, OnUncaughtException, OnUnhandledRejection } from './integrations';
export declare const defaultIntegrations: (CoreIntegrations.Dedupe | CoreIntegrations.FunctionToString | CoreIntegrations.SDKInformation | CoreIntegrations.InboundFilters | Console | Http | OnUncaughtException | OnUnhandledRejection | LinkedErrors)[];
export declare const defaultIntegrations: (CoreIntegrations.Dedupe | CoreIntegrations.FunctionToString | CoreIntegrations.InboundFilters | Console | Http | OnUncaughtException | OnUnhandledRejection | LinkedErrors)[];
/**

@@ -6,0 +6,0 @@ * The Sentry Node SDK Client.

@@ -6,3 +6,2 @@ "use strict";

var integrations_1 = require("./integrations");
var version_1 = require("./version");
exports.defaultIntegrations = [

@@ -13,7 +12,2 @@ // Common

new core_1.Integrations.FunctionToString(),
new core_1.Integrations.SDKInformation({
name: 'npm:@sentry/node',
sdkName: version_1.SDK_NAME,
sdkVersion: version_1.SDK_VERSION,
}),
// Native Wrappers

@@ -20,0 +14,0 @@ new integrations_1.Console(),

export declare const SDK_NAME = "sentry.javascript.node";
export declare const SDK_VERSION = "4.0.3";
export declare const SDK_VERSION = "4.0.5";
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.SDK_NAME = 'sentry.javascript.node';
exports.SDK_VERSION = '4.0.3';
exports.SDK_VERSION = '4.0.5';
//# sourceMappingURL=version.js.map
{
"name": "@sentry/node",
"version": "4.0.3",
"version": "4.0.5",
"description": "Offical Sentry SDK for Node.js",

@@ -18,6 +18,6 @@ "repository": "git://github.com/getsentry/raven-js.git",

"dependencies": {
"@sentry/core": "4.0.3",
"@sentry/hub": "4.0.1",
"@sentry/core": "4.0.5",
"@sentry/hub": "4.0.5",
"@sentry/types": "4.0.1",
"@sentry/utils": "4.0.1",
"@sentry/utils": "4.0.5",
"cookie": "0.3.1",

@@ -24,0 +24,0 @@ "lsmod": "1.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

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