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

hapi-mock

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

Comparing version 1.0.0-beta.3 to 1.0.0-beta.4

2

package.json
{
"name": "hapi-mock",
"version": "1.0.0-beta.3",
"version": "1.0.0-beta.4",
"description": "A simple HAPI plug-in for mocking endpoints",

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

@@ -37,2 +37,3 @@ # hapi-mock

baseDir: Path.join(__dirname, 'mocks'),
validate: async (request) => ({ isValid: true }), // optional auth for mocks
},

@@ -60,3 +61,2 @@ };

file: './cases', // JS module relative to `baseDir`
validate: async (request) => ({ isValid: true }), // optional auth for mocks
},

@@ -63,0 +63,0 @@ },

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