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 1.2.13 to 1.2.14

7

lib/Grand.js

@@ -342,4 +342,5 @@ /*

// method to set res status code
res.status = (status) => {
res.writeHead(status);
res.status = (status, message) => {
res.statusCode = status;
res.statusMessage = message || "not found";
return res;

@@ -349,3 +350,3 @@ }

res.json = function (data) {
res.setHeader("content-type", "application/json");
res.writeHead(res.statusCode, {"content-type": "application/json"});
helpers.json(res, data);

@@ -352,0 +353,0 @@ return res;

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

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

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