Skip to content

Commit

Permalink
chore: use @xterm/xterm
Browse files Browse the repository at this point in the history
`xterm` is deprecated.
  • Loading branch information
kagankan committed Aug 31, 2024
1 parent 8782876 commit ac0d87b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"@monaco-editor/react": "4.6.0",
"@shikijs/monaco": "^1.12.0",
"@webcontainer/api": "1.3.0-internal.2",
"@xterm/xterm": "^5.5.0",
"lz-string": "1.5.0",
"markuplint": "4.9.2",
"monaco-editor": "0.50.0",
Expand All @@ -29,8 +30,7 @@
"react-split": "2.0.14",
"semver": "7.6.3",
"shiki": "^1.12.0",
"strip-json-comments": "5.0.1",
"xterm": "5.3.0"
"strip-json-comments": "5.0.1"
},
"devDependencies": {
"@commitlint/cli": "^19.4.0",
Expand Down
4 changes: 2 additions & 2 deletions src/components/ConsoleOutput.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import 'xterm/css/xterm.css';
import '@xterm/xterm/css/xterm.css';
import { Terminal } from '@xterm/xterm';
import { forwardRef, useEffect, useImperativeHandle, useRef } from 'react';
import { Terminal } from 'xterm';

export type ConsoleOutputRef = {
appendLine: (string: string) => void;
Expand Down
10 changes: 5 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1960,6 +1960,11 @@
resolved "https://registry.yarnpkg.com/@webcontainer/api/-/api-1.3.0-internal.2.tgz#26afa0548bcf468b74f03dc56993ba287ebfb0e8"
integrity sha512-lLSlSehbuYc9E7ecK+tMRX4BbWETNX1OgRlS+NerQh3X3sHNbxLD86eScEMAiA5VBnUeSnLtLe7eC/ftM8fR3Q==

"@xterm/xterm@^5.5.0":
version "5.5.0"
resolved "https://registry.yarnpkg.com/@xterm/xterm/-/xterm-5.5.0.tgz#275fb8f6e14afa6e8a0c05d4ebc94523ff775396"
integrity sha512-hqJHYaQb5OptNunnyAnkHyM8aCjZ1MEIDTQu1iIbbTD/xops91NB5yq1ZK/dC2JDbVWtF23zUtl9JE2NqwT87A==

JSONStream@^1.3.5:
version "1.3.5"
resolved "https://registry.yarnpkg.com/JSONStream/-/JSONStream-1.3.5.tgz#3208c1f08d3a4d99261ab64f92302bc15e111ca0"
Expand Down Expand Up @@ -6715,11 +6720,6 @@ xmlchars@^2.2.0:
resolved "https://registry.yarnpkg.com/xmlchars/-/xmlchars-2.2.0.tgz#060fe1bcb7f9c76fe2a17db86a9bc3ab894210cb"
integrity sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw==

[email protected]:
version "5.3.0"
resolved "https://registry.yarnpkg.com/xterm/-/xterm-5.3.0.tgz#867daf9cc826f3d45b5377320aabd996cb0fce46"
integrity sha512-8QqjlekLUFTrU6x7xck1MsPzPA571K5zNqWm0M0oroYEWVOptZ0+ubQSkQ3uxIEhcIHRujJy6emDWX4A7qyFzg==

y18n@^5.0.5:
version "5.0.8"
resolved "https://registry.yarnpkg.com/y18n/-/y18n-5.0.8.tgz#7f4934d0f7ca8c56f95314939ddcd2dd91ce1d55"
Expand Down

0 comments on commit ac0d87b

Please sign in to comment.