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

staticify

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

staticify - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6

11

index.js

@@ -66,7 +66,8 @@ var send = require("send"),

return send(req, filePath)
.maxage(filePath == req.url ? 0 : 1000 * 60 * 60 * 24 * 365)
.index(options.index || "index.html")
.hidden(options.hidden)
.root(root)
return send(req, filePath,{
maxage: filePath == req.url ? 0 : 1000 * 60 * 60 * 24 * 365,
index: options.index || "index.html",
ignore: options.hidden,
root: root
});
}

@@ -73,0 +74,0 @@

{
"name": "staticify",
"version": "0.0.5",
"version": "0.0.6",
"description": "A better static asset handler for node.js",

@@ -24,3 +24,3 @@ "main": "index.js",

"dependencies": {
"send": "~0.2.0"
"send": "~0.11.1"
},

@@ -27,0 +27,0 @@ "devDependencies": {

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