🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@bonnethood/common

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bonnethood/common - npm Package Compare versions

Comparing version
1.0.11
to
1.0.12
+1
-1
build/middlewares/error-handler.d.ts

@@ -1,2 +0,2 @@

import { Request, Response, NextFunction } from 'express';
import { Request, Response, NextFunction } from "express";
export declare const errorHandler: (err: Error, req: Request, res: Response, next: NextFunction) => Response<any, Record<string, any>> | undefined;

@@ -9,5 +9,8 @@ "use strict";

}
// Logging errors
console.log(err);
// Return
res.status(400).send({
errors: [{ message: 'Something went wrong' }]
errors: [{ message: "Something went wrong" }],
});
};
{
"name": "@bonnethood/common",
"version": "1.0.11",
"version": "1.0.12",
"description": "",

@@ -5,0 +5,0 @@ "main": "./build/index.js",