New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

jsender

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jsender - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

2

lib/error.js

@@ -7,3 +7,2 @@ module.exports = function (res) {

? message.message : message.message + '\n' + message.stack
console.log(message)
} else if (typeof message === 'string') {

@@ -27,2 +26,3 @@ message = message;

res.status(500)
return res.json(body);

@@ -29,0 +29,0 @@ }

@@ -0,0 +0,0 @@ module.exports = function (res) {

@@ -0,0 +0,0 @@ var success = require('./success')

@@ -0,0 +0,0 @@ module.exports = function (res) {

@@ -0,0 +0,0 @@ module.exports = function (res){

{
"name": "jsender",
"version": "0.0.4",
"version": "0.0.5",
"description": "Simple and structured application level JSON responses for Express. Based on JSend specification.",

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

@@ -0,0 +0,0 @@ # JSender

@@ -62,3 +62,7 @@ var success = require('../lib/success')

return obj
},
status: function (code) {
return code
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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