hikerpig / gatsby-project-kb

Developing gatsby-theme-kb, a Gatsby theme for publishing Knowledge Base.
https://gatsby-project-kb.vercel.app/
MIT License
62 stars 15 forks source link

[Snyk] Fix for 2 vulnerabilities #72

Open hikerpig opened 7 months ago

hikerpig commented 7 months ago

This PR was automatically created by Snyk using the credentials of a real user.


Snyk has created this PR to fix one or more vulnerable packages in the `npm` dependencies of this project.

#### Changes included in this PR - Changes to the following files to upgrade the vulnerable dependencies to a fixed version: - packages/gatsby-theme-kb/package.json #### Vulnerabilities that will be fixed ##### With an upgrade: Severity | Priority Score (*) | Issue | Breaking Change | Exploit Maturity :-------------------------:|-------------------------|:-------------------------|:-------------------------|:------------------------- ![high severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/h.png "high severity") | **696/1000**
**Why?** Proof of Concept exploit, Has a fix available, CVSS 7.5 | Regular Expression Denial of Service (ReDoS)
[SNYK-JS-NTHCHECK-1586032](https://snyk.io/vuln/SNYK-JS-NTHCHECK-1586032) | Yes | Proof of Concept ![high severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/h.png "high severity") | **696/1000**
**Why?** Proof of Concept exploit, Has a fix available, CVSS 7.5 | Regular Expression Denial of Service (ReDoS)
[SNYK-JS-TRIM-1017038](https://snyk.io/vuln/SNYK-JS-TRIM-1017038) | Yes | Proof of Concept (*) Note that the real score may have changed since the PR was raised.
Commit messages
Package name: @mdx-js/mdx The new version differs by 30 commits.
  • bf7deab v2.0.0-next.5
  • 5c15a00 fix(remark-mdx): move remark-stringify to deps (#1190)
  • f59b174 Make type test run in their own action, closes #1172 (#1179)
  • 9ac9755 docs(typescript): document how to use mdx 2 with typescript (#1181)
  • 42077e4 ci(github): update github actions to latest versions (#1180)
  • cc95646 ci(github): update github actions and dtslint to latest (#1178)
  • 6098d94 Remove deprecated plugin options, fixes #718 (#1174)
  • 0da2fcf Specify pre-dist-tag
  • e1b45e3 v2.0.0-next.4
  • 649dbd8 Implement inline link serialization that doesn't wrap them in angle (#1171)
  • d08c5b6 Make testing matrix simpler (#1173)
  • d0059c8 v2.0.0-next.3
  • fa091d2 v2.0.0-next.2
  • 7829b88 Move publish to its own action
  • afd60c2 Break out linting into its own action
  • 3ca8e0a Fix linting (#1161)
  • 577d48f Fix some linting
  • db93304 Improve export name extraction for shortcode generation (#1160)
  • ea9970a Bump deps, fix core-js version in babel configs
  • 166fd9d v2.0.0-next.1
  • 569f82f Make preid next to match dist tag
  • a3d8f08 types: add types to test utils (#1083)
  • e2eb4ee types: add typescript typings for remark-mdx, remark-mdx-remove-exports, remark-mdx-remove-imports, @ mdx-js/util (#1082)
  • 65af47c Break three main tests into their own scripts
See the full diff
Package name: gatsby-plugin-mdx The new version differs by 59 commits.
  • b8eac2d chore(release): Publish
  • 3253a38 fix(gatsby-plugin-mdx): Hashing and pluginOptions (#36387) (#36395)
  • 1880491 fix(gatsby-script): Reach router import (#36385) (#36394)
  • f664ad2 feat(gatsby): Telemetry tracking for Head API (#36352)
  • ab55e4e chore: Update `got` (#36366)
  • 2b4ff76 fix(gatsby): Make runtime error overlay work in non-v8 browsers (#36365)
  • f990e08 fix(test): clear and close lmdb after each test suite (#36343)
  • 7fcf580 fix(gatsby): e.remove() is not a function when using Gatsby Head API (#36338)
  • 25fb9d1 chore: Fix pipeline tests (#36363)
  • a9132a5 chore(deps): update sharp (#35539)
  • bc80c23 chore: Add note about rehype-slug-custom-id
  • 5b6f1f6 chore(gatsby): upgrade multer (#36359)
  • f2f0acf chore(gatsby-telemetry): upgrade git-up (#36358)
  • 86a8efc chore(release): Publish next
  • 0705ac7 chore(gatsby-plugin-mdx): Update .gitignore
  • c92db36 BREAKING CHANGE(gatsby-plugin-mdx): MDX v2 (#35650)
  • 3c0dd6d chore(release): Publish next
  • 86b6ee9 Revert "chore(gatsby): Make `plugins` in `PluginOptions` type optional (#36351)"
  • a2fa5a2 chore(gatsby): Make `plugins` in `PluginOptions` type optional (#36351)
  • 6ecfe4a fix(gatsby-source-contentful): Correctly overwrite field type on Assets (#36337)
  • 0ed362c chore(docs): Pre-encoded unicode characters can't be used in paths (#36325)
  • 2bbe96d fix(deps): update dependency file-type to ^16.5.4 for gatsby-source-filesystem (#36276)
  • 2be3fa7 chore(docs): Add first batch of Cloud docs (#36218)
  • 4238142 chore(docs): Remove outdated examples and recipes (#36335)
See the full diff
Check the changes in this PR to ensure they won't cause issues with your project. ------------ **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: 🧐 [View latest project report](https://app.snyk.io/org/hikerpig/project/d4bdc70f-5197-479c-8f3c-e91d59db1706?utm_source=github&utm_medium=referral&page=fix-pr) 🛠 [Adjust project settings](https://app.snyk.io/org/hikerpig/project/d4bdc70f-5197-479c-8f3c-e91d59db1706?utm_source=github&utm_medium=referral&page=fix-pr/settings) 📚 [Read more about Snyk's upgrade and patch logic](https://support.snyk.io/hc/en-us/articles/360003891078-Snyk-patches-to-fix-vulnerabilities) [//]: # (snyk:metadata:{"prId":"cdcbaea6-eb1e-4dc3-9ba4-74836f46e777","prPublicId":"cdcbaea6-eb1e-4dc3-9ba4-74836f46e777","dependencies":[{"name":"@mdx-js/mdx","from":"1.6.22","to":"2.0.0"},{"name":"gatsby-plugin-mdx","from":"3.20.0","to":"4.0.0"}],"packageManager":"npm","projectPublicId":"d4bdc70f-5197-479c-8f3c-e91d59db1706","projectUrl":"https://app.snyk.io/org/hikerpig/project/d4bdc70f-5197-479c-8f3c-e91d59db1706?utm_source=github&utm_medium=referral&page=fix-pr","type":"auto","patch":[],"vulns":["SNYK-JS-NTHCHECK-1586032","SNYK-JS-TRIM-1017038"],"upgrade":["SNYK-JS-NTHCHECK-1586032","SNYK-JS-TRIM-1017038"],"isBreakingChange":true,"env":"prod","prType":"fix","templateVariants":["priorityScore"],"priorityScoreList":[696,696],"remediationStrategy":"vuln"}) --- **Learn how to fix vulnerabilities with free interactive lessons:** 🦉 [Regular Expression Denial of Service (ReDoS)](https://learn.snyk.io/lesson/redos/?loc=fix-pr)