Skip to content

Commit

Permalink
Address CVE (opensearch-project#535)
Browse files Browse the repository at this point in the history
This PR addresses a CVE related to our use of a version of moment.js that is below 2.29.2.

Modified as per the reference PR: https://github.com/opensearch-project/OpenSearch-Dashboards/pull/1931/files

Testing done:
1. Executed an end-to-end test to ensure that we can still create and run a detector with the updated moment.js version.

Signed-off-by: Kaituo Li <[email protected]>
  • Loading branch information
kaituo authored Jul 10, 2023
1 parent 1e29c08 commit 53eab96
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@
"json5": "^2.2.3",
"@sideway/formula": "^3.0.1",
"minimist": "^1.2.6",
"moment": "^2.29.4",
"minimatch": "^3.1.2",
"axios": "^0.21.4"
}
Expand Down
5 changes: 0 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2631,11 +2631,6 @@ mkdirp@^0.5.1, mkdirp@^0.5.3:
minimist "^1.2.5"

moment@^2.24.0:
version "2.29.1"
resolved "https://registry.yarnpkg.com/moment/-/moment-2.29.1.tgz#b2be769fa31940be9eeea6469c075e35006fa3d3"
integrity sha512-kHmoybcPV8Sqy59DwNDY3Jefr64lK/by/da0ViFcuA4DH0vQg5Q6Ze5VimxkfQNSC+Mls/Kx53s7TjP1RhFEDQ==

moment@^2.29.4:
version "2.29.4"
resolved "https://registry.yarnpkg.com/moment/-/moment-2.29.4.tgz#3dbe052889fe7c1b2ed966fcb3a77328964ef108"
integrity sha512-5LC9SOxjSc2HF6vO2CyuTDNivEdoz2IvyJJGj6X8DJ0eFyfszE0QiEd+iXmBvUP3WHxSjFH/vIsA0EN00cgr8w==
Expand Down

0 comments on commit 53eab96

Please sign in to comment.