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

11

http-file-server.js

@@ -21,2 +21,4 @@ #!/usr/bin/env node

// case insensitive
/** pages/styles/plain-text */
'.html' : 'text/html; charset='+defEnc,

@@ -27,2 +29,4 @@ '.css' : 'text/css; charset='+defEnc,

'.txt' : 'text/plain; charset='+defEnc,
/** images */
'.png' : 'image/png',

@@ -37,3 +41,8 @@ '.jpeg' : 'image/jpeg',

// downloading other files
/** fonts */
'.eot' : 'application/vnd.ms-fontobject',
'.woff' : 'application/font-woff',
'.ttf' : 'font/ttf',
/** downloading other files */
'*' : 'application/octet-stream'

@@ -40,0 +49,0 @@ };

2

package.json

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

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

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

@@ -1,4 +0,4 @@

node-http-file-server
=====================
Simple HTTP file server (Node.JS)
=================================
Node.JS HTTP file server
[![NPM](https://nodei.co/npm/http-file-server.png)](https://nodei.co/npm/http-file-server/)
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