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

inert

Package Overview
Dependencies
Maintainers
5
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 5.0.0-rc2 to 5.0.0-rc4

2

lib/file.js

@@ -51,3 +51,3 @@ 'use strict';

const handler = (request, reply) => {
const handler = (request) => {

@@ -54,0 +54,0 @@ const path = (typeof settings.path === 'function' ? settings.path(request) : settings.path);

@@ -29,3 +29,3 @@ 'use strict';

server.decorate('responder', 'file', function (path, responseOptions) {
server.decorate('toolkit', 'file', function (path, responseOptions) {

@@ -32,0 +32,0 @@ // Set correct confine value

{
"name": "inert",
"description": "Static file and directory handlers plugin for hapi.js",
"version": "5.0.0-rc2",
"version": "5.0.0-rc4",
"repository": "https://github.com/hapijs/inert.git",

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

"code": "5.x.x",
"hapi": "^17.0.0-rc2",
"hapi": "^17.0.0-rc4",
"lab": "14.x.x"

@@ -32,0 +32,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