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.3 to 3.3.4

2

css.js

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

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

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

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

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

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

{
"name": "send-data",
"version": "3.3.3",
"version": "3.3.4",
"description": "send data through response",

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

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

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

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

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