From 8167f90bb6c70c6b7cbdd05017bdd44545b35d9a Mon Sep 17 00:00:00 2001 From: Sebastian Malton Date: Mon, 24 Jan 2022 11:00:47 -0500 Subject: [PATCH] upgrade to 14.2.4 Signed-off-by: Sebastian Malton --- .yarnrc | 2 +- package.json | 2 +- src/common/ipc/window-actions.ts | 20 ++++++++++++++++++++ yarn.lock | 8 ++++---- 4 files changed, 26 insertions(+), 6 deletions(-) create mode 100644 src/common/ipc/window-actions.ts diff --git a/.yarnrc b/.yarnrc index f86ea8e49f..c8e7a49bbe 100644 --- a/.yarnrc +++ b/.yarnrc @@ -1,3 +1,3 @@ disturl "https://atom.io/download/electron" -target "14.2.1" +target "14.2.4" runtime "electron" diff --git a/package.json b/package.json index 05cb2bcfa9..398eff127c 100644 --- a/package.json +++ b/package.json @@ -333,7 +333,7 @@ "css-loader": "^5.2.7", "deepdash": "^5.3.9", "dompurify": "^2.3.4", - "electron": "^14.2.1", + "electron": "^14.2.4", "electron-builder": "^22.14.5", "electron-notarize": "^0.3.0", "esbuild": "^0.13.15", diff --git a/src/common/ipc/window-actions.ts b/src/common/ipc/window-actions.ts new file mode 100644 index 0000000000..af01e9f49e --- /dev/null +++ b/src/common/ipc/window-actions.ts @@ -0,0 +1,20 @@ +/** + * Copyright (c) 2021 OpenLens Authors + * + * Permission is hereby granted, free of charge, to any person obtaining a copy of + * this software and associated documentation files (the "Software"), to deal in + * the Software without restriction, including without limitation the rights to + * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of + * the Software, and to permit persons to whom the Software is furnished to do so, + * subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS + * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR + * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER + * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + */ diff --git a/yarn.lock b/yarn.lock index 5dc6e815a3..26caa86d58 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5050,10 +5050,10 @@ electron-window-state@^5.0.3: jsonfile "^4.0.0" mkdirp "^0.5.1" -electron@^14.2.1: - version "14.2.3" - resolved "https://registry.yarnpkg.com/electron/-/electron-14.2.3.tgz#3facf572c57cefe8ce80154ad3e63f937784644b" - integrity sha512-7wBqvzUKhK1tw544w3+F8J7NajnqURGC4pH3VFTiBHU5ayiI/oaTTXJxyFLZ54zsR7xwon/3dYEVjIm2i68+Zg== +electron@^14.2.4: + version "14.2.4" + resolved "https://registry.yarnpkg.com/electron/-/electron-14.2.4.tgz#243c71a16a85a4f70086d003b3437cd30b541da0" + integrity sha512-uskCIp+fpohqVYtM2Q28rbXLqGjZ6sWYylXcX6N+K8jR8kR2eHuDMIkO8DzWrTsqA6t4UNAzn+bJnA3VfIIjQw== dependencies: "@electron/get" "^1.0.1" "@types/node" "^14.6.2"