@airbrake/node
Advanced tools
Comparing version 1.1.0-beta.0 to 1.1.0-beta.1
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var version_1 = require("../version"); | ||
var os = require('os'); | ||
function nodeFilter(notice) { | ||
if (notice.context.notifier) { | ||
notice.context.notifier.name = 'airbrake-js/node'; | ||
notice.context.notifier.name = version_1.NOTIFIER_NAME; | ||
notice.context.notifier.version = version_1.NOTIFIER_VERSION; | ||
notice.context.notifier.url = version_1.NOTIFIER_URL; | ||
} | ||
@@ -8,0 +11,0 @@ notice.context.os = os.type() + "/" + os.release(); |
@@ -0,5 +1,8 @@ | ||
import { NOTIFIER_NAME, NOTIFIER_VERSION, NOTIFIER_URL } from '../version'; | ||
var os = require('os'); | ||
export function nodeFilter(notice) { | ||
if (notice.context.notifier) { | ||
notice.context.notifier.name = 'airbrake-js/node'; | ||
notice.context.notifier.name = NOTIFIER_NAME; | ||
notice.context.notifier.version = NOTIFIER_VERSION; | ||
notice.context.notifier.url = NOTIFIER_URL; | ||
} | ||
@@ -6,0 +9,0 @@ notice.context.os = os.type() + "/" + os.release(); |
{ | ||
"name": "@airbrake/node", | ||
"version": "1.1.0-beta.0", | ||
"version": "1.1.0-beta.1", | ||
"description": "Official Airbrake notifier for Node.js", | ||
@@ -20,3 +20,3 @@ "author": "Airbrake", | ||
"dependencies": { | ||
"@airbrake/browser": "^1.1.0-beta.0", | ||
"@airbrake/browser": "^1.1.0-beta.1", | ||
"cross-fetch": "^3.0.4", | ||
@@ -23,0 +23,0 @@ "error-stack-parser": "^2.0.4", |
Sorry, the diff of this file is not supported yet
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
92432
81
1319
+ Added@types/node@22.10.1(transitive)
- Removed@types/node@22.10.0(transitive)