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

hapi-405-routes

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hapi-405-routes - npm Package Compare versions

Comparing version 0.3.0 to 0.4.0

2

index.js

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

return {
path: prefix ? new RegExp('^\/' + prefix + '(.*)$').exec(routePath)[1] : routePath,
path: prefix ? new RegExp('^\\' + prefix + '(.*)$').exec(routePath)[1] : routePath,
method: newMethods,

@@ -71,0 +71,0 @@ config: {

{
"name": "hapi-405-routes",
"version": "v0.3.0",
"version": "v0.4.0",
"description": "Allows 405 'Method Not Allowed' responses for hapi routes",

@@ -5,0 +5,0 @@ "main": "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