Move to native UUID (#5622)

This commit is contained in:
Ivaylo Pavlov
2024-02-21 09:25:23 +00:00
committed by GitHub
parent 9a63305b77
commit 21d5447fa5
3 changed files with 4 additions and 6 deletions

3
package-lock.json generated
View File

@ -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",

View File

@ -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",

View File

@ -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;