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

hapi-dev-errors

Package Overview
Dependencies
Maintainers
4
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hapi-dev-errors - npm Package Compare versions

Comparing version 3.3.0 to 4.0.0

7

CHANGELOG.md
# Changelog
## Version [4.0.0](https://github.com/futurestudio/hapi-dev-errors/compare/v3.3.0...v4.0.0) (2020-01-10)
### Breaking Changes
- require Node.js v12
- this change aligns with the hapi ecosystem requiring Node.js v12 with the release of hapi 19
## Version [3.3.0](https://github.com/futurestudio/hapi-dev-errors/compare/v3.2.6...v3.3.0) (2019-10-17)

@@ -4,0 +11,0 @@

34

package.json
{
"name": "hapi-dev-errors",
"description": "Return better error details and skip the look at command line to catch the issue.",
"version": "3.3.0",
"version": "4.0.0",
"author": "Marcus Pöhls <marcus@futurestud.io>",

@@ -14,19 +14,19 @@ "bugs": {

"devDependencies": {
"@hapi/boom": "~8.0.1",
"@hapi/code": "~7.0.0",
"@hapi/hapi": "~18.4.0",
"@hapi/joi": "~15.1.1",
"@hapi/lab": "~21.0.0",
"@hapi/vision": "~5.5.4",
"eslint": "~6.5.1",
"@hapi/boom": "~9.0.0",
"@hapi/code": "~8.0.1",
"@hapi/hapi": "~19.0.1",
"@hapi/joi": "~17.0.2",
"@hapi/lab": "~22.0.3",
"@hapi/vision": "~6.0.0",
"eslint": "~6.8.0",
"eslint-config-standard": "~14.1.0",
"eslint-plugin-import": "~2.18.2",
"eslint-plugin-node": "~10.0.0",
"eslint-plugin-import": "~2.19.1",
"eslint-plugin-node": "~11.0.0",
"eslint-plugin-promise": "~4.2.1",
"eslint-plugin-standard": "~4.0.1",
"husky": "~3.0.9",
"sinon": "~7.5.0"
"husky": "~4.0.6",
"sinon": "~8.0.4"
},
"engines": {
"node": ">=8"
"node": ">=12"
},

@@ -53,5 +53,9 @@ "homepage": "https://github.com/futurestudio/hapi-dev-errors#readme",

"lint:fix": "eslint . --fix",
"test": "lab --assert @hapi/code --leaks --coverage --lint",
"prepush": "npm run lint"
"test": "lab --assert @hapi/code --leaks --coverage --lint"
},
"husky": {
"hooks": {
"pre-push": "npm run lint"
}
}
}

@@ -51,5 +51,13 @@ <div align="center">

## Requirements
This plugin uses async/await which requires **Node.js v8 or newer**.
This plugin uses async/await which requires **Node.js v12 or newer**.
### Compatibility
| Major Release | [hapi.js](https://github.com/hapijs/hapi) version | Node.js version |
| --- | --- | --- |
| `v4` | `>=17 hapi` | `>=12` |
| `v3` | `>=17 hapi` | `>=8` |
| `v2` | `>=17 hapi` | `>=8` |
## Installation

@@ -63,3 +71,10 @@ Add `hapi-dev-errors` as a dependency to your project:

### Do you use hapi v16 (or lower)?
### Using hapi v17 or v18?
Use the `3.x` release of `hapi-dev-errors`:
```bash
npm i hapi-dev-errors@3
```
### Using hapi v16 (or lower)?
Use the `1.3.2` release of `hapi-dev-errors` with hapi v16. Later versions are only compatible with hapi v17.

@@ -66,0 +81,0 @@

@@ -29,5 +29,5 @@ 'use strict'

response: {
schema: {
schema: Joi.object({
user: Joi.object().required()
}
})
}

@@ -34,0 +34,0 @@ },

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