* fix: update helmet and bcrypt lesson instructions * fix: update instrutions I missed * Update curriculum/challenges/english/09-information-security/information-security-with-helmetjs/install-and-require-helmet.md Co-authored-by: Shaun Hamilton <51722130+Sky020@users.noreply.github.com> * Update curriculum/challenges/english/09-information-security/information-security-with-helmetjs/understand-bcrypt-hashes.md Co-authored-by: Shaun Hamilton <51722130+Sky020@users.noreply.github.com> Co-authored-by: Shaun Hamilton <51722130+Sky020@users.noreply.github.com>
1.4 KiB
1.4 KiB
id, title, challengeType, forumTopicId
id | title | challengeType | forumTopicId |
---|---|---|---|
587d8247367417b2b2512c36 | Install and Require Helmet | 2 | 301581 |
Description
Instructions
All your code for these lessons goes in the myApp.js
file between the lines of code we have started you off with. Do not change or delete the code we have added for you.
Install Helmet version 3.21.3
, then require it.
Tests
tests:
- text: '<code>helmet</code> version <code>3.21.3</code> should be in <code>package.json</code>'
testString: getUserInput => $.get(getUserInput('url') + '/_api/package.json').then(data => { var packJson = JSON.parse(data); assert(packJson.dependencies.helmet === '3.21.3' ); }, xhr => { throw new Error(xhr.responseText); })
Challenge Seed
Solution
/**
Backend challenges don't need solutions,
because they would need to be tested against a full working project.
Please check our contributing guidelines to learn more.
*/