Socket
Socket
Sign inDemoInstall

connect-static-file

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

connect-static-file - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

1

lib/connect-static-file.js

@@ -9,2 +9,3 @@ 'use strict';

{
options = options || {};
options = {

@@ -11,0 +12,0 @@ encoded: options.encoded,

2

package.json
{
"name": "connect-static-file",
"version": "1.0.0",
"version": "1.0.1",
"description": "Connect/express middleware to serve a single static file",

@@ -5,0 +5,0 @@ "main": "lib/connect-static-file.js",

@@ -11,3 +11,3 @@ connect-static-file

app = express();
var app = express();
var path = 'path/to/file.txt';

@@ -14,0 +14,0 @@ var options = {};

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