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

hal-browser

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hal-browser - npm Package Compare versions

Comparing version 0.7.1 to 0.7.2

assets/icon/down.svg

7

changelog.md

@@ -0,1 +1,8 @@

0.7.2 (2019-03-26)
==================
* Fixed bug: `Content-Disposition` was checked in the Request headers, not
the response headers.
0.7.1 (2019-03-25)

@@ -2,0 +9,0 @@ ==================

2

dist/index.js

@@ -118,3 +118,3 @@ "use strict";

// intended to create a download, we will also not render HTML.
const cd = ctx.request.headers.get('Content-Disposition');
const cd = ctx.response.headers.get('Content-Disposition');
if (cd && cd.startsWith('attachment')) {

@@ -121,0 +121,0 @@ return;

{
"name": "hal-browser",
"version": "0.7.1",
"version": "0.7.2",
"description": "A HAL browser middleware",

@@ -43,3 +43,3 @@ "main": "dist/index.js",

"@types/mocha": "^5.2.6",
"@types/node": "^11.11.6",
"@types/node": "^11.12.0",
"@types/sinon": "^7.0.10",

@@ -46,0 +46,0 @@ "chai": "^4.2.0",

Sorry, the diff of this file is not supported yet

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