You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BREAKING CHANGE: Deep requiring specific algorithms of this library like
require('uuid/v4'), which has been deprecated in uuid@7, is no longer
supported.
Instead use the named exports that this module exports.
For ECMAScript Modules (ESM):
```javascript
import { v4 as uuidv4 } from 'uuid';
uuidv4();
```
For CommonJS:
```javascript
const { v4: uuidv4 } = require('uuid');
uuidv4();
```
No longer supported is this:
```javascript
const uuidv4 = require('uuid/v4'); // <== NO LONGER SUPPORTED!
uuidv4();
```
0 commit comments