You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP

inert

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

inert - npm Package Compare versions

Comparing version

to
4.0.2

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

const source = {
path: path,
path,
settings: options,

@@ -85,3 +85,3 @@ stat: null,

return request.generateResponse(source, { variety: 'file', marshal: internals.marshal, prepare: prepare, close: internals.close });
return request.generateResponse(source, { variety: 'file', marshal: internals.marshal, prepare, close: internals.close });
};

@@ -168,3 +168,3 @@

if (request.route.settings.response.ranges !== false) { // Backwards compatible comparison
if (Hoek.reach(request.route.settings, 'response.ranges') !== false) { // Backwards compatible comparison
if (request.headers.range && length) {

@@ -171,0 +171,0 @@

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

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

"items": "2.x.x",
"joi": "8.x.x",
"joi": "9.x.x",
"lru-cache": "4.0.x"

@@ -29,3 +29,3 @@ },

"hapi": "13.x.x",
"lab": "10.x.x"
"lab": "11.x.x"
},

@@ -32,0 +32,0 @@ "scripts": {