-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
nested parentheses link #1414
nested parentheses link #1414
Conversation
I'd like to get opinions from @Feder1co5oave and @davisjam on this approach. |
We should merge this soon and release a new version to fix https://snyk.io/vuln/SNYK-JS-MARKED-73637 |
@UziTech Why is this PR still failing snyk? (I can't actually see the Details when I click it) |
The snyk check is failing because of https://snyk.io/vuln/SNYK-JS-MARKED-73637 maybe we should disable that check since it seems to be more of a false positive on most PRs. |
But enough people use snyk that its probably good to know when we are failing. It sounds like the one thats failing is not related to this PR so I see why that's confusing. |
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.
I'm approving because I appreciate that this fixes a defect; however, before merging I would really like to know more about the Snyk thing (same with @styfle). I don't want to disable Snyk because they are widely, they've always done right by us, and it is the one area we said we would take very seriously.
The Snyk Github integration matches package version and dependencies to vulnerabilities in their database. Since there is a vulnerability in the current version of marked, all new PRs will fail the Snyk check. Marked doesn't have any regular dependencies so the only thing the Snyk check will tell us is if the current version of marked has a vulnerability or if there is a vulnerability in one of our dev dependencies (neither of which I think is especially helpful to check on every new PR) |
Hi, this looks good to me, although I'm not sure escaping works as expected: can you verify inputs such as
? Unfortunately I can't do it myself right now |
it looks like it works |
If the function sees a |
Let’s remove the Snyk check on PRs (I think @joshbruce has to disable it) Maybe we should add the badge to the README |
I'm fine with that - sound argument from @UziTech and good suggestion from @styfle. Can we also double check a few things on the GitHub operations front? You both are admins.
Thoughts and feedback, as always, welcome. |
I just noticed that page automatically redirects to
|
Marked version: 0.6.0
Description
This is my proposed fix for #1405. It works with allowing multiple nested parentheses.
fixes #1405
closes #1408
Contributor
Committer
In most cases, this should be a different person than the contributor.