Skip to content

Commit

Permalink
fix: Regular Expression Denial of Service (ReDoS) in micromatch
Browse files Browse the repository at this point in the history
  • Loading branch information
SnowballXueQiu committed Aug 22, 2024
1 parent 060da89 commit f295710
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"@tabler/icons-react": "^3.6.0",
"@testing-library/jest-dom": "^6.4.8",
"@types/mdx": "^2.0.13",
"micromatch": "^4.0.7",
"next": "14.2.4",
"react": "18.3.1",
"react-dom": "18.3.1",
Expand All @@ -39,6 +40,7 @@
"@babel/core": "^7.24.7",
"@next/eslint-plugin-next": "^14.2.4",
"@types/jest": "^29.5.12",
"@types/micromatch": "^4",
"@types/node": "^20.14.8",
"@types/react": "18.3.3",
"@typescript-eslint/eslint-plugin": "^7.13.1",
Expand Down
18 changes: 18 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1487,6 +1487,13 @@ __metadata:
languageName: node
linkType: hard

"@types/braces@npm:*":
version: 3.0.4
resolution: "@types/braces@npm:3.0.4"
checksum: 10c0/05220f330814364318a1c2f403046d717690cabf3adc8417357b0b12713f92768cf9df76e0e25212b5a2727c8c56765ff19a284c7ece39e0985d0d6fadb6c4aa
languageName: node
linkType: hard

"@types/debug@npm:^4.0.0":
version: 4.1.12
resolution: "@types/debug@npm:4.1.12"
Expand Down Expand Up @@ -1606,6 +1613,15 @@ __metadata:
languageName: node
linkType: hard

"@types/micromatch@npm:^4":
version: 4.0.9
resolution: "@types/micromatch@npm:4.0.9"
dependencies:
"@types/braces": "npm:*"
checksum: 10c0/b13d7594b4320f20729f20156c51e957d79deb15083f98a736689cd0d3e4ba83b5d125959f6edf65270a6b6db90db9cebef8168d88e1c4eedc9a18aecc0234a3
languageName: node
linkType: hard

"@types/ms@npm:*":
version: 0.7.34
resolution: "@types/ms@npm:0.7.34"
Expand Down Expand Up @@ -6094,6 +6110,7 @@ __metadata:
"@testing-library/jest-dom": "npm:^6.4.8"
"@types/jest": "npm:^29.5.12"
"@types/mdx": "npm:^2.0.13"
"@types/micromatch": "npm:^4"
"@types/node": "npm:^20.14.8"
"@types/react": "npm:18.3.3"
"@typescript-eslint/eslint-plugin": "npm:^7.13.1"
Expand All @@ -6111,6 +6128,7 @@ __metadata:
eslint-plugin-testing-library: "npm:^6.2.2"
jest: "npm:^29.7.0"
jest-environment-jsdom: "npm:^29.7.0"
micromatch: "npm:^4.0.7"
next: "npm:14.2.4"
postcss: "npm:^8.4.38"
postcss-preset-mantine: "npm:1.17.0"
Expand Down

0 comments on commit f295710

Please sign in to comment.