box/box-ui-elements

Old version of UUID package throws console warning

rebolyte opened this issue · 1 comments

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 should resolve it.

Hi team, any update here?