diff --git a/binderhub/static/js/components/BuilderLauncher.jsx b/binderhub/static/js/components/BuilderLauncher.jsx index 1ccecbdd9..5fc724ba8 100644 --- a/binderhub/static/js/components/BuilderLauncher.jsx +++ b/binderhub/static/js/components/BuilderLauncher.jsx @@ -1,8 +1,8 @@ import { BinderRepository } from "@jupyterhub/binderhub-client"; import { useEffect, useRef, useState } from "react"; -import { Terminal } from "xterm"; -import { FitAddon } from "xterm-addon-fit"; -import "xterm/css/xterm.css"; +import { Terminal } from "@xterm/xterm"; +import { FitAddon } from "@xterm/addon-fit"; +import "@xterm/xterm/css/xterm.css"; import { Progress, PROGRESS_STATES } from "./Progress.jsx"; /** diff --git a/package.json b/package.json index 903565b29..5fc901f0d 100644 --- a/package.json +++ b/package.json @@ -11,8 +11,8 @@ "react": "^18.3.1", "react-dom": "^18.3.1", "wouter": "^3.3.5", - "xterm": "^5.1.0", - "xterm-addon-fit": "^0.7.0" + "@xterm/xterm": "^5.5.0", + "@xterm/addon-fit": "^0.9.0" }, "devDependencies": { "@babel/cli": "^7.21.0",