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

decompress-response

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

decompress-response - npm Package Compare versions

Comparing version 4.2.0 to 4.2.1

2

index.js

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

const decompressResponse = response => {
const contentEncoding = response.headers['content-encoding'];
const contentEncoding = (response.headers['content-encoding'] || '').toLowerCase();

@@ -10,0 +10,0 @@ if (!['gzip', 'deflate', 'br'].includes(contentEncoding)) {

{
"name": "decompress-response",
"version": "4.2.0",
"version": "4.2.1",
"description": "Decompress a HTTP response if needed",

@@ -43,4 +43,4 @@ "license": "MIT",

"devDependencies": {
"@types/node": "^11.12.2",
"ava": "^1.4.1",
"@types/node": "^12.7.1",
"ava": "^2.2.0",
"get-stream": "^5.0.0",

@@ -47,0 +47,0 @@ "pify": "^4.0.1",

@@ -42,4 +42,12 @@ # decompress-response [![Build Status](https://travis-ci.org/sindresorhus/decompress-response.svg?branch=master)](https://travis-ci.org/sindresorhus/decompress-response)

## License
---
MIT © [Sindre Sorhus](https://sindresorhus.com)
<div align="center">
<b>
<a href="https://tidelift.com/subscription/pkg/npm-unzip-response?utm_source=npm-unzip-response&utm_medium=referral&utm_campaign=readme">Get professional support for this package with a Tidelift subscription</a>
</b>
<br>
<sub>
Tidelift helps make open source sustainable for maintainers while giving companies<br>assurances about security, maintenance, and licensing for their dependencies.
</sub>
</div>
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