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

hyperdrive-http

Package Overview
Dependencies
Maintainers
5
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hyperdrive-http - npm Package Compare versions

Comparing version 4.0.1 to 4.1.0

yarn.lock

3

index.js

@@ -90,3 +90,4 @@ var toHTML = require('directory-index-html')

var html = toHTML({directory: name, script: (!opts.live || archive._checkout) ? null : script}, entries)
var footer = opts.footer ? opts.footer + ' Archive version: ' + archive.version : null
var html = toHTML({directory: name, script: (!opts.live || archive._checkout) ? null : script, footer: footer}, entries)
res.setHeader('Content-Type', 'text/html; charset=utf-8')

@@ -93,0 +94,0 @@ res.setHeader('Content-Length', Buffer.byteLength(html))

{
"name": "hyperdrive-http",
"version": "4.0.1",
"version": "4.1.0",
"description": "Handle Hyper[drive|core] HTTP Requests",

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

"hyperdiscovery": "^1.3.0",
"hyperdrive": "^8.0.0",
"hyperdrive": "^9.0.0",
"random-access-memory": "^2.3.0",

@@ -35,0 +35,0 @@ "standard": "^9.0.2"

@@ -36,2 +36,3 @@ # Hyperdrive Http

- `live` - If set to `true` will reload a directly listing if the archive receives updates.
- `footer` - Add a footer to your HTML page. Automatically adds archive version number to footer.

@@ -38,0 +39,0 @@ ### URL Format

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