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

Update deps and instructions for hapi v.16 scrub #7

Merged
merged 4 commits into from
Nov 14, 2017
Merged

Update deps and instructions for hapi v.16 scrub #7

merged 4 commits into from
Nov 14, 2017

Conversation

zemccartney
Copy link
Member

No description provided.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling e725b63 on zemccartney:hapiv16-scrub into 0713b01 on devinivy:master.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling a953e0e on zemccartney:hapiv16-scrub into 0713b01 on devinivy:master.

@coveralls
Copy link

coveralls commented Nov 9, 2017

Coverage Status

Coverage remained the same at 100.0% when pulling 90f9e67 on zemccartney:hapiv16-scrub into 0713b01 on devinivy:master.

@zemccartney
Copy link
Member Author

  • boom kept at 5, not 6, b/c 6 uses version of hoek that breaks on node 4
  • set node 8 to 8.7.0 in travis config b/c that's the last version where native http2 is not exposed by default

@@ -486,7 +486,7 @@ describe('Underdog', () => {
srv.stop(done);
});

request.on('push', () => next(new Error('Should not make it here')));
Copy link
Member

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.

Copy link
Member Author

@zemccartney zemccartney Nov 9, 2017

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'));
Copy link
Member

Choose a reason for hiding this comment

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

Ditto!

Copy link
Member Author

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"
Copy link
Member

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.

Copy link
Member Author

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"
Copy link
Member

Choose a reason for hiding this comment

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

Why this version exactly?

Copy link
Member

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!

nodejs/node#15685

Copy link
Member Author

Choose a reason for hiding this comment

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

:trollface: oh man, yea. took me a bit to peek through their changelog to sort that out. 🎺

@coveralls
Copy link

coveralls commented Nov 9, 2017

Coverage Status

Coverage remained the same at 100.0% when pulling bb70ac9 on zemccartney:hapiv16-scrub into 0713b01 on devinivy:master.

1 similar comment
@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling bb70ac9 on zemccartney:hapiv16-scrub into 0713b01 on devinivy:master.

@devinivy devinivy self-assigned this Nov 14, 2017
@devinivy devinivy added this to the 1.1.1 milestone Nov 14, 2017
@devinivy devinivy merged commit 82c9b36 into hapipal:master Nov 14, 2017
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.

3 participants