Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

xterm-addon-webgl

Package Overview
Dependencies
Maintainers
1
Versions
345
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

xterm-addon-webgl - npm Package Compare versions

Comparing version 0.14.0-beta.49 to 0.14.0-beta.50

2

package.json
{
"name": "xterm-addon-webgl",
"version": "0.14.0-beta.49",
"version": "0.14.0-beta.50",
"author": {

@@ -5,0 +5,0 @@ "name": "The xterm.js authors",

@@ -43,4 +43,4 @@ /**

private _gl: IWebGL2RenderingContext;
private _rectangleRenderer!: RectangleRenderer;
private _glyphRenderer!: GlyphRenderer;
private _rectangleRenderer: RectangleRenderer;
private _glyphRenderer: GlyphRenderer;

@@ -131,3 +131,3 @@ public readonly dimensions: IRenderDimensions;

this._initializeWebGLState();
[this._rectangleRenderer, this._glyphRenderer] = this._initializeWebGLState();

@@ -240,3 +240,3 @@ this._isAttached = this._coreBrowserService.window.document.body.contains(this._core.screenElement!);

*/
private _initializeWebGLState(): void {
private _initializeWebGLState(): [RectangleRenderer, GlyphRenderer] {
// Dispose any previous rectangle and glyph renderers before creating new ones.

@@ -251,2 +251,4 @@ this._rectangleRenderer?.dispose();

this.handleCharSizeChanged();
return [this._rectangleRenderer, this._glyphRenderer];
}

@@ -275,3 +277,2 @@

if (this._charAtlas !== atlas) {
this._charAtlasDisposable?.dispose();

@@ -278,0 +279,0 @@ this._onChangeTextureAtlas.fire(atlas.pages[0].canvas);

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc