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

@hapi/call

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hapi/call - npm Package Compare versions

Comparing version 6.0.0 to 6.0.1

4

lib/index.js

@@ -88,5 +88,5 @@ 'use strict';

const segments = path.split('/').slice(1);
const segments = path.length === 1 ? [''] : path.split('/').slice(1);
const vhost = (this.vhosts && hostname && this.vhosts[hostname]);
const vhost = this.vhosts && hostname && this.vhosts[hostname];
const route = (vhost && this._lookup(path, segments, vhost, method)) ||

@@ -93,0 +93,0 @@ this._lookup(path, segments, this.routes, method) ||

{
"name": "@hapi/call",
"description": "HTTP Router",
"version": "6.0.0",
"version": "6.0.1",
"repository": "git://github.com/hapijs/call",

@@ -6,0 +6,0 @@ "main": "lib/index.js",

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