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

inert

Package Overview
Dependencies
Maintainers
2
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

inert - npm Package Compare versions

Comparing version 4.0.3 to 4.0.4

4

lib/directory.js

@@ -36,2 +36,4 @@ 'use strict';

const paramName = /\w+/.exec(route.path.slice(route.path.lastIndexOf('{')))[0];
const normalize = (paths) => {

@@ -81,3 +83,3 @@

const selection = request.paramsArray[request.paramsArray.length - 1];
const selection = request.params[paramName];
if (selection &&

@@ -84,0 +86,0 @@ !settings.showHidden &&

{
"name": "inert",
"description": "Static file and directory handlers plugin for hapi.js",
"version": "4.0.3",
"version": "4.0.4",
"repository": "git://github.com/hapijs/inert",

@@ -27,3 +27,3 @@ "main": "lib/index.js",

"code": "4.x.x",
"hapi": "15.x.x",
"hapi": "16.x.x",
"lab": "11.x.x"

@@ -30,0 +30,0 @@ },

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