Skip to content

Commit

Permalink
minor: Move to native UUID
Browse files Browse the repository at this point in the history
  • Loading branch information
umaranis committed Mar 31, 2024
1 parent 9bbcdb4 commit 516c125
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 11 deletions.
1 change: 0 additions & 1 deletion demos/playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@
"svelte-preprocess": "^5.0.3",
"tslib": "^2.5.0",
"typescript": "^5.0.4",
"uuid": "^9.0.0",
"vite": "^4.3.1"
},
"dependencies": {
Expand Down
4 changes: 2 additions & 2 deletions demos/playground/src/__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 @@ -51,7 +51,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
8 changes: 0 additions & 8 deletions pnpm-lock.yaml

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

0 comments on commit 516c125

Please sign in to comment.