Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

prepare-response

Package Overview
Dependencies
Maintainers
2
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

prepare-response - npm Package Compare versions

Comparing version 2.1.0 to 2.1.1

2

index.js

@@ -53,3 +53,3 @@ 'use strict';

if (header.toLowerCase() === 'content-type' && value.indexOf('/') === -1) {
value = mime.lookup(value);
value = mime.getType(value);
}

@@ -56,0 +56,0 @@ return new Header(header, value);

{
"name": "prepare-response",
"version": "2.1.0",
"version": "2.1.1",
"description": "Prepare a text resposne to be efficiently sent",

@@ -12,3 +12,3 @@ "keywords": [],

"dependencies": {
"mime": "^1.3.6",
"mime": "^2.0.3",
"ms": "^2.0.0",

@@ -19,3 +19,3 @@ "promise": "^8.0.0"

"concat-stream": "^1.6.0",
"testit": "^2.1.4"
"testit": "^3.0.0"
},

@@ -22,0 +22,0 @@ "scripts": {

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