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

hapi

Package Overview
Dependencies
Maintainers
3
Versions
295
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hapi - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

1

lib/files.js

@@ -19,3 +19,2 @@ // Load modules

Utils.assert(filePath && (typeof filePath === 'function' || typeof filePath === 'string'), 'Invalid file path');
Utils.assert(typeof filePath !== 'string' || route.params.length === 0, 'Route path with static file path cannot contain a parameter');
Utils.assert(typeof filePath !== 'string' || filePath[filePath.length - 1] !== '/', 'File path cannot end with a \'/\'');

@@ -22,0 +21,0 @@

@@ -0,0 +0,0 @@ // Load modules

6

package.json

@@ -5,3 +5,3 @@ {

"homepage": "http://hapijs.com",
"version": "1.0.0",
"version": "1.0.1",
"author": "Eran Hammer <eran@hueniverse.com> (http://hueniverse.com)",

@@ -42,4 +42,4 @@ "contributors": [

"async": "0.2.x",
"request": "2.20.x",
"formidable": "1.0.x",
"request": "2.21.x",
"formidable": "1.0.13",
"mime": "1.2.x",

@@ -46,0 +46,0 @@ "lru-cache": "2.3.x",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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