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 0.4.0-beta.6 to 0.4.0-beta.7

2

dist/lib/backend.d.ts

@@ -23,2 +23,4 @@ import { Backend, Breadcrumb, Context, Frontend, Options, SentryEvent } from '@sentry/core';

} | boolean;
/** Callback that is executed when a fatal global error occurs. */
onFatalError?(error: Error): void;
}

@@ -25,0 +27,0 @@ /** The Sentry Node SDK Backend. */

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

var _this = this;
var dsn;
var dsn, onFatalError;
return __generator(this, function (_a) {

@@ -95,2 +95,6 @@ dsn = this.frontend.getDSN();

raven_1.Raven.config(dsn.toString(), this.frontend.getOptions()).install();
onFatalError = this.frontend.getOptions().onFatalError;
if (onFatalError) {
raven_1.Raven.onFatalError = onFatalError;
}
// Hook into Raven's breadcrumb mechanism. This allows us to intercept

@@ -97,0 +101,0 @@ // both breadcrumbs created internally by Raven and pass them to the

@@ -9,2 +9,3 @@ import { Breadcrumb, SentryEvent } from '@sentry/core';

config(dsn: string, options: object): RavenInternal;
onFatalError(error: Error): void;
install(): void;

@@ -11,0 +12,0 @@ send: SendMethod;

6

package.json
{
"name": "@sentry/node",
"version": "0.4.0-beta.6",
"version": "0.4.0-beta.7",
"description": "Offical Sentry SDK for Node.js",

@@ -17,4 +17,4 @@ "repository": "https://github.com/getsentry/raven-js",

"dependencies": {
"@sentry/core": "^0.4.0-beta.6",
"@sentry/utils": "^0.4.0-beta.6",
"@sentry/core": "^0.4.0-beta.7",
"@sentry/utils": "^0.4.0-beta.7",
"raven": "^2.4.2"

@@ -21,0 +21,0 @@ },

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