-
Notifications
You must be signed in to change notification settings - Fork 32
Fix/security frontend micromatch redos #209
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
Open
harsh-hak
wants to merge
15
commits into
Gopher-Industries:master
Choose a base branch
from
harsh-hak:fix/security-frontend-micromatch-redos
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 2 commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
9ff0b7a
chore: Update dependencies, add security-related packages, and remove…
harsh-hak 256c772
chore: update firebase dependency to version 11.0.0.
harsh-hak 013f240
chore: Allow minor updates for firebase dependency by changing its ve…
harsh-hak 659447f
feat: Add core user authentication, recipe creation, barcode scanning…
harsh-hak 34d57b4
chore: remove file
harsh-hak 6caf351
backend , front end and API run all with the same coommand
harsh-hak 05598a0
feat: Implement medical breach detection module, new health tools pag…
harsh-hak 631ed87
fix(security): upgrade jspdf to v4.0.0 and html2pdf.js to v0.14.0
harsh-hak 22bf68c
docs: add description for Medical Data Breach Checker feature
harsh-hak 9f20d6d
docs: simplify Medical Data Breach Checker description
harsh-hak 3b17a9f
chore: delete file
harsh-hak 258ebe9
chore: Add git_log.txt.chore: Add git_log.txt.
harsh-hak 94097d3
Merge branch 'master' into master
harsh-hak a0f024d
Merge branch 'Backend-,-Frontend-,-API-Integration' into master
harsh-hak 9408748
fix(security): Upgrade micromatch to resolve ReDoS vulnerability
harsh-hak File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Submodule Nutrihelp-api
updated
from a871da to 28148c
Binary file not shown.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,94 @@ | ||
| import React from 'react'; | ||
| import '../styles/auth.css' | ||
| function Allergy() { | ||
| return ( | ||
| <div className="main"> | ||
| <section className="signup"> | ||
| <div className="container"> | ||
| <div className="signup-content"> | ||
| <div className="signup-form"> | ||
| <h2 className="form-title">Meal Planning</h2> | ||
| <hr /> | ||
| <h3>Select meals for personalized planning</h3> | ||
| <div className="form-group"> | ||
| <button className="sel">Breakfast</button> | ||
| <button className="sel">Lunch</button> | ||
| <button className="sel">Dinner</button> | ||
| <button className="sel">Desert</button> | ||
| </div> | ||
| <hr /> | ||
| <div className="form-group form-button"> | ||
| <input type="submit" name="continue" className="form-submit" value="Continue" /> | ||
| </div> | ||
| </div> | ||
| </div> | ||
| </div> | ||
| </section> | ||
| <section className="signup"> | ||
| <div className="container"> | ||
| <div className="signup-content"> | ||
| <div className="signup-form"> | ||
| <h2 className="form-title">Dietary Requirements</h2> | ||
| <div className="diet-form"> | ||
| <div className="form-group" id="sd"> | ||
| <div className="searchable-dropdown"> | ||
| <input type="text" id="diet-input" placeholder="Search dislikes" /> | ||
| <ul id="diet-list"> | ||
| <li id="option-1" data-value="1">input 1</li> | ||
| <hr /> | ||
| <li data-value="2">input 2</li> | ||
| <hr /> | ||
| <li data-value="3">input 3</li> | ||
| <hr /> | ||
| <li data-value="4">input 4</li> | ||
| </ul> | ||
| </div> | ||
| </div> | ||
| <div className="form-group"> | ||
| <div className="form-group"> | ||
| <button className="sel">Vegetarian</button> | ||
| <button className="sel">Vegan</button> | ||
| <button className="sel">Keto</button> | ||
| <button className="sel">Pescetarian</button> | ||
| <button className="sel">Low Carb</button> | ||
| <button className="sel">Lactose Intolerance</button> | ||
| <button className="sel">Paleo</button> | ||
| </div> | ||
| </div> | ||
| <hr /> | ||
| <h2 className="form-title">Allergies</h2> | ||
| <div className="form-group" id="sd2"> | ||
| <div className="searchable-dropdown"> | ||
| <input type="text" id="allergy-input" placeholder="Search conditions" /> | ||
| <ul id="allergy-list"> | ||
| <li id="option-1" data-value="1">item 1</li> | ||
| <hr /> | ||
| <li data-value="2">item 2</li> | ||
| <hr /> | ||
| <li data-value="3">item 3</li> | ||
| <hr /> | ||
| <li data-value="4">item 4</li> | ||
| </ul> | ||
| </div> | ||
| </div> | ||
| <div className="form-group"> | ||
| <button className="sel">Soy</button> | ||
| <button className="sel">Dairy</button> | ||
| <button className="sel">Fish</button> | ||
| <button className="sel">Eggs</button> | ||
| <button className="sel">Gluten</button> | ||
| <button className="sel">Nuts</button> | ||
| </div> | ||
| <div className="form-group form-button"> | ||
| <input type="submit" name="continue" className="form-submit" value="Continue" /> | ||
| </div> | ||
| </div> | ||
| </div> | ||
| </div> | ||
| </div> | ||
| </section> | ||
| </div> | ||
| ); | ||
| } | ||
|
|
||
| export default Allergy; |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
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.
Not sure if this is for fontend but there is already an existing allergy prefrences page and separte meal planning page.