🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

@sentry/node

Package Overview
Dependencies
Maintainers
8
Versions
613
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

to
4.0.0-beta.12

2

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

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

"dependencies": {
"@sentry/core": "4.0.0-beta.11",
"@sentry/hub": "4.0.0-beta.11",
"@sentry/minimal": "4.0.0-beta.11",
"@sentry/types": "4.0.0-beta.11",
"@sentry/utils": "4.0.0-beta.11",
"@types/cookie": "0.3.1",
"@types/md5": "2.1.32",
"@types/stack-trace": "0.0.29",
"@sentry/core": "4.0.0-beta.12",
"@sentry/hub": "4.0.0-beta.12",
"@sentry/minimal": "4.0.0-beta.12",
"@sentry/types": "4.0.0-beta.12",
"@sentry/utils": "4.0.0-beta.12",
"cookie": "0.3.1",

@@ -33,2 +30,5 @@ "lsmod": "1.0.0",

"devDependencies": {
"@types/cookie": "0.3.1",
"@types/md5": "2.1.32",
"@types/stack-trace": "0.0.29",
"jest": "^22.4.3",

@@ -35,0 +35,0 @@ "npm-run-all": "^4.1.2",

@@ -8,3 +8,3 @@ <p align="center">

# Official Sentry SDK for NodeJS (Preview)
# Official Sentry SDK for NodeJS (BETA)

@@ -15,13 +15,6 @@ [![npm version](https://img.shields.io/npm/v/@sentry/node.svg)](https://www.npmjs.com/package/@sentry/node)

**WARNING:** This SDK is part of an early access preview for the
[next generation](https://github.com/getsentry/raven-js/tree/master/packages#readme)
of Sentry JavaScript SDKs. Public interfaces might change and break backwards
compatibility from time to time. We absolutely recommend
[raven](https://github.com/getsentry/raven-node) in production!
## Usage
To use this SDK, call `init(options)` as early as possible in the main entry
module. This will initialize the SDK and hook into the environment. Note that
you can turn off almost all side effects using the respective options.
To use this SDK, call `init(options)` as early as possible in the main entry module. This will initialize the SDK and
hook into the environment. Note that you can turn off almost all side effects using the respective options.

@@ -37,5 +30,4 @@ ```javascript

To set context information or send manual events, use the exported functions of
`@sentry/node`. Note that these functions will not perform any action before you
have called `init()`:
To set context information or send manual events, use the exported functions of `@sentry/node`. Note that these
functions will not perform any action before you have called `init()`:

@@ -67,18 +59,1 @@ ```javascript

```
## Advanced Usage
If you don't want to use a global static instance of Sentry, you can create one
yourself:
```javascript
const { NodeClient } = require('@sentry/node');
const client = new NodeClient({
dsn: '__DSN__',
// ...
});
client.install();
// ...
```

Sorry, the diff of this file is not supported yet