Skip to content
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

Fix vulnerability of regular expression denial of service by upgrading semver to 7.5.3 #14262

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@

### Chore & Maintenance

- `[*]` Update `semver` dependency to get vulnerability fix ([#14262](https://github.com/jestjs/jest/pull/14262))
- `[docs]` Updated documentation for the `--runTestsByPath` CLI command ([#14004](https://github.com/facebook/jest/pull/14004))
- `[docs]` Updated documentation regarding the synchronous fallback when asynchronous code transforms are unavailable ([#14056](https://github.com/facebook/jest/pull/14056))
- `[docs]` Update jest statistics of use and downloads in website Index.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
"read-pkg": "^5.2.0",
"resolve": "^1.20.0",
"rimraf": "^5.0.0",
"semver": "^7.3.5",
"semver": "^7.5.3",
"slash": "^3.0.0",
"string-length": "^4.0.1",
"strip-ansi": "^6.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/jest-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"@types/graceful-fs": "^4.1.3",
"@types/micromatch": "^4.0.1",
"@types/parse-json": "^4.0.0",
"semver": "^7.3.5",
"semver": "^7.5.3",
"ts-node": "^10.5.0",
"typescript": "^5.0.4"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/jest-snapshot/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"jest-util": "workspace:^",
"natural-compare": "^1.4.0",
"pretty-format": "workspace:^",
"semver": "^7.3.5"
"semver": "^7.5.3"
},
"devDependencies": {
"@babel/preset-flow": "^7.7.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/test-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"ansi-regex": "^5.0.1",
"ansi-styles": "^5.0.0",
"pretty-format": "workspace:^",
"semver": "^7.3.5"
"semver": "^7.5.3"
},
"devDependencies": {
"@types/semver": "^7.1.0"
Expand Down
16 changes: 8 additions & 8 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2905,7 +2905,7 @@ __metadata:
read-pkg: ^5.2.0
resolve: ^1.20.0
rimraf: ^5.0.0
semver: ^7.3.5
semver: ^7.5.3
slash: ^3.0.0
string-length: ^4.0.1
strip-ansi: ^6.0.0
Expand Down Expand Up @@ -3035,7 +3035,7 @@ __metadata:
ansi-regex: ^5.0.1
ansi-styles: ^5.0.0
pretty-format: "workspace:^"
semver: ^7.3.5
semver: ^7.5.3
languageName: unknown
linkType: soft

Expand Down Expand Up @@ -12541,7 +12541,7 @@ __metadata:
micromatch: ^4.0.4
parse-json: ^5.2.0
pretty-format: "workspace:^"
semver: ^7.3.5
semver: ^7.5.3
slash: ^3.0.0
strip-json-comments: ^3.1.1
ts-node: ^10.5.0
Expand Down Expand Up @@ -12993,7 +12993,7 @@ __metadata:
natural-compare: ^1.4.0
prettier: ^2.1.1
pretty-format: "workspace:^"
semver: ^7.3.5
semver: ^7.5.3
tsd-lite: ^0.7.0
languageName: unknown
linkType: soft
Expand Down Expand Up @@ -18565,14 +18565,14 @@ __metadata:
languageName: node
linkType: hard

"semver@npm:^7.0.0, semver@npm:^7.1.1, semver@npm:^7.3.2, semver@npm:^7.3.4, semver@npm:^7.3.5, semver@npm:^7.3.7, semver@npm:^7.3.8, semver@npm:^7.5.1":
version: 7.5.2
resolution: "semver@npm:7.5.2"
"semver@npm:^7.0.0, semver@npm:^7.1.1, semver@npm:^7.3.2, semver@npm:^7.3.4, semver@npm:^7.3.5, semver@npm:^7.3.7, semver@npm:^7.3.8, semver@npm:^7.5.1, semver@npm:^7.5.3":
version: 7.5.3
resolution: "semver@npm:7.5.3"
dependencies:
lru-cache: ^6.0.0
bin:
semver: bin/semver.js
checksum: 3fdf5d1e6f170fe8bcc41669e31787649af91af7f54f05c71d0865bb7aa27e8b92f68b3e6b582483e2c1c648008bc84249d2cd86301771fe5cbf7621d1fe5375
checksum: 9d58db16525e9f749ad0a696a1f27deabaa51f66e91d2fa2b0db3de3e9644e8677de3b7d7a03f4c15bc81521e0c3916d7369e0572dbde250d9bedf5194e2a8a7
languageName: node
linkType: hard

Expand Down