terminal
terminal copied to clipboard
fix(deps): update dependencies
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| fs-extra | ^10.0.0 -> ^11.0.0 |
||||
| uuid | ^8.3.2 -> ^9.0.0 |
||||
| which | ^2.0.2 -> ^4.0.0 |
||||
| xterm | 4.13.0 -> 5.3.0 |
||||
| xterm-addon-fit | 0.5.0 -> 0.8.0 |
||||
| xterm-addon-ligatures | ^0.5.1 -> ^0.7.0 |
||||
| xterm-addon-web-links | 0.4.0 -> 0.9.0 |
||||
| xterm-addon-webgl | 0.11.1 -> 0.16.0 |
Release Notes
jprichardson/node-fs-extra (fs-extra)
v11.1.1
v11.1.0
v11.0.0
Breaking Changes
- Don't allow requiring
fs-extra/lib/SOMETHING(switched toexports) (#974) - Require Node v14.14+ (#968, #969)
New Features
- Add
fs-extra/esmfor ESM named export support; see docs for details (#746, #974) - Add promise support for
fs.readv()(#970)
Bugfixes
uuidjs/uuid (uuid)
v9.0.0
⚠ BREAKING CHANGES
-
Drop Node.js 10.x support. This library always aims at supporting one EOLed LTS release which by this time now is 12.x which has reached EOL 30 Apr 2022.
-
Remove the minified UMD build from the package.
Minified code is hard to audit and since this is a widely used library it seems more appropriate nowadays to optimize for auditability than to ship a legacy module format that, at best, serves educational purposes nowadays.
For production browser use cases, users should be using a bundler. For educational purposes, today's online sandboxes like replit.com offer convenient ways to load npm modules, so the use case for UMD through repos like UNPKG or jsDelivr has largely vanished.
-
Drop IE 11 and Safari 10 support. Drop support for browsers that don't correctly implement const/let and default arguments, and no longer transpile the browser build to ES2015.
This also removes the fallback on msCrypto instead of the crypto API.
Browser tests are run in the first supported version of each supported browser and in the latest (as of this commit) version available on Browserstack.
Features
- optimize uuid.v1 by 1.3x uuid.v4 by 4.3x (430%) (#597) (3a033f6)
- remove UMD build (#645) (e948a0f), closes #620
- use native crypto.randomUUID when available (#600) (c9e076c)
Bug Fixes
- add Jest/jsdom compatibility (#642) (16f9c46)
- change default export to named function (#545) (c57bc5a)
- handle error when parameter is not set in v3 and v5 (#622) (fcd7388)
- run npm audit fix (#644) (04686f5)
- upgrading from uuid3 broken link (#568) (1c849da)
build
-
drop Node.js 8.x from babel transpile target (#603) (aa11485)
-
drop support for legacy browsers (IE11, Safari 10) (#604) (0f433e5)
-
drop node 10.x to upgrade dev dependencies (#653) (28a5712), closes #643
8.3.2 (2020-12-08)
Bug Fixes
8.3.1 (2020-10-04)
Bug Fixes
npm/node-which (which)
v4.0.0
⚠️ BREAKING CHANGES
- support for node 14 has been removed
Bug Fixes
c7122cd#105 drop node14 support (@wraithgar)0083d3c#105 update for breaking isexe api (@wraithgar)00b5cda#106 replace reduce with flatMap (#106) (@green961)
Dependencies
v3.0.1
Bug Fixes
c3a543e#100 check lower case extensions in windows (#100) (@wraithgar)
Documentation
ba58b51#97 Replace binarywhichwithnode-whichin README.md (#97) (@DevDengChao)
v3.0.0
⚠️ BREAKING CHANGES
- refactored with the following breaking changes
- callback has been removed from the async interface, it is now
Promiseonly whichis now compatible with the following semver range for node: `^14.17.0 || ^16.13.0 || >=18.0.0- cli now ignores any arguments after
--
- callback has been removed from the async interface, it is now
Features
8b0187cadd @npmcli/template-oss and modernize (#86) (@lukekarrys)
xtermjs/xterm.js (xterm)
v5.3.0
🚀 Features
- The default DOM-based renderer is significantly faster now (#4605, #4631, #4651, #4662, #4681, #4754) via @jerch, @Tyriar, @PerBothner, @tisilent
- The smooth scroll feature now affects
scrollLines,scrollPages,scrollToLine,scrollToTopandscrollToBottom(#4482, #4714) via @tisilent, @Tyriar minimumContrastRationow applies 50% of the contrast ratio to dimmed text (#4672) via @Tyrira
📦 API
- There's a new
tracelog level (#4687, 4709) via @Tyriarconst term = new Terminal({ logLevel: 'trace' }); - New
loggerdelegate option (#4563, #4564) via @Tyriar. This new API allows the embedder to define the logging behavior, instead of always using toconsoleconst term = new Terminal({ logger: { trace: (e, args) => console.log('trace: ', e, args), debug: (e, args) => console.log('debug: ', e, args), info: (e, args) => console.log('info: ', e, args), warn: (e, args) => console.log('warn: ', e, args), error: (e, args) => console.log('error: ', e, args) } }); - New
ignoreBracketedPasteModeoption that allows explicitly disabling bracketed paste mode, regardless of whether the shell enables it or not (#4636) via @Tyriarconst term = new Terminal({ ignoreBracketedPasteMode: true }); - New
cursorInactiveStyleoption (#4657) via @tisilentconst term = new Terminal({ cursorInactiveStyle: 'none' });
🐞 Bug fixes
- Fix character size being affected by CSS transformations (#4366) via @arekouzounian
- Fix mouse tracking behavior (#4583) via @jerch
- Improve rendering of the DOM renderer's underline cursor (#4584) via @dlech
- Fix issues in the accessibility tree (#4637) via @meganrogge
- Fix reset and clear leaving viewport in a bad state (#4638) via @Tyriar
- Fix API facade memory leaks (#4655) via @Tyriar
- Fix memory leak in cursor blink state manager (#4659) via @SvanT
- Fix inverse rendering when a transparent foreground is used (#4667) via @Dennnnny
- Fix disposing of decorations (#4671) via @Tyriar
- Render selection background consistently in the DOM renderer (#4673) via @Tyriar
- Improve rendering of powerline circle line custom glyph (#4729) via @tisilent
- Improve texture atlas utilization and fix glyph corruption when merging (#4732) via @Tyriar
📝 Documentation and internal improvements
- Improve safety of log service (#4565) via @Tyriar
- Exploring use of
CSSStyleSheetweb API (#4611, ##4619, #4678, #4680) via @SimonSiefke, @Tyriar - Update TypeScript to 5.1.6 (#4612) via @SimonSiefke
- Mention discussions in CONTRIBUTING.md (#4617) via @Tyriar
- Improve type safety of ColorIndex (#4618) via @Tyriar
- Fix demo light theme cursor colors (#4626) via @Tyriar
- Add nvmrc using node 16 (#4666) via @Tyriar
- Restrict comments to 100 characters (#4668) via @Tyriar
- Lint API xterm.d.ts file (#4669, #4677) via @Tyriar
- General clean up (#4676, #4683, #4688, #4689, #4733) via @Tyriar
- Reduce repetition with internal terminal types and inherit docs from API (#4679) via @Tyriar
- Improve lifecycle of WebLinksAddon.api, test all country tlds (#4691) via @Tyriar
- Stub out all CSI api tests (#4692) via @Tyriar
- Migrate to GitHub Actions and speed up CI (#4693, #4697, #4698, #4699, #4700, #4710, #4712, #4715, #4716, #4734) via @Tyriar
- Fix spaces in bce demo (#4694) via @jerch
- Add automatic resize to demo (#4695) via @PerBothner
- Add no unused variables lint warning (#4718) via @Tyriar
- Fix demo warnings (#4721, #4722) via @Tyriar
- Adopt
@ts-checkin JS files (#4723, #4724) via @Tyriar - Warn on eslint rule
@typescript-eslint/no-useless-constructor(#4725) via @Tyriar - Warn on eslint rule
@typescript-eslint/no-confusing-void-expression(#4726) via @Tyriar - Start migration to
@playwright/testas the integration test runner (#4735) via @Tyriar
🎉 New real-world use cases
- cloudtutor.io (#4570) via @naufalafif
- Helix Editor Playground (#4585) via @tomgroenwoldt
- Coder (#4595) via @matifali
📥 Addons
xterm-addon-canvas
- Add getRasterizedGlyph null and undefined check (#4596) via @lewis-sanchez
- Fix various underlines by rendering them upwards (#4648, #4664) via @tisilent
xterm-addon-image
xterm-addon-ligatures
- Enable the ligatures addon on Electron (#4387) via @LabhanshAgrawal
xterm-addon-serialize
xterm-addon-webgl
🤝 Compatible addon versions
| Addon | Version |
|---|---|
xterm-addon-attach |
0.9.0 |
xterm-addon-canvas |
0.5.0 |
xterm-addon-fit |
0.8.0 |
xterm-addon-image |
0.5.0 |
xterm-addon-ligatures |
0.7.0 |
xterm-addon-search |
0.13.0 |
xterm-addon-serialize |
0.11.0 |
xterm-addon-unicode11 |
0.6.0 |
xterm-addon-web-links |
0.9.0 |
xterm-addon-webgl |
0.16.0 |
🌐 Website
Pull from https://github.com/xtermjs/xtermjs.org/pulls?q=is%3Apr+sort%3Aupdated-desc+is%3Aclosed
v5.2.1
🐞 Bug fixes
v5.2.0
🚀 Features
📦 API
-
Improved Windows workarounds with the new windowsPty option (#4539) via @Tyriar
const term = new Terminal({ windowsPty: { backend: 'conpty', buildNumber: 19000 } });
🐞 Bug fixes
- Fix performance issue related to hovering links (#4341) via @Tyriar
- Fix exception by validating rows are correct when rendering (#4346) via @Tyriar
- Improve rendering of dotted underline (#4350) via @Tyriar
- Invalidate links after resizing (#4358) via @Tyriar
- Fix texture atlas exception thrown when changing options (#4390) via @Tyriar
- Show hollow cursor when unfocused, regardless of cursor type (#4443) via @tisilent
- Fix out of sync link underlines after resizing on Windows (#4458) via @Tyriar
- Fix a lifecycle issue with decorations (#4465) via @Tyriar
- Rerender in the DOM renderer after options change (#4475) via @kelvinhammond
- Fix DECRQM reports and add DECBKM (#4478) via @jerch
- Fix links not working when using a screen reader (#4491) via @jerch
- Ensure decorations in the top layer render on top of decorations in the bottom layer (#4516) via @jeanp413
- Avoid triggering a reflow while rendering search decorations (#4521) via @jeanp413
- Don't apply dim to background color (#4525) via @Tyriar
- Fix exception and performance issue when rendering link underlines (#4546) via @jerch
📝 Documentation and internal improvements
- Remove unused buffer code (#4335) via @jerch
- Explore a different accessibility view (#4340, #4375, #4376, #4377, #4381, #4382, #4383, #4389, #4395, #4398, #4400, #4402, #4406, #4413, #4427, #4536) via @meganrogge, @Tyriar
- Update CI containers to Ubuntu 20.04 (#4347) via @silamon
- Update CI containers to use Node 18 (#4542) via @silamon 4542
- Remove unused imports (#4361) via @Eugeny
- Replace dom helper with HTMLElement.remove() (#4364) via @Tyriar
- Show proper parameter hints when calling createInstance (#4393) via @Tyriar
- Correct registerMarker API docs (#4464) via @Tyriar
- Add FAQ to new issue report (#4512) via @Tyriar
- Fix buffer corruption for utf8 transport in demo (#4527) via @jerch
⚠️ Deprecations
windowsModehas been deprecated in favor ofwindowsPty// Before 5.2 term = new Terminal({ windowsMode: true }); // After 5.2 term = new Terminal({ windowsPty: { backend: 'conpty', buildNumber: 19000 } });
🎉 New real-world use cases
- graSSHopper (#4356) via @Coding-Kiwi
- DomTerm (#4456) via @Tyriar
📥 Addons
xterm-addon-canvas
- Fix rendering of underline on wide characters (#4352) via @Tyriar
- Update selection properly after changing themes (#4353) via @Tyriar
- Update selection properly after a resize (#4355) via @Tyriar
- Correct cell background color after clearing formatting (#4438) via @jerch
- Fix rendering of 0xE0BB and 0xE0BF powerline symbols (#4451) via @Starwort
- Fix rendering of cursor leaving artifacts on Firefox (#4500) via @Tyriar
- Disallow glyphs to exceed texture atlas size (#4508) via @Tyriar
- Don't apply dim to background color (#4525) via @Tyriar
- Fix blacked out content (#4533) via @Tyriar
xterm-addon-search
- Improve search behavior when there are > 1000 results (#4504) via @jeanp413
xterm-addon-webgl
- Fix rendering of underline on wide characters (#4352) via @Tyriar
- Fix loadCell exception (#4403) via @meganrogge
- Fix rendering of 0xE0BB and 0xE0BF powerline symbols (#4451) via @Starwort
- Fix rendering of cursor leaving artifacts on Firefox (#4500) via @Tyriar
- Disallow glyphs to exceed texture atlas size (#4508) via @Tyriar
- Don't apply dim to background color (#4525) via @Tyriar
- Fix blacked out content (#4530) via @jerch
🤝 Compatible addon versions
xterm-addon-attach@...xterm-addon-fit@...xterm-addon-ligatures@...xterm-addon-search@...xterm-addon-serialize@...xterm-addon-unicode11@​...xterm-addon-web-links@...xterm-addon-webgl@...
v5.1.0
🚀 Features
Multiple texture atlas page support (#4244, #4252, #4274) via @Tyriar
Instead of there being a hard cap of 1024x1024 on the size of the texture atlas backing the canvas and webgl renderers, multiple textures are now supported. Each individual texture is now 512x512 which allows faster uploading to the GPU and will continually merge until the maximum of 4096x4096 is reached.
The benefits in simple terms of this change are:
- Less time from drawing a glyph to rendering it
- Less CPU is used when lots of glyphs are used
- Essentially unlimited space for glyphs, which is good for certain use cases but will also let us explore things like "perfect" dotted and curvy underlines in the future
Here is an example of a 512x512 texture atlas page right after the terminal has loaded and printed a powerline-based prompt:

And here is the 1024x1024 page after a lot of glyphs have rendered:

Slash and triangle custom glyphs (#4313) via @Tyriar
Eight new powerline extra custom glyphs are supported:

New option scrollOnUserInput (#4289) via @JasonXJ
You can now specify whether to scroll to the bottom of the terminal on user input, previously this was the default and only behavior. This new setting is enabled by default.
const term = new Terminal({ scrollOnUserInput: false });
🐞 Bug fixes
- Fix width of upper 1/8 block character (#4134) via @Tyriar
- Allow the renderer to be set before
Terminal.openis called (#4151) via @Tyriar - Fix trusted types in dom renderer (#4157) via @Tyriar
- Fix several memory retention issues (#4185) via @Tyriar
- Remove check proposed api checks (#4204) via @silamon
- Clear the extended attribute on
CSI 0 mvia @JasonXJ - Fix clipping of italic emoji (#4237) via @Tyriar
- Fix some edge cases in screenReaderMode (#4284) via @JasonXJ
- Send corresponding escape code for alt+space and ctrl+alt+space (#4290) via @JasonXJ
- Re-evaluate the link under the cursor instead dropping it completely when the terminal buffer changes (#4298) via @jerch
🏎️ Performance
- Optimizations to prevent blocking the main thread when resizing the buffer (#4115) via @jerch
- Reduce xterm.js start up time by deferring texture atlas warm up to an idle callback (#4131) via @Tyriar
- Optimize canvas contexts for frequent reading (#4137, #4169) via @Tyriar
- Share rgba vars throughout Color.ts, fast setTheme parseColor (#4140) via @Tyriar
- Introduce new IdleTaskQueue and PriorityTaskQueue internal helpers (#4141, #4143, #4144, #4155, #4293) via @Tyriar
- Defer paused renderer resize handling to idle callbacks (#4142) via @Tyriar
- Optimize critical I/O path for input latency (#4145, #4153, #4159, #4160, #4194) via @Tyriar, @jerch, @silamon
- Remove unnecessary clipping of texture atlas glyphs (#4200, #4201) via @Tyriar, @jerch
- Fix dropped frame issue caused by decorations (#4226) via @Tyriar
- Support multiple texture atlas pages (#4244) via @Tyriar
📝 Documentation and internal improvements
- Lint the codebase using putout (#4118) via @coderaiser
- Remove special publishing of v5 builds (#4123) via @Tyriar
- Correct comment on
allowProposedApi(#4125) via @BattlefieldDuck - Move real-world uses section down (#4152) via @dstein64
- Remove queueMicrotask polyfill (#4154) via @Tyriar
- General refactoring (#4162, #4179, #4205, #4207, #4209, #4210, #4301, #4304, #4328) via @Tyriar
- Inline dirty row service into input handler (#4163) via @Tyriar
- Define all events and emitters consistently (#4165, #4177) via @Tyriar
- Bump copyright year (#4176) via @Tyriar
- Lint rule for on=event emitter and rename all methods with on prefix to handle (#4187) via @Tyriar
- Create theme service (#4188) via @Tyriar
- Switch CI agent to Ubuntu 20.04 (#4192) via @silamon
- Fix webgl loading in the demo (#4193) via @silamon
- Create onSpecificOptionChange and onMultipleOptionChange helpers (#4195) via @Tyriar
- Add eslint-plugin-jsdoc with minimal comment rules (#4206) via @Tyriar
- replit branding change (#4211) via @hackermondev
- Revert decoration dispose changes (#4215) via @meganrogge
- Change clearing innerText to using replaceChildren to fix testing using jsdom (#4217) via @Nokel81
- Fix resize in demo (#4233) via @Tyriar
- Cache ICoreBrowserService.isFocused per task (#4234) via @Tyriar
- Avoid GC pressure from server data buffer (#4235) via @Tyriar
- Add console.image helper (#4236) via @Tyriar
- Remove promise and fetch shims and use await for fetch (#4240) via @Tyriar
- Remove fill polyfill (#4249) via @Tyriar
- New test buttons in the demo (#4254, #4306, #4311, #4330) via @Tyriar
- Add custom keymap example to attachCustomKeyEventHandler docs (#4280) via @Tyriar
- Dev dependency updates (#4286, #4287) via @Tyriar, @dependabot
- Fix demo in Epiphany browser (#4291) via @jerch
- Explain danger of XSS more explicitly with the linkHandler API (#4310) via @Tyriar
- Point new issue questions at GH discussions (#4312) via @Tyriar
- Allow scroll bar interaction in demo in screenReaderMode (#4315) via @Tyriar
- Explain object option edge case (#4322) via @Tyriar
- Improve IAttributeData jsdoc (#4327) via @Tyriar
🛑 Breaking changes
- There is a new
allowNonHttpProtocolsproperty onILinkHandlerwhich forces the embedder to opt-in to non-http(s) protocols. This is a breaking change in a minor release as it could improve security of embedders.// before 5.1.0 const term = new Terminal({ linkHandler: { ... } }; // after 5.1.0 const term = new Terminal({ linkHandler: { // If you explicitly support and sanitize the links allowNonHttpProtocols: true, ... } };
🎉 New real-world use cases
- Super Terminal (#4276) via @bugwheels94
📥 Addons
xterm-addon-attach
xterm-addon-canvas
- Share texture atlases between the webgl and canvas renderers (#4170, #4168, #4182) via @Tyriar
- Fix glyphs becoming garbled or invisible (#4189) via @Tyriar
- Disable canvas ImageBitmap optimization on Safari (#4219) via @Tyriar
- Correctly offset minimumContrastRatio check (#4239) via @Tyriar
- Fix line height and letter spacing rendering (#4305) via @Tyriar
- Fix canvas renderer selection not re-rendering sometimes (#4325) via @Tyriar
xterm-addon-serialize
xterm-addon-webgl
- Fix glyphs becoming garbled or invisible (#4180, #4181) via @Tyriar
- Share texture atlases between the webgl and canvas renderers (#4170, #4168, #4182) via @Tyriar
- Enable the webgl renderer on safari 16 and above (#4255) via @Tyriar
- Fixes disappearance of characters in webgl renderer (#4271) via @jeanp413
- Fix NPE in webgl renderer (#4326) via @Tyriar
xterm-addon-web-links
- Major rework of the addon (#4288) via @jerch. This adds support for more URLs, fixes underlines sometimes being incorrect and changes the regex. There will be regressions in previous behavior with this but overall it's in a much better state. If you find any problems please report them to us.
- Add 1024 character limit (#4251) via @Tyriar
🤝 Compatible addon versions
[email protected][email protected][email protected][email protected][email protected]xterm-addon-unicode11@​0.5.0[email protected][email protected]
v5.0.0
v5 is here! This is our largest release in a long time, maybe ever 👀
Since this was a major version bump, we used the opportunity to clean up the API and make other breaking changes. Many of these changes enabled a significant reduction in the xterm module bundle size which went from 379kb to 265kb for a 30% reduction!
🚀 Features
Underline style and color support (#3921, #3976, #3980, #4053, #4068, #4074, #4077, #4109) via @Tyriar
Underline style and color sequences such as CSI 4:2m ST for double underlines are now supported:

Some work was also done to improve underline rendering overall, characters with long descenders don't overlap with the underline:

Hyperlink escape sequence support (#4005, #4087, #4088) via @Tyriar, @jerch
Building upon the improved underline rendering, hyperlink escapes outlined in this gist are now supported. They will be rendered using a dashed underline (like CSI 4:5m ST):

Along with this is a new linkHandler option which allows controling hover, leave and activate events, for example to show a custom tooltip. VS Code's implementation looks like this:

Smooth scroll support (#3940) via @Tyriar
The new smoothScrollDuration allows setting a duration in milliseconds to animate scroll between the origin and target positions. This is most useful when using a physical mouse (not a trackpad) to help not disorient the user when scrolling with the mouse wheel.
Canvas renderer addon (#3949, #3950, #3954, #3959, [#3961](https
Configuration
📅 Schedule: Branch creation - "every weekend" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
- [ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
looks like the errors are coming from parcel.