build(deps): bump xterm and xterm-addon-fit (#1146)

* build(deps): bump xterm and xterm-addon-fit

Bumps [xterm](https://github.com/xtermjs/xterm.js) and [xterm-addon-fit](https://github.com/xtermjs/xterm.js). These dependencies needed to be updated together.

Updates `xterm` from 4.19.0 to 5.0.0
- [Release notes](https://github.com/xtermjs/xterm.js/releases)
- [Commits](https://github.com/xtermjs/xterm.js/compare/4.19.0...5.0.0)

Updates `xterm-addon-fit` from 0.5.0 to 0.6.0
- [Release notes](https://github.com/xtermjs/xterm.js/releases)
- [Commits](https://github.com/xtermjs/xterm.js/compare/0.5...0.6)

---
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
...

Signed-off-by: dependabot[bot] <support@github.com>

* [dependabot skip] Fix yarn.lock

* fix breaking changes for xterm.js 5.x

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-fix <dependabot-fix@example.com>
Co-authored-by: David Lechner <david@pybricks.com>
This commit is contained in:
dependabot[bot]
2022-09-17 18:14:24 +00:00
committed by GitHub
co-authored by dependabot-fix David Lechner
parent 6c373c302c
commit 189cda94b1
3 changed files with 16 additions and 14 deletions
+2 -2
View File
@@ -121,8 +121,8 @@
"webpack-dev-server": "^4.11.0",
"webpack-manifest-plugin": "^5.0.0",
"workbox-webpack-plugin": "^6.5.4",
"xterm": "^4.19.0",
"xterm-addon-fit": "^0.5.0",
"xterm": "^5.0.0",
"xterm-addon-fit": "^0.6.0",
"zen-push": "^0.2.1"
},
"scripts": {
+3 -1
View File
@@ -127,7 +127,9 @@ const Terminal: React.FC = (_props) => {
foreground: isDarkMode ? 'white' : 'black',
cursor: isDarkMode ? 'white' : 'black',
// transparency is needed to work around https://github.com/xtermjs/xterm.js/issues/2808
selection: isDarkMode ? 'rgb(81,81,81,0.5)' : 'rgba(181,213,255,0.5)', // this should match AceEditor theme
selectionBackground: isDarkMode
? 'rgb(81,81,81,0.5)'
: 'rgba(181,213,255,0.5)', // this should match editor theme
};
}, [isDarkMode]);
+11 -11
View File
@@ -2536,8 +2536,8 @@ __metadata:
webpack-dev-server: ^4.11.0
webpack-manifest-plugin: ^5.0.0
workbox-webpack-plugin: ^6.5.4
xterm: ^4.19.0
xterm-addon-fit: ^0.5.0
xterm: ^5.0.0
xterm-addon-fit: ^0.6.0
zen-push: ^0.2.1
languageName: unknown
linkType: soft
@@ -15744,19 +15744,19 @@ __metadata:
languageName: node
linkType: hard
"xterm-addon-fit@npm:^0.5.0":
version: 0.5.0
resolution: "xterm-addon-fit@npm:0.5.0"
"xterm-addon-fit@npm:^0.6.0":
version: 0.6.0
resolution: "xterm-addon-fit@npm:0.6.0"
peerDependencies:
xterm: ^4.0.0
checksum: 884d9f360893335c87e4514beeda2af6dbebf38a89b8518f1126d9c4611aefc1598b750bb43a953b79fdf1179c40d70c77a9169ae10f07e0abbbdb39b919b33f
xterm: ^5.0.0
checksum: 6115e130a58a5ec3d17b424bd0420f3d871e9a6bb455ca62e67c10724534eafbdd205dd35c4707d8037efe8107c09486b48cb4369ba2e3ac97ab78f805195319
languageName: node
linkType: hard
"xterm@npm:^4.19.0":
version: 4.19.0
resolution: "xterm@npm:4.19.0"
checksum: 4385e08d6f1e26d0db295ba55f0ed9c304686a72c2cfdd32502cf59de23ae9c93434d469fc3735f44375602f209f767a1ba643a86be6f8e0f1cf7e5bfdccde87
"xterm@npm:^5.0.0":
version: 5.0.0
resolution: "xterm@npm:5.0.0"
checksum: c2f1d02a708d3d02bebf052dfdf54ecd1b619386bed8f27ed42483d398a3e0bc3595fc855c600db99fd3a91f6d3e8feabe118f1f8f14bbed92d8b3d77277ab92
languageName: node
linkType: hard