New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
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 0.0.3 to 0.0.4

.eslintignore

2

index.js

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

server.route({
method: 'UPDATE',
method: 'PUT',
path: options.path,

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

{
"name": "hapi-crud-promise",
"version": "0.0.3",
"version": "0.0.4",
"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",

@@ -27,3 +27,3 @@ hapi-crud-promise

GET /api/things/{thingId}
UPDATE /api/things/{thingId}
PUT /api/things/{thingId}
DELETE /api/things/{thingId}

@@ -30,0 +30,0 @@ ```

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

return inject(server, {
method: 'UPDATE',
method: 'PUT',
url: {

@@ -108,0 +108,0 @@ pathname: `/api/things/${thingId}`,

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