@firstfleet/fferrorhandler
Advanced tools
+0
-0
@@ -0,0 +0,0 @@ |
+0
-0
@@ -0,0 +0,0 @@ /** |
+0
-0
@@ -0,0 +0,0 @@ import {HttpErrorOptions} from './types' |
+0
-0
@@ -0,0 +0,0 @@ const { createShortStack } = require("./stackparser"); |
+0
-0
| import {SlackChannelName} from './constants' | ||
| export function logAndNotify(appName: string, methodName: string, message: string, messageDetail: string, slackChannel?: SlackChannelName): void |
+0
-0
@@ -0,0 +0,0 @@ const logger = require('@firstfleet/fflogger'); |
+0
-0
@@ -0,0 +0,0 @@ const logger = require('@firstfleet/fflogger'); |
+0
-0
@@ -0,0 +0,0 @@ import {NonOperationalError, OperationalError, HttpError} from './errorTypes' |
+0
-0
@@ -0,0 +0,0 @@ const handlers = require("./handlers"); |
+5
-5
| { | ||
| "name": "@firstfleet/fferrorhandler", | ||
| "version": "2.1.9", | ||
| "version": "2.2.0", | ||
| "description": "handle errors", | ||
@@ -20,4 +20,4 @@ "main": "index.js", | ||
| "dependencies": { | ||
| "@firstfleet/fflogger": "^1.1.1", | ||
| "@firstfleet/ffslack": "^1.0.13", | ||
| "@firstfleet/fflogger": "^1.1.2", | ||
| "@firstfleet/ffslack": "^1.0.14", | ||
| "stacktracey": "^2.1.8" | ||
@@ -31,8 +31,8 @@ }, | ||
| "volta": { | ||
| "node": "14.15.0" | ||
| "node": "22.18.0" | ||
| }, | ||
| "devDependencies": { | ||
| "jest": "^29.7.0" | ||
| "jest": "^30.0.5" | ||
| }, | ||
| "types": "types.d.ts" | ||
| } |
+0
-0
@@ -0,0 +0,0 @@ # ffErrorHandler |
+0
-0
@@ -0,0 +0,0 @@ const StackParser = require("stacktracey"); |
@@ -0,0 +0,0 @@ const { errorLevels, slackChannels } = require("../constants"); |
@@ -0,0 +0,0 @@ const errorTypes = require("../errorTypes"); |
@@ -0,0 +0,0 @@ jest.mock("@firstfleet/ffslack", () => ({ |
@@ -0,0 +0,0 @@ jest.mock("@firstfleet/fflogger", () => { |
@@ -0,0 +0,0 @@ const middleware = require("../middleware"); |
+0
-0
| process.env.PAPERTRAIL_PROGRAM = "appName"; | ||
| process.env.NON_OPERATIONAL_SLACK_CHANNEL = "alerts_web"; |
+0
-0
@@ -0,0 +0,0 @@ import * as errorTypes from './errorTypes'; |
+0
-0
@@ -0,0 +0,0 @@ /** |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 3 instances in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 3 instances in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
74970
-2.41%Updated
Updated