mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
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](https://github.com/xtermjs/xterm.js/compare/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](https://github.com/xtermjs/xterm.js/compare/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](https://github.com/xtermjs/xterm.js/compare/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>
This commit is contained in:
+3
-3
@@ -93,9 +93,9 @@
|
||||
"uuid": "9.0.0",
|
||||
"vite": "4.3.0",
|
||||
"xstate": "4.37.2",
|
||||
"xterm": "4.19.0",
|
||||
"xterm-addon-fit": "0.5.0",
|
||||
"xterm-addon-web-links": "0.6.0",
|
||||
"xterm": "5.1.0",
|
||||
"xterm-addon-fit": "0.7.0",
|
||||
"xterm-addon-web-links": "0.8.0",
|
||||
"yup": "0.32.11"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
@@ -58,7 +58,7 @@ const renderTerminal = () => {
|
||||
refetchProxyLatencies: jest.fn(),
|
||||
}}
|
||||
>
|
||||
<TerminalPage renderer="dom" />
|
||||
<TerminalPage />
|
||||
</ProxyContext.Provider>
|
||||
}
|
||||
/>
|
||||
|
||||
@@ -27,11 +27,7 @@ export const Language = {
|
||||
websocketErrorMessagePrefix: "WebSocket failed: ",
|
||||
}
|
||||
|
||||
const TerminalPage: FC<
|
||||
React.PropsWithChildren<{
|
||||
readonly renderer?: XTerm.RendererType
|
||||
}>
|
||||
> = ({ renderer }) => {
|
||||
const TerminalPage: FC = () => {
|
||||
const navigate = useNavigate()
|
||||
const styles = useStyles()
|
||||
const { proxy } = useProxy()
|
||||
@@ -149,7 +145,6 @@ const TerminalPage: FC<
|
||||
theme: {
|
||||
background: colors.gray[16],
|
||||
},
|
||||
rendererType: renderer,
|
||||
})
|
||||
const fitAddon = new FitAddon()
|
||||
setFitAddon(fitAddon)
|
||||
@@ -187,7 +182,7 @@ const TerminalPage: FC<
|
||||
window.removeEventListener("resize", listener)
|
||||
terminal.dispose()
|
||||
}
|
||||
}, [renderer, sendEvent, xtermRef, handleWebLink])
|
||||
}, [sendEvent, xtermRef, handleWebLink])
|
||||
|
||||
// Triggers the initial terminal connection using
|
||||
// the reconnection token and workspace name found
|
||||
|
||||
+12
-12
@@ -12050,20 +12050,20 @@ xtend@^4.0.0, xtend@~4.0.1:
|
||||
resolved "https://registry.yarnpkg.com/xtend/-/xtend-4.0.2.tgz#bb72779f5fa465186b1f438f674fa347fdb5db54"
|
||||
integrity sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==
|
||||
|
||||
xterm-addon-fit@0.5.0:
|
||||
version "0.5.0"
|
||||
resolved "https://registry.yarnpkg.com/xterm-addon-fit/-/xterm-addon-fit-0.5.0.tgz#2d51b983b786a97dcd6cde805e700c7f913bc596"
|
||||
integrity sha512-DsS9fqhXHacEmsPxBJZvfj2la30Iz9xk+UKjhQgnYNkrUIN5CYLbw7WEfz117c7+S86S/tpHPfvNxJsF5/G8wQ==
|
||||
xterm-addon-fit@0.7.0:
|
||||
version "0.7.0"
|
||||
resolved "https://registry.yarnpkg.com/xterm-addon-fit/-/xterm-addon-fit-0.7.0.tgz#b8ade6d96e63b47443862088f6670b49fb752c6a"
|
||||
integrity sha512-tQgHGoHqRTgeROPnvmtEJywLKoC/V9eNs4bLLz7iyJr1aW/QFzRwfd3MGiJ6odJd9xEfxcW36/xRU47JkD5NKQ==
|
||||
|
||||
xterm-addon-web-links@0.6.0:
|
||||
version "0.6.0"
|
||||
resolved "https://registry.yarnpkg.com/xterm-addon-web-links/-/xterm-addon-web-links-0.6.0.tgz#0296cb6c99588847894670d998c9ea6a6aeb26ee"
|
||||
integrity sha512-H6XzjWWZu8FBo+fnYpxdPk9w5M6drbsvwPEJZGRS38MihiQaVFpKlCMKdfRgDbKGE530tw1yH54rhpZfHgt2/A==
|
||||
xterm-addon-web-links@0.8.0:
|
||||
version "0.8.0"
|
||||
resolved "https://registry.yarnpkg.com/xterm-addon-web-links/-/xterm-addon-web-links-0.8.0.tgz#2cb1d57129271022569208578b0bf4774e7e6ea9"
|
||||
integrity sha512-J4tKngmIu20ytX9SEJjAP3UGksah7iALqBtfTwT9ZnmFHVplCumYQsUJfKuS+JwMhjsjH61YXfndenLNvjRrEw==
|
||||
|
||||
xterm@4.19.0:
|
||||
version "4.19.0"
|
||||
resolved "https://registry.yarnpkg.com/xterm/-/xterm-4.19.0.tgz#c0f9d09cd61de1d658f43ca75f992197add9ef6d"
|
||||
integrity sha512-c3Cp4eOVsYY5Q839dR5IejghRPpxciGmLWWaP9g+ppfMeBChMeLa1DCA+pmX/jyDZ+zxFOmlJL/82qVdayVoGQ==
|
||||
xterm@5.1.0:
|
||||
version "5.1.0"
|
||||
resolved "https://registry.yarnpkg.com/xterm/-/xterm-5.1.0.tgz#3e160d60e6801c864b55adf19171c49d2ff2b4fc"
|
||||
integrity sha512-LovENH4WDzpwynj+OTkLyZgJPeDom9Gra4DMlGAgz6pZhIDCQ+YuO7yfwanY+gVbn/mmZIStNOnVRU/ikQuAEQ==
|
||||
|
||||
y18n@^5.0.5:
|
||||
version "5.0.8"
|
||||
|
||||
Reference in New Issue
Block a user