From db4253500508ba66b3493c3b7f430169899b7e45 Mon Sep 17 00:00:00 2001 From: Simon Li Date: Fri, 12 Jul 2024 20:57:05 +0100 Subject: [PATCH] novnc 1.5.0 1.4.0 has two copies of `rfb.js` - `node_modules/@novnc/novnc/core/rfb.js` - `node_modules/@novnc/novnc/lib/rfb.js` 1.5.0 only has one copy: - `node_modules/@novnc/novnc/lib/rfb.js` - https://github.com/novnc/noVNC/commit/b35cf6dd1253142267f68f052986d0560f7a495c --- js/index.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/js/index.js b/js/index.js index d48f914e..7eb76398 100644 --- a/js/index.js +++ b/js/index.js @@ -7,7 +7,7 @@ import "reset-css"; import "./index.css"; // RFB holds the API to connect and communicate with a VNC server -import RFB from "@novnc/novnc/core/rfb"; +import RFB from "@novnc/novnc/lib/rfb"; import { setupTooltip } from "./tooltip.js"; diff --git a/package.json b/package.json index 5525eb6c..16c45926 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "dependencies": { "@floating-ui/dom": "^1.6.1", - "@novnc/novnc": "~1.4.0", + "@novnc/novnc": "^1.5.0", "reset-css": "^5.0.2" }, "scripts": {