Skip to content
This repository has been archived by the owner on Jun 18, 2020. It is now read-only.

Rewrite module in TypeScript #1

Merged
merged 14 commits into from
Mar 10, 2019
Merged

Rewrite module in TypeScript #1

merged 14 commits into from
Mar 10, 2019

Conversation

EvanHahn
Copy link
Member

@EvanHahn EvanHahn commented Mar 8, 2019

See helmetjs/helmet#188.

This branch rewrites the module in TypeScript. I am familiar with TypeScript but not its best practices so I'd love some 👀 on this.

.npmignore Show resolved Hide resolved
index.ts Show resolved Hide resolved
package.json Show resolved Hide resolved
package.json Show resolved Hide resolved
Copy link
Contributor

@sandersn sandersn left a comment

Choose a reason for hiding this comment

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

Looks good to me, although you might want to get a second opinion from people who are familiar with helmet.

.npmignore Show resolved Hide resolved
index.ts Show resolved Hide resolved
package.json Show resolved Hide resolved
index.ts Outdated Show resolved Hide resolved
package.json Show resolved Hide resolved
tsconfig.json Show resolved Hide resolved
@EvanHahn
Copy link
Member Author

EvanHahn commented Mar 9, 2019

This seems reasonably ready to go. Gonna let this simmer for a bit (in case anyone else wants to review) before I merge and deploy.

@EvanHahn EvanHahn merged commit a151c69 into master Mar 10, 2019
@EvanHahn EvanHahn deleted the typescript branch March 10, 2019 18:04
@EvanHahn
Copy link
Member Author

This has been deployed in ienoopen@1.1.0 and helmet@3.16.0.

@sandersn Thanks for your help! Please add yourself to the contributors list when you have a moment (or let me know your name and, optionally, a URL).

@sandersn
Copy link
Contributor

OK. The PR is #3

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

Successfully merging this pull request may close these issues.

2 participants