@sentry/node
Advanced tools
Comparing version 4.0.0-beta.11 to 4.0.0-beta.12
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9
154885
10
56
+ Added@sentry/core@4.0.0-beta.12(transitive)
+ Added@sentry/hub@4.0.0-beta.12(transitive)
+ Added@sentry/minimal@4.0.0-beta.12(transitive)
+ Added@sentry/types@4.0.0-beta.12(transitive)
+ Added@sentry/utils@4.0.0-beta.12(transitive)
- Removed@types/cookie@0.3.1
- Removed@types/md5@2.1.32
- Removed@types/stack-trace@0.0.29
- Removed@sentry/core@4.0.0-beta.11(transitive)
- Removed@sentry/hub@4.0.0-beta.11(transitive)
- Removed@sentry/minimal@4.0.0-beta.11(transitive)
- Removed@sentry/types@4.0.0-beta.11(transitive)
- Removed@sentry/utils@4.0.0-beta.11(transitive)
- Removed@types/cookie@0.3.1(transitive)
- Removed@types/md5@2.1.32(transitive)
- Removed@types/node@22.9.0(transitive)
- Removed@types/stack-trace@0.0.29(transitive)
- Removedundici-types@6.19.8(transitive)
Updated@sentry/core@4.0.0-beta.12
Updated@sentry/hub@4.0.0-beta.12
Updated@sentry/types@4.0.0-beta.12
Updated@sentry/utils@4.0.0-beta.12