Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dependency update #109

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Dependency update #109

wants to merge 2 commits into from

Conversation

mattboutet
Copy link
Member

Drop support for older versions of node and bump peer deps accordingly.

Tests were failing with the old min versions of objection/knex from the peer deps, so I updated until I had what seem to be the min versions of each that will play nice with each other and still have all tests passing.

package.json Outdated
Comment on lines 38 to 39
"knex": ">=0.21.19",
"objection": ">=2 <4"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Objection v3 is well over a year old, and it doesn't seem like v2 is going to receive updates anymore. Similar goes for knex— v1 came out over a year ago and v2 is actually out! If we're making a breaking change here, there would be something sort of nice/clean about supporting knex v0.95+ and objection v3+. Any thoughts/feels?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Happy to bump both of those up. Also, since joi is at >=17 <18 will just simplify that down to ^17.0.0

package.json Outdated
@@ -28,25 +28,25 @@
"model"
],
"dependencies": {
"@hapi/hoek": "^9.0.0",
"@hapi/hoek": "^11.0.2",
"@hapipal/toys": "^3.2.0",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just released!

Suggested change
"@hapipal/toys": "^3.2.0",
"@hapipal/toys": "^4.0.0",

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants