-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[deps] Replace compare-versions with semver #195287
[deps] Replace compare-versions with semver #195287
Conversation
💚 Build Succeeded
Metrics [docs]Module Count
Async chunks
History
|
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.
It may be worth to consider to put it into the shared bundle
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.
What do you think is the bundle size gain in this case?
I believe this should be a choice of the semver
library owner from now on :D
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.
Code changes LGTM
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.
Starting backport for target branches: 8.x |
## Summary We are reducing the number of dependencies by replacing the `compare-versions` library with the already used `semver` library that offer the same functionality. (cherry picked from commit 31f4f2c)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
# Backport This will backport the following commits from `main` to `8.x`: - [[deps] Replace compare-versions with semver (#195287)](#195287) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Marco Vettorello","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-10-08T19:23:12Z","message":"[deps] Replace compare-versions with semver (#195287)\n\n## Summary\r\n\r\nWe are reducing the number of dependencies by replacing the\r\n`compare-versions` library with the already used `semver` library that\r\noffer the same functionality.","sha":"31f4f2c9842f3f6713e004be22087379e9ccf3e7","branchLabelMapping":{"^v9.0.0$":"main","^v8.16.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","dependencies","v9.0.0","backport:prev-minor"],"title":"[deps] Replace compare-versions with semver","number":195287,"url":"https://github.com/elastic/kibana/pull/195287","mergeCommit":{"message":"[deps] Replace compare-versions with semver (#195287)\n\n## Summary\r\n\r\nWe are reducing the number of dependencies by replacing the\r\n`compare-versions` library with the already used `semver` library that\r\noffer the same functionality.","sha":"31f4f2c9842f3f6713e004be22087379e9ccf3e7"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/195287","number":195287,"mergeCommit":{"message":"[deps] Replace compare-versions with semver (#195287)\n\n## Summary\r\n\r\nWe are reducing the number of dependencies by replacing the\r\n`compare-versions` library with the already used `semver` library that\r\noffer the same functionality.","sha":"31f4f2c9842f3f6713e004be22087379e9ccf3e7"}}]}] BACKPORT--> Co-authored-by: Marco Vettorello <[email protected]>
Summary
We are reducing the number of dependencies by replacing the
compare-versions
library with the already usedsemver
library that offer the same functionality.