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.1.0 to 5.1.1

0

lib/directory.js

@@ -0,0 +0,0 @@ 'use strict';

@@ -0,0 +0,0 @@ 'use strict';

@@ -0,0 +0,0 @@ 'use strict';

6

lib/fs.js

@@ -5,2 +5,3 @@ 'use strict';

const Fs = require('fs');
const Util = require('util');

@@ -110,6 +111,5 @@

const NodeFs = require('fs');
for (let i = 0; i < internals.methods.raw.length; ++i) {
const method = internals.methods.raw[i];
exports[method] = NodeFs[method].bind(NodeFs);
exports[method] = Fs[method].bind(Fs);
}

@@ -119,3 +119,3 @@

const method = internals.methods.promised[i];
exports[method] = Util.promisify(NodeFs[method]);
exports[method] = Util.promisify(Fs[method]);
}

@@ -0,0 +0,0 @@ 'use strict';

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

@@ -24,4 +24,4 @@ "main": "lib/index.js",

"bounce": "1.x.x",
"hoek": "5.x.x",
"joi": "13.x.x",
"hoek": "6.x.x",
"joi": "14.x.x",
"lru-cache": "4.1.x"

@@ -32,3 +32,3 @@ },

"hapi": "17.x.x",
"lab": "15.x.x"
"lab": "17.x.x"
},

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

@@ -0,0 +0,0 @@ # inert

Sorry, the diff of this file is not supported yet

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