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.5 to 1.0.0-beta.6

37

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

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

"lint": "eslint . --ignore-path ./.eslintignore",
"test": "NODE_ENV=test mocha --recursive test",
"cover": "NODE_ENV=test nyc --reporter=lcov --reporter=text-summary mocha --exit --recursive test",
"coveralls": "npm run cover && nyc report --reporter=lcovonly && cat ./coverage/lcov.info | coveralls",
"test": "NODE_ENV=test nyc --reporter=lcov --reporter=text-summary mocha --exit --recursive test",
"coveralls": "nyc report --reporter=lcovonly && cat ./coverage/lcov.info | coveralls",
"preversion": "npm run lint && npm test"

@@ -29,29 +28,29 @@ },

"engines": {
"node": ">=10.0.0"
"node": ">=12.0.0"
},
"peerDependencies": {
"@hapi/hapi": ">=18.x.x"
"@hapi/hapi": ">=19.x.x"
},
"devDependencies": {
"@hapi/basic": "^5.1.1",
"@hapi/hapi": "^18.3.2",
"@hapi/joi": "^15.1.1",
"babel-eslint": "^10.0.2",
"@hapi/basic": "^6.0.0",
"@hapi/hapi": "^19.0.5",
"@hapi/joi": "^17.1.0",
"babel-eslint": "^10.0.3",
"chai": "^4.2.0",
"chai-as-promised": "^7.1.1",
"coveralls": "^3.0.4",
"eslint": "^6.2.0",
"coveralls": "^3.0.9",
"eslint": "^6.8.0",
"eslint-config-airbnb-base": "^14.0.0",
"eslint-plugin-import": "^2.18.0",
"eslint-plugin-import": "^2.20.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-should-promised": "^2.0.0",
"mocha": "^6.1.4",
"nyc": "^14.1.1",
"sinon": "^7.3.2",
"sinon-chai": "^3.3.0"
"mocha": "^7.0.1",
"nyc": "^15.0.0",
"sinon": "^8.1.1",
"sinon-chai": "^3.4.0"
},
"dependencies": {
"@hapi/boom": "^7.4.3",
"jexl": "^2.1.1"
"@hapi/boom": "^9.0.0",
"jexl": "^2.2.2"
}
}

@@ -11,2 +11,4 @@ # hapi-mock

Tested with Node 12/13 and Hapi 19.
## Install

@@ -13,0 +15,0 @@

@@ -142,2 +142,3 @@ const Path = require('path');

};
server.validator(Joi);
await server.register([hapiAuthBasic, mock]);

@@ -144,0 +145,0 @@ server.auth.strategy('simple', 'basic', { validate });

Sorry, the diff of this file is not supported yet

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