Huge News!Announcing our $40M Series B led by Abstract Ventures.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 3.3.1 to 3.3.2

3

html.js

@@ -0,1 +1,2 @@

var Buffer = require("buffer").Buffer;
var send = require("./index")

@@ -6,3 +7,3 @@

function sendHtml(req, res, opts, callback) {
if (typeof opts === "string") {
if (typeof opts === "string" || Buffer.isBuffer(opts)) {
opts = { body: opts }

@@ -9,0 +10,0 @@ }

{
"name": "send-data",
"version": "3.3.1",
"version": "3.3.2",
"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