Skip to content

Commit

Permalink
Move to native UUID (facebook#5622)
Browse files Browse the repository at this point in the history
  • Loading branch information
ivailop7 authored Feb 21, 2024
1 parent 9a63305 commit 21d5447
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
3 changes: 1 addition & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -165,8 +165,7 @@
"ts-jest": "^29.0.0",
"ts-node": "^10.9.1",
"typedoc": "^0.24.8",
"typescript": "5.1.6",
"uuid": "^8.3.2"
"typescript": "5.1.6"
},
"dependencies": {
"@types/katex": "^0.14.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/lexical-playground/__tests__/utils/index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
*/

import {expect, test as base} from '@playwright/test';
import {randomUUID} from 'node:crypto';
import prettier from 'prettier';
import {URLSearchParams} from 'url';
import {v4 as uuidv4} from 'uuid';

import {selectAll} from '../keyboardShortcuts/index.mjs';

Expand Down Expand Up @@ -67,7 +67,7 @@ export async function initialize({
appSettings.disableBeforeInput = LEGACY_EVENTS;
if (isCollab) {
appSettings.isCollab = isCollab;
appSettings.collabId = uuidv4();
appSettings.collabId = randomUUID();
}
if (showNestedEditorTreeView === undefined) {
appSettings.showNestedEditorTreeView = true;
Expand Down

0 comments on commit 21d5447

Please sign in to comment.