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.14 to 2.2.15

0

lib/common.d.ts

@@ -0,0 +0,0 @@ export declare enum HttpStatusCode {

1

lib/common.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.TextCodes = exports.APiError = exports.APiSuccess = exports.APiResponse = exports.APiType = exports.HttpStatusCode = void 0;
var HttpStatusCode;

@@ -4,0 +5,0 @@ (function (HttpStatusCode) {

@@ -0,0 +0,0 @@ /**

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ /**

@@ -13,2 +13,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.DELETE = exports.PATCH = exports.POST = exports.PUT = exports.GET = exports.MiddleWare = void 0;
// GET Decorator

@@ -15,0 +16,0 @@ const decorator = (options, routersType, methodType) => {

@@ -0,0 +0,0 @@ declare class FileUploadClass {

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ /**

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ /**

29

lib/index.js

@@ -6,2 +6,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.TextCodes = exports.APiType = exports.HttpStatusCode = exports.APiResponse = exports.APiSuccess = exports.APiError = exports.MiddleWare = exports.DELETE = exports.PATCH = exports.PUT = exports.POST = exports.GET = exports.FileUpload = exports.Cipher = exports.validation = exports.Response = exports.Request = exports.View = exports.Router = exports.Server = void 0;
/**

@@ -18,7 +19,7 @@ * @package @Grandjs

const Server_1 = require("./Server");
exports.Server = Server_1.Server;
Object.defineProperty(exports, "Server", { enumerable: true, get: function () { return Server_1.Server; } });
const Router_1 = __importDefault(require("./Router"));
exports.Router = Router_1.default;
const View_1 = require("./View");
exports.View = View_1.View;
Object.defineProperty(exports, "View", { enumerable: true, get: function () { return View_1.View; } });
const Request_1 = __importDefault(require("./Request"));

@@ -32,15 +33,15 @@ exports.Request = Request_1.default;

const decorators_1 = require("./decorators");
exports.GET = decorators_1.GET;
exports.POST = decorators_1.POST;
exports.PUT = decorators_1.PUT;
exports.PATCH = decorators_1.PATCH;
exports.DELETE = decorators_1.DELETE;
exports.MiddleWare = decorators_1.MiddleWare;
Object.defineProperty(exports, "GET", { enumerable: true, get: function () { return decorators_1.GET; } });
Object.defineProperty(exports, "POST", { enumerable: true, get: function () { return decorators_1.POST; } });
Object.defineProperty(exports, "PUT", { enumerable: true, get: function () { return decorators_1.PUT; } });
Object.defineProperty(exports, "PATCH", { enumerable: true, get: function () { return decorators_1.PATCH; } });
Object.defineProperty(exports, "DELETE", { enumerable: true, get: function () { return decorators_1.DELETE; } });
Object.defineProperty(exports, "MiddleWare", { enumerable: true, get: function () { return decorators_1.MiddleWare; } });
const common_1 = require("./common");
exports.APiError = common_1.APiError;
exports.APiSuccess = common_1.APiSuccess;
exports.APiResponse = common_1.APiResponse;
exports.HttpStatusCode = common_1.HttpStatusCode;
exports.APiType = common_1.APiType;
exports.TextCodes = common_1.TextCodes;
Object.defineProperty(exports, "APiError", { enumerable: true, get: function () { return common_1.APiError; } });
Object.defineProperty(exports, "APiSuccess", { enumerable: true, get: function () { return common_1.APiSuccess; } });
Object.defineProperty(exports, "APiResponse", { enumerable: true, get: function () { return common_1.APiResponse; } });
Object.defineProperty(exports, "HttpStatusCode", { enumerable: true, get: function () { return common_1.HttpStatusCode; } });
Object.defineProperty(exports, "APiType", { enumerable: true, get: function () { return common_1.APiType; } });
Object.defineProperty(exports, "TextCodes", { enumerable: true, get: function () { return common_1.TextCodes; } });
const validation = helpers_1.default.validation;

@@ -47,0 +48,0 @@ exports.validation = validation;

@@ -0,0 +0,0 @@ /// <reference types="node" />

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });

@@ -0,0 +0,0 @@ /**

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ /// <reference types="node" />

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import Request from "./Request";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ /// <reference types="node" />

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ /**

@@ -0,0 +0,0 @@ "use strict";

@@ -29,3 +29,2 @@ /**

globalMiddleWares: MiddleWareInterface[];
errorPage?: (req: Request, res: Response) => any;
cors?: CorsInterface;

@@ -32,0 +31,0 @@ req?: Request;

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ /// <reference types="node" />

@@ -6,2 +6,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.BaseServer = exports.Server = void 0;
/**

@@ -8,0 +9,0 @@ * @package @Grandjs

@@ -0,0 +0,0 @@ import { OptionalObject, NodeInterface } from "./interfaces/index";

@@ -6,2 +6,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.View = void 0;
/**

@@ -8,0 +9,0 @@ * @package @Grandjs

{
"name": "grandjs",
"version": "2.2.14",
"version": "2.2.15",
"description": "A backend framework for solid web apps based on node.js",

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

@@ -37,3 +37,3 @@ /**

globalMiddleWares: MiddleWareInterface[];
errorPage?: (req: Request, res: Response) => any;
// errorPage?: (req: Request, res: Response) => any;
cors?: CorsInterface;

@@ -40,0 +40,0 @@ req?: Request;

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