Old version of UUID package throws console warning
Open
enhancement
- Dominant language
- TypeScript
- Stars
- 551
- Forks
- 351
- Avg merge
- 5d 9h
- Merged PRs (30d)
- 31
Description
Looks like box-ui-elements currently depends on `uuid` 3.3.2, but in an app that uses a more recent version (mine is 7.0.3) the following warning appears in the console:
```
Deep requiring like `const uuidv4 = require('uuid/v4');` is deprecated as of uuid@7.x.
```
with a link to https://github.com/uuidjs/uuid#deep-requires-now-deprecated for more info.
Updating the version and the import [here](https://github.com/box/box-ui-elements/blob/master/src/elements/common/logger/Logger.js#L4) should resolve it.
Contributor guide
Assessment
This issue has not been assessed yet.