Skip to content

Commit

Permalink
Merge pull request #12 from mattboutet/dep-update
Browse files Browse the repository at this point in the history
Update dependencies to support Objection v3
  • Loading branch information
devinivy authored Mar 12, 2022
2 parents cdaf7ae + ed9ad58 commit 35ebfd8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion API.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ A utility to convert [Objection](https://vincit.github.io/objection.js/) databas

> **Note**
>
> Avocat is intended for use with hapi v19+, nodejs v12+, and Objection v2 (_see v1 for lower support_).
> Avocat is intended for use with hapi v19+, nodejs v12+, and Objection v2 or v3 (_see v1 for lower support_).
## `Avocat`
### `Avocat.rethrow(error, [options])`
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ npm install @hapipal/avocat
## Usage
> See also the [API Reference](API.md)
>
> Avocat is intended for use with hapi v19+, nodejs v12+, and Objection v2 (_see v1 for lower support_).
> Avocat is intended for use with hapi v19+, nodejs v12+, and Objection v2 or v3 (_see v1 for lower support_).
Avocat provides a single utility function [`Avocat.rethrow(error, [options])`](API.md#avocatrethrowerror-options) which transforms database errors from Objection into Boom HTTP errors that are compatible with hapi.

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@
"@hapi/boom": "9.x.x"
},
"devDependencies": {
"objection": "2.x.x",
"objection": "3.x.x",
"coveralls": "3.x.x",
"@hapi/code": "8.x.x",
"@hapi/lab": "24.x.x"
},
"peerDependencies": {
"objection": ">=2 <3"
"objection": ">=2 <4"
}
}

0 comments on commit 35ebfd8

Please sign in to comment.