From 4c7751eee98b9ac3ee258426e74d522d80437050 Mon Sep 17 00:00:00 2001 From: Jelle van der Waa Date: Wed, 26 Jun 2024 13:09:43 +0200 Subject: [PATCH] package.json: hack around @novnc/novnc being updated `@patternfly/react-console` depends on `@novnc/novnc` but allows minor and patch version updates. A minor version of novnc broke PatternFly's imports as they removed ES6 imports and therefore imports have to be adjusted. Until `@patternfly/react-console` merges my PR and releases a new version which is still compatible with PF5. https://github.com/novnc/noVNC/commit/b35cf6dd1253142267f68f052986d0560f7a495c https://github.com/patternfly/react-console/pull/57 --- node_modules | 2 +- package.json | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/node_modules b/node_modules index a0d35ea10..899b8f48b 160000 --- a/node_modules +++ b/node_modules @@ -1 +1 @@ -Subproject commit a0d35ea1084df4dcf9f26d24ebfdaf531cb95e63 +Subproject commit 899b8f48b2e71ea9bcb2aac0651c9601182c7d74 diff --git a/package.json b/package.json index 0e3dafc81..bac9ca6db 100644 --- a/package.json +++ b/package.json @@ -60,6 +60,7 @@ "redux-thunk": "3.1.0", "throttle-debounce": "5.0.0", "xterm": "5.1.0", - "xterm-addon-canvas": "0.5.0" + "xterm-addon-canvas": "0.5.0", + "@novnc/novnc": "1.4.0" } }