New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

http-file-server

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

http-file-server - npm Package Compare versions

Comparing version 0.2.4 to 0.2.5

4

http-file-server.js

@@ -201,3 +201,3 @@ #!/usr/bin/env node

debug && console.log('Opening file "'+fullPath+'" ...');
var stream = fs.createReadStream(fullPath, {
var stream = fs.createReadStream(fullPath, 'binary', {
flags: 'r',

@@ -241,3 +241,3 @@ encoding: defEnc,

stream.on('data', function (chunk) {
res.write(chunk);
res.write(chunk, 'binary');
});

@@ -244,0 +244,0 @@

@@ -12,3 +12,3 @@ {

"license": "GPLv3",
"version": "0.2.4",
"version": "0.2.5",
"author": "Viacheslav Lotsmanov (unclechu)",

@@ -15,0 +15,0 @@ "email": "lotsmanov89@gmail.com",

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