Skip to content

Commit

Permalink
[Snyk] Security upgrade nanoid from 4.0.2 to 5.0.9 (#280)
Browse files Browse the repository at this point in the history
![snyk-top-banner](https://redirect.github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123)

### Snyk has created this PR to fix 1 vulnerabilities in the npm
dependencies of this project.

#### Snyk changed the following file(s):

- `package.json`
- `package-lock.json`




#### Vulnerabilities that will be fixed with an upgrade:

|  | Issue | Score | 

:-------------------------:|:-------------------------|:-------------------------
![medium
severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/m.png
'medium severity') | Improper Input Validation
<br/>[SNYK-JS-NANOID-8492085](https://snyk.io/vuln/SNYK-JS-NANOID-8492085)
| &nbsp;&nbsp;**601**&nbsp;&nbsp;




---

> [!IMPORTANT]
>
> - Check the changes in this PR to ensure they won't cause issues with
your project.
> - Max score is 1000. Note that the real score may have changed since
the PR was raised.
> - This PR was automatically created by Snyk using the credentials of a
real user.

---

**Note:** _You are seeing this because you or someone else with access
to this repository has authorized Snyk to open fix PRs._

For more information: <img
src="https://api.segment.io/v1/pixel/track?data=eyJ3cml0ZUtleSI6InJyWmxZcEdHY2RyTHZsb0lYd0dUcVg4WkFRTnNCOUEwIiwiYW5vbnltb3VzSWQiOiI1MWFlMzI3Yy0zMzBkLTRjMTAtYjIxYi05YmFlYTFmODk2NzQiLCJldmVudCI6IlBSIHZpZXdlZCIsInByb3BlcnRpZXMiOnsicHJJZCI6IjUxYWUzMjdjLTMzMGQtNGMxMC1iMjFiLTliYWVhMWY4OTY3NCJ9fQ=="
width="0" height="0"/>
🧐 [View latest project
report](https://app.snyk.io/org/replit/project/0e33ff1e-6cfe-40f2-8c96-b9c1529fc9a8?utm_source&#x3D;github&amp;utm_medium&#x3D;referral&amp;page&#x3D;fix-pr)
📜 [Customise PR
templates](https://docs.snyk.io/scan-using-snyk/pull-requests/snyk-fix-pull-or-merge-requests/customize-pr-templates?utm_source=github&utm_content=fix-pr-template)
🛠 [Adjust project
settings](https://app.snyk.io/org/replit/project/0e33ff1e-6cfe-40f2-8c96-b9c1529fc9a8?utm_source&#x3D;github&amp;utm_medium&#x3D;referral&amp;page&#x3D;fix-pr/settings)
📚 [Read about Snyk's upgrade
logic](https://docs.snyk.io/scan-with-snyk/snyk-open-source/manage-vulnerabilities/upgrade-package-versions-to-fix-vulnerabilities?utm_source=github&utm_content=fix-pr-template)

---

**Learn how to fix vulnerabilities with free interactive lessons:**

🦉 [Improper Input
Validation](https://learn.snyk.io/lesson/improper-input-validation/?loc&#x3D;fix-pr)

[//]: #
'snyk:metadata:{"customTemplate":{"variablesUsed":[],"fieldsUsed":[]},"dependencies":[{"name":"nanoid","from":"4.0.2","to":"5.0.9"}],"env":"prod","issuesToFix":["SNYK-JS-NANOID-8492085"],"prId":"51ae327c-330d-4c10-b21b-9baea1f89674","prPublicId":"51ae327c-330d-4c10-b21b-9baea1f89674","packageManager":"npm","priorityScoreList":[601],"projectPublicId":"0e33ff1e-6cfe-40f2-8c96-b9c1529fc9a8","projectUrl":"https://app.snyk.io/org/replit/project/0e33ff1e-6cfe-40f2-8c96-b9c1529fc9a8?utm_source=github&utm_medium=referral&page=fix-pr","prType":"fix","templateFieldSources":{"branchName":"default","commitMessage":"default","description":"default","title":"default"},"templateVariants":["updated-fix-title","priorityScore"],"type":"auto","upgrade":["SNYK-JS-NANOID-8492085"],"vulns":["SNYK-JS-NANOID-8492085"],"patch":[],"isBreakingChange":true,"remediationStrategy":"vuln"}'

Co-authored-by: snyk-bot <[email protected]>
  • Loading branch information
replit-reliability and snyk-bot authored Dec 10, 2024
1 parent 9b4912d commit 1007a55
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
17 changes: 9 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
],
"dependencies": {
"@msgpack/msgpack": "^3.0.0-beta2",
"nanoid": "^4.0.2",
"nanoid": "^5.0.9",
"ws": "^8.17.0"
},
"peerDependencies": {
Expand Down

0 comments on commit 1007a55

Please sign in to comment.