Skip to content

Commit 1a2a5f7

Browse files
committed
Update dependency uuid to v13
1 parent 1e89f68 commit 1a2a5f7

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

lib/browser-runtime.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1261,7 +1261,9 @@ export default function createTests(
12611261

12621262
const newId: messages.IdGenerator.NewId = () =>
12631263
uuid({
1264-
random: Array.from({ length: 16 }, () => Math.floor(prng() * 256)),
1264+
random: Uint8Array.of(
1265+
...Array.from({ length: 16 }, () => Math.floor(prng() * 256)),
1266+
),
12651267
});
12661268

12671269
registry.finalize(newId);

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@
8686
"mocha": "^11.0.0",
8787
"seedrandom": "^3.0.5",
8888
"split": "^1.0.1",
89-
"uuid": "^10.0.0"
89+
"uuid": "^13.0.0"
9090
},
9191
"devDependencies": {
9292
"@babel/parser": "^7.25.3",

0 commit comments

Comments
 (0)