@xterm/xterm 6.1.0-beta.265 → 6.1.0-beta.266

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@xterm/xterm",
3
3
  "description": "Full xterm terminal, in your browser",
4
- "version": "6.1.0-beta.265",
4
+ "version": "6.1.0-beta.266",
5
5
  "main": "lib/xterm.js",
6
6
  "module": "lib/xterm.mjs",
7
7
  "style": "css/xterm.css",
@@ -116,5 +116,5 @@
116
116
  "ws": "^8.20.0",
117
117
  "xterm-benchmark": "^0.3.2"
118
118
  },
119
- "commit": "a0f93cdcc40670618d75c67025d1f6369a4591ab"
119
+ "commit": "59264f1f5b333c8d672b69f6c8fb7c5cd381f660"
120
120
  }
@@ -6,4 +6,4 @@
6
6
  /**
7
7
  * The xterm.js version. This is updated by the publish script from package.json.
8
8
  */
9
- export const XTERM_VERSION = '6.1.0-beta.265';
9
+ export const XTERM_VERSION = '6.1.0-beta.266';
@@ -342,7 +342,7 @@ export class EscapeSequenceParser extends Disposable implements IEscapeSequenceP
342
342
  throw new Error('only one byte as prefix supported');
343
343
  }
344
344
  res = id.prefix.charCodeAt(0);
345
- if (res && 0x3c > res || res > 0x3f) {
345
+ if (res < 0x3c || res > 0x3f) {
346
346
  throw new Error('prefix must be in range 0x3c .. 0x3f');
347
347
  }
348
348
  }
@@ -162,7 +162,7 @@ export class Params implements IParams {
162
162
  return;
163
163
  }
164
164
  if (value < -1) {
165
- throw new Error('values lesser than -1 are not allowed');
165
+ throw new Error('values less than -1 are not allowed');
166
166
  }
167
167
  this._subParamsIdx[this.length] = this._subParamsLength << 8 | this._subParamsLength;
168
168
  this.params[this.length++] = value > Constants.MAX_VALUE ? Constants.MAX_VALUE : value;
@@ -185,7 +185,7 @@ export class Params implements IParams {
185
185
  return;
186
186
  }
187
187
  if (value < -1) {
188
- throw new Error('values lesser than -1 are not allowed');
188
+ throw new Error('values less than -1 are not allowed');
189
189
  }
190
190
  this._subParams[this._subParamsLength++] = value > Constants.MAX_VALUE ? Constants.MAX_VALUE : value;
191
191
  this._subParamsIdx[this.length - 1]++;