Open SamMousa opened 1 year ago
There's only very few call sites to update and it would remove a deprecated warning from every install.
Changing code this pretty simple as explained here: https://www.npmjs.com/package/uuid#upgrading-from-uuid3
Also it seems at least one call site uses the new syntax: import { v4 as uuidv4 } from 'uuid';, which leads me to believe that just replacing every import with that line allows you to update the uuid dependency to the latest version.
import { v4 as uuidv4 } from 'uuid';
The pr made to resolve this forgot to update the uuid version in package.json
Hi @SamMousa , @kirtan-desai
Thank you for pointing out this issue to us. We will address it in the next testcafe release.
There's only very few call sites to update and it would remove a deprecated warning from every install.
Changing code this pretty simple as explained here: https://www.npmjs.com/package/uuid#upgrading-from-uuid3
Also it seems at least one call site uses the new syntax:
import { v4 as uuidv4 } from 'uuid';
, which leads me to believe that just replacing every import with that line allows you to update the uuid dependency to the latest version.