From 2a9908fe89a4683b13591a5323bdcefb134cf656 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 29 Jan 2023 12:15:37 +0000 Subject: 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 --- src/webview/notifications.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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 @@ import { ipcRenderer } from 'electron'; -import { v1 as uuidV1 } from 'uuid'; +import { v4 as uuidV4 } from 'uuid'; const debug = require('../preload-safe-debug')('Ferdium:Notifications'); @@ -12,7 +12,7 @@ export class NotificationsHandler { return new Promise(resolve => { debug('New notification', title, options); - const notificationId = uuidV1(); + const notificationId = uuidV4(); ipcRenderer.sendToHost( 'notification', -- cgit v1.2.3-54-g00ecf