New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

hapi-route-manager

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-route-manager - npm Package Compare versions

Comparing version

to
2.0.1

6

index.js

@@ -57,3 +57,3 @@ var walk = require('walk'),

// $lab:coverage:off$
console.log(e);
next(e);
// $lab:coverage:on$

@@ -81,3 +81,3 @@

routeObj.filename = path.resolve(filename);
routeObj.path = path.join(route, routeObj.route || '')
routeObj.path = path.join(route, routeObj.path || '')
});

@@ -88,3 +88,3 @@

// $lab:coverage:off$
console.log(e);
next(e);
// $lab:coverage:on$

@@ -91,0 +91,0 @@ }

{
"name": "hapi-route-manager",
"version": "2.0.0",
"version": "2.0.1",
"description": "(Under Development) Yet another route manager for versioned HAPI REST APIs",

@@ -10,3 +10,4 @@ "main": "index.js",

"author": "Matthew Apperson",
"license": "ISC",
"license": "MIT",
"repository": "http://github.com/appersonlabs/hapi-route-manager",
"dependencies": {

@@ -18,3 +19,2 @@ "boom": "^3.1.2",

"devDependencies": {
"chai": "^3.5.0",
"code": "^2.1.1",

@@ -24,5 +24,4 @@ "eslint": "^2.4.0",

"joi": "^8.0.5",
"lab": "^10.3.0",
"mocha": "^2.4.5"
"lab": "^10.3.0"
}
}

@@ -64,1 +64,2 @@ # Hapi Route Manager

- Add an option for the version to be used in a version header vs URL path
- Document the rest of the features :)
var ListApps = {
method: 'POST',
route: '/build',// URL MUST include the URL of the orig route. AKA you can add but cant take away
path: '/build',// URL MUST include the URL of the orig route. AKA you can add but cant take away
handler: function(req, reply) {

@@ -5,0 +5,0 @@ reply({success: true});

var ListApps = {
method: 'POST',
route: '/build',
path: '/build',
handler: function(req, reply) {

@@ -5,0 +5,0 @@ reply({success: true});