aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLibravatar dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>2023-01-29 12:15:37 +0000
committerLibravatar GitHub <noreply@github.com>2023-01-29 12:15:37 +0000
commit2a9908fe89a4683b13591a5323bdcefb134cf656 (patch)
tree63e8ec6fc4d71c9c3bf574d0aaf9042ef99f99b8 /src
parentfeat(i18n): New Crowdin translations (Chinese Simplified) [skip ci] (#895) (diff)
downloadferdium-app-2a9908fe89a4683b13591a5323bdcefb134cf656.tar.gz
ferdium-app-2a9908fe89a4683b13591a5323bdcefb134cf656.tar.zst
ferdium-app-2a9908fe89a4683b13591a5323bdcefb134cf656.zip
Bump uuid from 8.3.2 to 9.0.0 (#884)
Use new version of 'uuid' module and also refer to v4 of the uuid spec for generating unique notificationId Co-authored-by: Vijay A <vraravam@users.noreply.github.com>
Diffstat (limited to 'src')
-rw-r--r--src/webview/notifications.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/webview/notifications.ts b/src/webview/notifications.ts
index 8b2831754..7f6ce01fd 100644
--- a/src/webview/notifications.ts
+++ b/src/webview/notifications.ts
@@ -1,6 +1,6 @@
1import { ipcRenderer } from 'electron'; 1import { ipcRenderer } from 'electron';
2 2
3import { v1 as uuidV1 } from 'uuid'; 3import { v4 as uuidV4 } from 'uuid';
4 4
5const debug = require('../preload-safe-debug')('Ferdium:Notifications'); 5const debug = require('../preload-safe-debug')('Ferdium:Notifications');
6 6
@@ -12,7 +12,7 @@ export class NotificationsHandler {
12 return new Promise(resolve => { 12 return new Promise(resolve => {
13 debug('New notification', title, options); 13 debug('New notification', title, options);
14 14
15 const notificationId = uuidV1(); 15 const notificationId = uuidV4();
16 16
17 ipcRenderer.sendToHost( 17 ipcRenderer.sendToHost(
18 'notification', 18 'notification',