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

grandjs

Package Overview
Dependencies
Maintainers
1
Versions
114
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grandjs - npm Package Compare versions

Comparing version 2.2.24 to 2.2.25

9

lib/common.d.ts

@@ -8,3 +8,5 @@ export declare enum HttpStatusCode {

REDIRECT = 301,
NOT_AUTHORIZED = 401
NOT_AUTHORIZED = 401,
ENTITY_NOT_EXIST = 404,
ENTITY_ALREADY_EXIST = 400
}

@@ -143,3 +145,6 @@ export declare enum RequestMethod {

NON_AUTHORIZED = "NON_AUTHORIZED",
FAILED_TO_AUTHENTICATE = "FAILED_TO_AUTHENTICATE"
FAILED_TO_AUTHENTICATE = "FAILED_TO_AUTHENTICATE",
ENTITY_EXIST = "ENTITY_EXIST",
ENTITY_NOT_EXIST = "ENTITY_NOT_EXIST",
ENTITY_ALREADY_EXIST = "ENTITY_ALREADY_EXIST"
}

@@ -12,2 +12,4 @@ "use strict";

HttpStatusCode[HttpStatusCode["NOT_AUTHORIZED"] = 401] = "NOT_AUTHORIZED";
HttpStatusCode[HttpStatusCode["ENTITY_NOT_EXIST"] = 404] = "ENTITY_NOT_EXIST";
HttpStatusCode[HttpStatusCode["ENTITY_ALREADY_EXIST"] = 400] = "ENTITY_ALREADY_EXIST";
})(HttpStatusCode = exports.HttpStatusCode || (exports.HttpStatusCode = {}));

@@ -114,2 +116,5 @@ var RequestMethod;

TextCodes["FAILED_TO_AUTHENTICATE"] = "FAILED_TO_AUTHENTICATE";
TextCodes["ENTITY_EXIST"] = "ENTITY_EXIST";
TextCodes["ENTITY_NOT_EXIST"] = "ENTITY_NOT_EXIST";
TextCodes["ENTITY_ALREADY_EXIST"] = "ENTITY_ALREADY_EXIST";
})(TextCodes = exports.TextCodes || (exports.TextCodes = {}));
{
"name": "grandjs",
"version": "2.2.24",
"version": "2.2.25",
"description": "A backend framework for solid web apps based on node.js",

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

@@ -8,3 +8,5 @@ export enum HttpStatusCode {

REDIRECT = 301,
NOT_AUTHORIZED = 401
NOT_AUTHORIZED = 401,
ENTITY_NOT_EXIST = 404,
ENTITY_ALREADY_EXIST = 400,
}

@@ -158,3 +160,6 @@ export enum RequestMethod {

NON_AUTHORIZED = "NON_AUTHORIZED",
FAILED_TO_AUTHENTICATE = "FAILED_TO_AUTHENTICATE"
FAILED_TO_AUTHENTICATE = "FAILED_TO_AUTHENTICATE",
ENTITY_EXIST = "ENTITY_EXIST",
ENTITY_NOT_EXIST = "ENTITY_NOT_EXIST",
ENTITY_ALREADY_EXIST = "ENTITY_ALREADY_EXIST",
}
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