Comparing version 1.0.0-beta.5 to 1.0.0-beta.6
{ | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
401
100
15594
+ Added@hapi/boom@9.1.4(transitive)
+ Added@hapi/hoek@9.3.0(transitive)
- Removed@hapi/boom@7.4.11(transitive)
- Removed@hapi/hoek@8.5.1(transitive)
Updated@hapi/boom@^9.0.0
Updatedjexl@^2.2.2