🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

hapi-crud-promise

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-crud-promise - npm Package Compare versions

Comparing version

to
0.2.0

2

index.js

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

let baseOpts = _.omit(options, [
let baseOpts = _.omit(_.cloneDeep(options), [
'method',

@@ -10,0 +10,0 @@ 'path',

{
"name": "hapi-crud-promise",
"version": "0.1.1",
"version": "0.2.0",
"description": "Easily create CRUD routes on a hapi server by providing a path and promises for each of the actions",

@@ -5,0 +5,0 @@ "main": "index.js",

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

it('should pass along other options to server', () => {
it.only('should pass along other options to server', () => {
server.register(require('hapi-auth-basic'))

@@ -143,0 +143,0 @@ server.auth.strategy('simple', 'basic', { validateFunc: (() => {true}) });