Closed charlesnchr closed 4 years ago
This is the warning it gets rid of:
DeprecationWarning: Deep requiring like const uuidv4 = require('uuid/v4');
is deprecated as of uuid@7.x. Please require the top-level module when using the Node.js CommonJS module or use ECMAScript Modules when bundling for the browser. See https://github.com/uuidjs/uuid#deep-requires-now-deprecated for more information.
Deep requires of uuid have been deprecated, so I updated the import to get rid of DeprecationWarning.