hapi-405-routes
Advanced tools
Comparing version 0.3.0 to 0.4.0
@@ -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", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package