-
Notifications
You must be signed in to change notification settings - Fork 3
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
Update deps and instructions for hapi v.16 scrub #7
Conversation
|
@@ -486,7 +486,7 @@ describe('Underdog', () => { | |||
srv.stop(done); | |||
}); | |||
|
|||
request.on('push', () => next(new Error('Should not make it here'))); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Returning an error wont do anything! You'd have to at least throw it. I think that next
was possibly supposed to be done
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ay, gotcha. thanks for pointing that out. slopslopslop. fixing now!
test/index.js
Outdated
@@ -531,7 +531,7 @@ describe('Underdog', () => { | |||
srv.stop(done); | |||
}); | |||
|
|||
request.on('push', () => next(new Error('Should not make it here'))); | |||
request.on('push', () => new Error('Should not make it here')); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ditto!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🙏
package.json
Outdated
@@ -34,15 +34,15 @@ | |||
"items": "2.x.x" | |||
}, | |||
"peerDependencies": { | |||
"hapi": ">=10 <16" | |||
"hapi": ">=10 <17" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If this doesn't work yet on hapi v16, then no need for this change.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh bugger, extra sloppy. sorry about that, thanks for catching 🙏
@@ -3,5 +3,6 @@ language: node_js | |||
node_js: | |||
- "4" | |||
- "6" | |||
- "8.7.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why this version exactly?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ohhh totally missed your commit message, sorry! Wow!! I would definitely have expected that to be a semver major!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh man, yea. took me a bit to peek through their changelog to sort that out. 🎺
No description provided.