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

serve-index-75lb

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

serve-index-75lb - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

23

HISTORY.md

@@ -0,1 +1,24 @@

unreleased
==========
* Show font icon for more font types
* deps: mime-types@~2.1.18
- Add new mime types
- deps: mime-db@~1.33.0
1.9.1 / 2017-09-28
==================
* deps: accepts@~1.3.4
- deps: mime-types@~2.1.16
* deps: debug@2.6.9
* deps: http-errors@~1.6.2
- deps: depd@1.1.1
* deps: mime-types@~2.1.17
- Add new mime types
- deps: mime-db@~1.30.0
* deps: parseurl@~1.3.2
- perf: reduce overhead for full URLs
- perf: unroll the "fast-path" `RegExp`
1.9.0 / 2017-05-25

@@ -2,0 +25,0 @@ ==================

8

index.js

@@ -243,3 +243,3 @@ /*!

var html = '<ul id="files" class="view-' + escapeHtml(view) + '">'
+ (view == 'details' ? (
+ (view === 'details' ? (
'<li class="header">'

@@ -495,3 +495,3 @@ + '<span class="name">Name</span>'

return files.filter(function(file){
return '.' != file[0];
return file[0] !== '.'
});

@@ -551,2 +551,3 @@ }

// generic mime type icons
'font': 'font.png',
'image': 'image.png',

@@ -562,3 +563,2 @@ 'text': 'page_white_text.png',

// specific mime type icons
'application/font-woff': 'font.png',
'application/javascript': 'page_white_code_red.png',

@@ -577,3 +577,2 @@ 'application/json': 'page_white_code.png',

'application/x-sh': 'application_xp_terminal.png',
'application/x-font-ttf': 'font.png',
'application/x-msaccess': 'page_white_database.png',

@@ -632,3 +631,2 @@ 'application/x-shockwave-flash': 'page_white_flash.png',

'.mv4': 'film.png',
'.otf': 'font.png',
'.pdb': 'page_white_database.png',

@@ -635,0 +633,0 @@ '.php': 'page_white_php.png',

{
"name": "serve-index-75lb",
"description": "Serve directory listings",
"version": "2.0.0",
"version": "2.0.1",
"author": "Douglas Christopher Wilson <doug@somethingdoug.com>",

@@ -9,12 +9,14 @@ "license": "MIT",

"dependencies": {
"accepts": "~1.3.3",
"accepts": "~1.3.4",
"batch": "0.6.1",
"debug": "2.6.8",
"debug": "2.6.9",
"escape-html": "~1.0.3",
"http-errors": "~1.6.1",
"mime-types": "~2.1.15",
"parseurl": "~1.3.1"
"http-errors": "~1.6.2",
"mime-types": "~2.1.18",
"parseurl": "~1.3.2"
},
"devDependencies": {
"after": "0.8.2",
"eslint": "3.19.0",
"eslint-plugin-markdown": "1.0.0-beta.6",
"istanbul": "0.4.5",

@@ -34,2 +36,3 @@ "mocha": "2.5.3",

"scripts": {
"lint": "eslint --plugin markdown --ext js,md .",
"test": "mocha --reporter spec --bail --check-leaks test/",

@@ -36,0 +39,0 @@ "test-ci": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/",

# serve-index
Fork which adds a trailing slash to directory links in the html view.
Fork which adds a trailing slash to directory links in the html view.
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