Skip to content

Commit

Permalink
chore(Deps): update short-unique-id to v5
Browse files Browse the repository at this point in the history
  • Loading branch information
ijsKoud committed Sep 11, 2023
1 parent 7a67e93 commit 51aaf68
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion apps/server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"node-os-utils": "^1.3.7",
"pidusage": "^3.0.2",
"prisma": "^5.2.0",
"short-unique-id": "^4.4.4",
"short-unique-id": "^5.0.2",
"ua-parser-js": "^1.0.35",
"winston": "^3.10.0",
"winston-daily-rotate-file": "^4.7.1",
Expand Down
2 changes: 1 addition & 1 deletion apps/server/src/lib/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export class Utils {
case "id":
default: {
const genId = new ShortUniqueId.default({ length });
return genId();
return genId.rnd();
}
case "zerowidth": {
const invisibleCharset = ["\u200B", "\u2060", "\u200C", "\u200D"];
Expand Down
10 changes: 5 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -8548,7 +8548,7 @@ __metadata:
node-os-utils: ^1.3.7
pidusage: ^3.0.2
prisma: ^5.2.0
short-unique-id: ^4.4.4
short-unique-id: ^5.0.2
typescript: ^5.2.2
ua-parser-js: ^1.0.35
winston: ^3.10.0
Expand Down Expand Up @@ -8589,13 +8589,13 @@ __metadata:
languageName: node
linkType: hard

"short-unique-id@npm:^4.4.4":
version: 4.4.4
resolution: "short-unique-id@npm:4.4.4"
"short-unique-id@npm:^5.0.2":
version: 5.0.2
resolution: "short-unique-id@npm:5.0.2"
bin:
short-unique-id: bin/short-unique-id
suid: bin/short-unique-id
checksum: 3507f2e97326e49180dd4edbf41dd762a76c591df3fd5b7c1e7592bfb0c2f5724d63e626cc6f581c717d3111374811ca1d77a728ac07b0b9041b2355700124d4
checksum: f376233cc69ca232d31f511fe8bcd787a6f2e0673dcf84f152acd6f4ec8e869b9624e453ac7419909785f3c3ea55d94bb1bfac6bde4648353bd45c1e2401101a
languageName: node
linkType: hard

Expand Down

0 comments on commit 51aaf68

Please sign in to comment.