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

filed

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

filed - npm Package Compare versions

Comparing version 0.1.0 to 0.2.1

LICENSE

4

main.js

@@ -33,3 +33,3 @@ var fs = require('fs')

this.mimetype = options.mimetype || mime.lookup(this.path.slice(this.path.lastIndexOf('.')+1))
this.mimetype = options.mimetype || mime.getType(this.path.slice(this.path.lastIndexOf('.')+1))

@@ -156,3 +156,3 @@ var stopBuffering = function () {

self.path = path.join(self.path, self.index)
self.mimetype = mime.lookup(self.path.slice(self.path.lastIndexOf('.')+1))
self.mimetype = mime.getType(self.path.slice(self.path.lastIndexOf('.')+1))
fs.stat(self.path, finish)

@@ -159,0 +159,0 @@ return

{
"name": "filed",
"description": "Simplified file library.",
"version": "0.1.0",
"version": "0.2.1",
"repository": {

@@ -13,4 +13,5 @@ "type": "git",

},
"license": "ASL 2.0",
"dependencies": {
"mime": ">= 1.2.6"
"mime": "1.2.6"
},

@@ -17,0 +18,0 @@ "scripts": {

@@ -77,1 +77,4 @@ # filed -- Simplified file library.

Just to round out the full feature set and make it full file server if you give filed an existing directory it will actually check for an index.html file in that directory and serve it if it exists.
## License
`ASL 2.0`, see [LICENSE](LICENSE) file.
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