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.4.0-beta.13 to 0.4.0-beta.14

16

out/atlas/WebglCharAtlas.js

@@ -399,18 +399,2 @@ "use strict";

}
function getFgColor(fg) {
switch (fg & 50331648) {
case 16777216:
case 33554432: return fg & 255;
case 50331648: return fg & 16777215;
default: return -1;
}
}
function getBgColor(bg) {
switch (bg & 50331648) {
case 16777216:
case 33554432: return bg & 255;
case 50331648: return bg & 16777215;
default: return -1;
}
}
//# sourceMappingURL=WebglCharAtlas.js.map

2

package.json
{
"name": "xterm-addon-webgl",
"version": "0.4.0-beta.13",
"version": "0.4.0-beta.14",
"author": {

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

@@ -9,3 +9,3 @@ /**

import { IRasterizedGlyph, IBoundingBox, IRasterizedGlyphSet } from '../Types';
import { DEFAULT_COLOR, FgFlags, Attributes, BgFlags } from 'common/buffer/Constants';
import { DEFAULT_COLOR, Attributes } from 'common/buffer/Constants';
import { throwIfFalsy } from '../WebglUtils';

@@ -534,18 +534,1 @@ import { IColor } from 'browser/Types';

}
function getFgColor(fg: number): number {
switch (fg & Attributes.CM_MASK) {
case Attributes.CM_P16:
case Attributes.CM_P256: return fg & Attributes.PCOLOR_MASK;
case Attributes.CM_RGB: return fg & Attributes.RGB_MASK;
default: return -1; // CM_DEFAULT defaults to -1
}
}
function getBgColor(bg: number): number {
switch (bg & Attributes.CM_MASK) {
case Attributes.CM_P16:
case Attributes.CM_P256: return bg & Attributes.PCOLOR_MASK;
case Attributes.CM_RGB: return bg & Attributes.RGB_MASK;
default: return -1; // CM_DEFAULT defaults to -1
}
}

Sorry, the diff of this file is not supported yet

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