mirror of
https://github.com/facebook/lexical.git
synced 2025-05-17 15:18:47 +08:00
Move to native UUID (#5622)
This commit is contained in:
3
package-lock.json
generated
3
package-lock.json
generated
@ -81,8 +81,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"
|
||||
},
|
||||
"engines": {
|
||||
"npm": ">=8.2.3",
|
||||
|
@ -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",
|
||||
|
@ -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';
|
||||
|
||||
@ -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;
|
||||
|
Reference in New Issue
Block a user