Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@fega01/app-error

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fega01/app-error - npm Package Compare versions

Comparing version 1.1.0 to 1.2.0

1

dist/index.d.ts

@@ -27,1 +27,2 @@ export interface AppErrorObject {

export declare const FORBIDDEN: AppErrorObject;
export declare const BODY_IS_EMPTY: AppErrorObject;

@@ -44,2 +44,7 @@ "use strict";

};
exports.BODY_IS_EMPTY = {
code: "BODY_IS_EMPTY",
status: http_status_1.BAD_REQUEST,
message: "Body cannot be empty",
};
//# sourceMappingURL=index.js.map

2

package.json
{
"name": "@fega01/app-error",
"version": "1.1.0",
"version": "1.2.0",
"description": "A nice controller based on Proxies",

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

@@ -54,2 +54,7 @@ import { BAD_REQUEST as BR, NOT_FOUND as NF, UNAUTHORIZED as UNA, FORBIDDEN as F } from "http-status";

message: "Access Denied"
};
export const BODY_IS_EMPTY: AppErrorObject = {
code: "BODY_IS_EMPTY",
status: BR,
message: "Body cannot be empty",
};

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc