@yamcs/opi 1.3.8 → 1.3.9

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.
@@ -1,6 +1,16 @@
1
1
  export declare class Font {
2
2
  name: string;
3
3
  style: number;
4
+ /**
5
+ * If true, use legacy font-sizing when converting points to pixels.
6
+ * This is less compatible with Yamcs Studio, but is preserved for
7
+ * older displays that may have been designed for how to look on web
8
+ * rather than on studio.
9
+ *
10
+ * Set this static property to true prior to creating a Display
11
+ * instance.
12
+ */
13
+ static LEGACY_FONT_SIZING: boolean;
4
14
  static ARIAL_9: Font;
5
15
  static ARIAL_10: Font;
6
16
  static ARIAL_11: Font;
@@ -1,11 +1,11 @@
1
1
  declare const peg$allowedStartRules: string[];
2
- declare function peg$SyntaxError(message: any, expected: any, found: any, location: any): Error;
3
- declare class peg$SyntaxError {
2
+ declare class peg$SyntaxError extends SyntaxError {
3
+ static buildMessage(expected: any, found: any): string;
4
4
  constructor(message: any, expected: any, found: any, location: any);
5
+ expected: any;
6
+ found: any;
7
+ location: any;
5
8
  format(sources: any): string;
6
9
  }
7
- declare namespace peg$SyntaxError {
8
- function buildMessage(expected: any, found: any): string;
9
- }
10
10
  declare function peg$parse(input: any, options: any): any;
11
11
  export { peg$allowedStartRules as StartRules, peg$SyntaxError as SyntaxError, peg$parse as parse };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yamcs/opi",
3
- "version": "1.3.8",
3
+ "version": "1.3.9",
4
4
  "description": "OPI Display Renderer",
5
5
  "author": "Yamcs Team <yamcs@spaceapplications.com>",
6
6
  "repository": {
@@ -27,12 +27,12 @@
27
27
  ],
28
28
  "devDependencies": {
29
29
  "@types/node": "^20.11.15",
30
- "esbuild": "^0.25.0",
30
+ "esbuild": "^0.27.3",
31
31
  "esbuild-plugin-copy": "^2.1.1",
32
- "express": "^4.18.1",
32
+ "express": "^5.2.1",
33
33
  "morgan": "^1.10.0",
34
34
  "nunjucks": "^3.2.2",
35
- "peggy": "4.2.0",
35
+ "peggy": "5.0.6",
36
36
  "prettier": "^3.5.3",
37
37
  "tslib": "^2.6.3",
38
38
  "typescript": "^5.4.5"