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

directory-index-html

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

directory-index-html - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

4

index.js

@@ -56,9 +56,9 @@ var constants = require('cons' + 'tants') // be browserify friendly

if (isDir && name[name.length - 1] !== '/') name += '/'
var p1 = PADDING_NAME.slice(name.length)
var p2 = PADDING_DATE.slice(0, -size.length)
if (isDir && name[name.length - 1] !== '/') name += '/'
return `<a href="${name}">${name}</a>${p1 + time + p2 + size}\n`
}
}
{
"name": "directory-index-html",
"version": "1.0.0",
"version": "1.0.1",
"description": "Make an plain html page containing a directory listing",

@@ -5,0 +5,0 @@ "main": "index.js",

Sorry, the diff of this file is not supported yet

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