Socket
Socket
Sign inDemoInstall

@sentry/node

Package Overview
Dependencies
Maintainers
9
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.0-beta.0 to 4.0.0-beta.1

5

dist/backend.d.ts
import { Backend, Options } from '@sentry/core';
import { SentryEvent, SentryResponse } from '@sentry/types';
import { TransportOptions } from './transports';
/**

@@ -17,6 +16,2 @@ * Configuration options for the Sentry Node SDK.

onFatalError?(error: Error): void;
/**
* @inheritDoc
*/
transportOptions?: TransportOptions;
}

@@ -23,0 +18,0 @@ /** The Sentry Node SDK Backend. */

2

dist/client.js

@@ -36,3 +36,3 @@ "use strict";

name: 'sentry-node',
version: '0.5.4',
version: '4.0.0-beta.0',
};

@@ -39,0 +39,0 @@ };

/// <reference types="node" />
import { DSN } from '@sentry/core';
import { SentryEvent, SentryResponse, Transport, TransportOptions as BaseOptions } from '@sentry/types';
import { SentryEvent, SentryResponse, Transport, TransportOptions } from '@sentry/types';
import * as http from 'http';

@@ -10,9 +10,2 @@ import * as https from 'https';

}
/** Transport options */
export interface TransportOptions extends BaseOptions {
/** Options for http.agent default: { keepAlive: true, maxSockets: 100 } */
agentOptions?: http.AgentOptions;
/** Define custom headers */
headers?: http.IncomingHttpHeaders;
}
/** Base Transport class implementation */

@@ -19,0 +12,0 @@ export declare abstract class BaseTransport implements Transport {

@@ -48,3 +48,3 @@ "use strict";

var types_1 = require("@sentry/types");
var object_1 = require("@sentry/utils/src/object");
var object_1 = require("@sentry/utils/object");
var index_1 = require("../index");

@@ -51,0 +51,0 @@ /** Base Transport class implementation */

@@ -1,3 +0,3 @@

import { SentryEvent, SentryResponse } from '@sentry/types';
import { BaseTransport, TransportOptions } from './base';
import { SentryEvent, SentryResponse, TransportOptions } from '@sentry/types';
import { BaseTransport } from './base';
/** /** Node http module transport */

@@ -4,0 +4,0 @@ export declare class HTTPTransport extends BaseTransport {

@@ -57,5 +57,3 @@ "use strict";

_this.options = options;
_this.client = new http.Agent(_this.options.agentOptions
? _this.options.agentOptions
: { keepAlive: true, maxSockets: 100 });
_this.client = new http.Agent({ keepAlive: true, maxSockets: 100 });
return _this;

@@ -62,0 +60,0 @@ }

@@ -1,3 +0,3 @@

import { SentryEvent, SentryResponse } from '@sentry/types';
import { BaseTransport, TransportOptions } from './base';
import { SentryEvent, SentryResponse, TransportOptions } from '@sentry/types';
import { BaseTransport } from './base';
/** Node https module transport */

@@ -4,0 +4,0 @@ export declare class HTTPSTransport extends BaseTransport {

@@ -57,5 +57,3 @@ "use strict";

_this.options = options;
_this.client = new https.Agent(_this.options.agentOptions
? _this.options.agentOptions
: { keepAlive: true, maxSockets: 100 });
_this.client = new https.Agent({ keepAlive: true, maxSockets: 100 });
return _this;

@@ -62,0 +60,0 @@ }

@@ -1,3 +0,3 @@

export { BaseTransport, TransportOptions } from './base';
export { BaseTransport } from './base';
export { HTTPTransport } from './http';
export { HTTPSTransport } from './https';
{
"name": "@sentry/node",
"version": "4.0.0-beta.0",
"version": "4.0.0-beta.1",
"description": "Offical Sentry SDK for Node.js",

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

"dependencies": {
"@sentry/core": "4.0.0-beta.0",
"@sentry/hub": "4.0.0-beta.0",
"@sentry/minimal": "4.0.0-beta.0",
"@sentry/types": "4.0.0-beta.0",
"@sentry/utils": "4.0.0-beta.0",
"@sentry/core": "4.0.0-beta.1",
"@sentry/hub": "4.0.0-beta.1",
"@sentry/minimal": "4.0.0-beta.1",
"@sentry/types": "4.0.0-beta.1",
"@sentry/utils": "4.0.0-beta.1",
"raven": "^2.6.0"

@@ -67,3 +67,3 @@ },

},
"gitHead": "a91da22f8bd3bddb38fab7f868326e376da82d4d"
"gitHead": "20e74471f38babe61b28863c54bc315af71a1f40"
}

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