chore(NA): upgrades uuid to v9.0.0 (#149135)

This PR upgrades uuid into its latest version `9.0.0`.
The previous default used version `v4` was kept where it was previously
used and places using `v1` or `v5` are still using it.

In this latest version they removed the deep import feature and as we
are not using tree shaking it increased our bundles by a significant
size. As such, I've moved this dependency into the `ui-shared-deps-npm`
bundle.

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
Tiago Costa 2023-01-19 19:48:07 +00:00 committed by GitHub
parent 195c8b052e
commit e38350f7f9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
361 changed files with 1111 additions and 1123 deletions

View file

@ -57,6 +57,7 @@ RUNTIME_DEPS = [
"@npm//rxjs",
"@npm//styled-components",
"@npm//tslib",
"@npm//uuid",
]
webpack_cli(

View file

@ -105,6 +105,7 @@ module.exports = (_, argv) => {
'rxjs/operators',
'styled-components',
'tslib',
'uuid',
],
'kbn-ui-shared-deps-npm.v8.dark': ['@elastic/eui/dist/eui_theme_dark.css'],
'kbn-ui-shared-deps-npm.v8.light': ['@elastic/eui/dist/eui_theme_light.css'],