Skip to content

Commit 0413ed0

Browse files
chore: update xterm, xterm-addon-fit, and xterm-addon-web-links in /site (#7765)
* chore: bump xterm, xterm-addon-fit and xterm-addon-web-links in /site Bumps [xterm](https://github.com/xtermjs/xterm.js), [xterm-addon-fit](https://github.com/xtermjs/xterm.js) and [xterm-addon-web-links](https://github.com/xtermjs/xterm.js). These dependencies needed to be updated together. Updates `xterm` from 4.19.0 to 5.1.0 - [Release notes](https://github.com/xtermjs/xterm.js/releases) - [Commits](xtermjs/xterm.js@4.19.0...5.1.0) Updates `xterm-addon-fit` from 0.5.0 to 0.7.0 - [Release notes](https://github.com/xtermjs/xterm.js/releases) - [Commits](xtermjs/xterm.js@0.5...0.7) Updates `xterm-addon-web-links` from 0.6.0 to 0.8.0 - [Release notes](https://github.com/xtermjs/xterm.js/releases) - [Commits](xtermjs/xterm.js@0.6...0.8) --- updated-dependencies: - dependency-name: xterm dependency-type: direct:production update-type: version-update:semver-major - dependency-name: xterm-addon-fit dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: xterm-addon-web-links dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Remove rendererType This option no longer exists. Renderers other than the DOM renderer have been split into addons. --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Asher <ash@coder.com>
1 parent a2e1290 commit 0413ed0

File tree

4 files changed

+18
-23
lines changed

4 files changed

+18
-23
lines changed

site/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,9 @@
9393
"uuid": "9.0.0",
9494
"vite": "4.3.0",
9595
"xstate": "4.37.2",
96-
"xterm": "4.19.0",
97-
"xterm-addon-fit": "0.5.0",
98-
"xterm-addon-web-links": "0.6.0",
96+
"xterm": "5.1.0",
97+
"xterm-addon-fit": "0.7.0",
98+
"xterm-addon-web-links": "0.8.0",
9999
"yup": "0.32.11"
100100
},
101101
"devDependencies": {

site/src/pages/TerminalPage/TerminalPage.test.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ const renderTerminal = () => {
5858
refetchProxyLatencies: jest.fn(),
5959
}}
6060
>
61-
<TerminalPage renderer="dom" />
61+
<TerminalPage />
6262
</ProxyContext.Provider>
6363
}
6464
/>

site/src/pages/TerminalPage/TerminalPage.tsx

+2-7
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,7 @@ export const Language = {
2727
websocketErrorMessagePrefix: "WebSocket failed: ",
2828
}
2929

30-
const TerminalPage: FC<
31-
React.PropsWithChildren<{
32-
readonly renderer?: XTerm.RendererType
33-
}>
34-
> = ({ renderer }) => {
30+
const TerminalPage: FC = () => {
3531
const navigate = useNavigate()
3632
const styles = useStyles()
3733
const { proxy } = useProxy()
@@ -149,7 +145,6 @@ const TerminalPage: FC<
149145
theme: {
150146
background: colors.gray[16],
151147
},
152-
rendererType: renderer,
153148
})
154149
const fitAddon = new FitAddon()
155150
setFitAddon(fitAddon)
@@ -187,7 +182,7 @@ const TerminalPage: FC<
187182
window.removeEventListener("resize", listener)
188183
terminal.dispose()
189184
}
190-
}, [renderer, sendEvent, xtermRef, handleWebLink])
185+
}, [sendEvent, xtermRef, handleWebLink])
191186

192187
// Triggers the initial terminal connection using
193188
// the reconnection token and workspace name found

site/yarn.lock

+12-12
Original file line numberDiff line numberDiff line change
@@ -12050,20 +12050,20 @@ xtend@^4.0.0, xtend@~4.0.1:
1205012050
resolved "https://registry.yarnpkg.com/xtend/-/xtend-4.0.2.tgz#bb72779f5fa465186b1f438f674fa347fdb5db54"
1205112051
integrity sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==
1205212052

12053-
xterm-addon-fit@0.5.0:
12054-
version "0.5.0"
12055-
resolved "https://registry.yarnpkg.com/xterm-addon-fit/-/xterm-addon-fit-0.5.0.tgz#2d51b983b786a97dcd6cde805e700c7f913bc596"
12056-
integrity sha512-DsS9fqhXHacEmsPxBJZvfj2la30Iz9xk+UKjhQgnYNkrUIN5CYLbw7WEfz117c7+S86S/tpHPfvNxJsF5/G8wQ==
12053+
xterm-addon-fit@0.7.0:
12054+
version "0.7.0"
12055+
resolved "https://registry.yarnpkg.com/xterm-addon-fit/-/xterm-addon-fit-0.7.0.tgz#b8ade6d96e63b47443862088f6670b49fb752c6a"
12056+
integrity sha512-tQgHGoHqRTgeROPnvmtEJywLKoC/V9eNs4bLLz7iyJr1aW/QFzRwfd3MGiJ6odJd9xEfxcW36/xRU47JkD5NKQ==
1205712057

12058-
xterm-addon-web-links@0.6.0:
12059-
version "0.6.0"
12060-
resolved "https://registry.yarnpkg.com/xterm-addon-web-links/-/xterm-addon-web-links-0.6.0.tgz#0296cb6c99588847894670d998c9ea6a6aeb26ee"
12061-
integrity sha512-H6XzjWWZu8FBo+fnYpxdPk9w5M6drbsvwPEJZGRS38MihiQaVFpKlCMKdfRgDbKGE530tw1yH54rhpZfHgt2/A==
12058+
xterm-addon-web-links@0.8.0:
12059+
version "0.8.0"
12060+
resolved "https://registry.yarnpkg.com/xterm-addon-web-links/-/xterm-addon-web-links-0.8.0.tgz#2cb1d57129271022569208578b0bf4774e7e6ea9"
12061+
integrity sha512-J4tKngmIu20ytX9SEJjAP3UGksah7iALqBtfTwT9ZnmFHVplCumYQsUJfKuS+JwMhjsjH61YXfndenLNvjRrEw==
1206212062

12063-
xterm@4.19.0:
12064-
version "4.19.0"
12065-
resolved "https://registry.yarnpkg.com/xterm/-/xterm-4.19.0.tgz#c0f9d09cd61de1d658f43ca75f992197add9ef6d"
12066-
integrity sha512-c3Cp4eOVsYY5Q839dR5IejghRPpxciGmLWWaP9g+ppfMeBChMeLa1DCA+pmX/jyDZ+zxFOmlJL/82qVdayVoGQ==
12063+
xterm@5.1.0:
12064+
version "5.1.0"
12065+
resolved "https://registry.yarnpkg.com/xterm/-/xterm-5.1.0.tgz#3e160d60e6801c864b55adf19171c49d2ff2b4fc"
12066+
integrity sha512-LovENH4WDzpwynj+OTkLyZgJPeDom9Gra4DMlGAgz6pZhIDCQ+YuO7yfwanY+gVbn/mmZIStNOnVRU/ikQuAEQ==
1206712067

1206812068
y18n@^5.0.5:
1206912069
version "5.0.8"

0 commit comments

Comments
 (0)