Skip to content

Commit 4c95603

Browse files
committed
Migrate deprecated xterm packages
1 parent 886969f commit 4c95603

File tree

3 files changed

+24
-37
lines changed

3 files changed

+24
-37
lines changed

package-lock.json

Lines changed: 18 additions & 31 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,11 +90,11 @@
9090
},
9191
"dependencies": {
9292
"@webcontainer/api": "^1.6.1",
93+
"@xterm/addon-fit": "^0.10.0",
94+
"@xterm/xterm": "^5.5.0",
9395
"ansi-regex": "^6.2.2",
9496
"lz-string": "^1.5.0",
95-
"monaco-editor": "^0.54.0",
96-
"xterm": "^5.3.0",
97-
"xterm-addon-fit": "^0.8.0"
97+
"monaco-editor": "^0.54.0"
9898
},
9999
"devDependencies": {
100100
"@stylelint/prettier-config": "^4.0.0",

src/components/console.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import 'xterm/css/xterm.css';
2-
import { FitAddon } from 'xterm-addon-fit';
3-
import { Terminal } from 'xterm';
1+
import '@xterm/xterm/css/xterm.css';
2+
import { FitAddon } from '@xterm/addon-fit';
3+
import { Terminal } from '@xterm/xterm';
44
export type ConsoleOutput = {
55
appendLine: (string: string) => void;
66
append: (string: string) => void;

0 commit comments

Comments
 (0)