-
Notifications
You must be signed in to change notification settings - Fork 373
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
Removed setTo argument from xPoweredBy #226
Conversation
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.
Thanks for doing this! I left a few comments. Let me know if I can help further.
It is my pleasure to contribute to the world of opensource . There was a merge conflict in |
middlewares/expect-ct/index.ts
Outdated
@@ -21,12 +21,12 @@ function parseMaxAge(value: void | number): number { | |||
function getHeaderValueFromOptions(options: Readonly<ExpectCtOptions>): string { | |||
const directives: string[] = []; | |||
|
|||
directives.push(`max-age=${parseMaxAge(options.maxAge)}`); |
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.
This shouldn't be done as part of this pull request. Could you revert? We should also revert the changes in test/expect-ct.test.ts
.
(It can also be done against the master
branch instead of the 4.x
branch.)
Thanks for your help here! I will take a look tomorrow. |
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.
Looks good! Thank you!!
Could you fix the merge conflicts? Once you do that, I'll merge. Let me know if you need help with that.
I'm going to merge this now. Feel free to add yourself to the list of contributors
in package.json
in a separate pull request.
I don't see any merge conflicts between |
My mistake. Just merged this! Thanks so much! Would you like me to add you to the |
That would be great. Name: Ameen Abdeen Email: [email protected]. I don't have a website yet. |
See [this comment][0]. [0]: #226 (comment)
Credited you in e1746c1! Thanks again. |
Removed XPoweredByOptions and make xPoweredBy take no arguments.
Removed the test
Updated the changelog and linked it to the given wiki page