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

send-data

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

send-data - npm Package Compare versions

Comparing version 1.1.2 to 1.1.3

2

json.js

@@ -12,3 +12,3 @@ var send = require("./index")

function sendJson(req, res, value) {
if (!value.statusCode && !value.headers) {
if (!value || (!value.statusCode && !value.headers)) {
value = { body: value }

@@ -15,0 +15,0 @@ }

{
"name": "send-data",
"version": "1.1.2",
"version": "1.1.3",
"description": "send data through response",

@@ -5,0 +5,0 @@ "keywords": [],

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