@battlefieldduck/xterm-svelte 2.1.1 → 2.2.0

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.
@@ -10,15 +10,6 @@ export declare class XtermAddon {
10
10
  default: typeof import("@xterm/addon-attach");
11
11
  AttachAddon: typeof import("@xterm/addon-attach").AttachAddon;
12
12
  }>;
13
- /**
14
- * Dynamically imports the 'canvas' addon from `@xterm/addon-canvas`.
15
- * For more details, visit: https://github.com/xtermjs/xterm.js/tree/master/addons/addon-canvas
16
- * @returns A promise that resolves to the 'canvas' addon module.
17
- */
18
- static CanvasAddon: () => Promise<{
19
- default: typeof import("@xterm/addon-canvas");
20
- CanvasAddon: typeof import("@xterm/addon-canvas").CanvasAddon;
21
- }>;
22
13
  /**
23
14
  * Dynamically imports the 'clipboard' addon from `@xterm/addon-clipboard`.
24
15
  * @returns A promise that resolves to the 'clipboard' addon module.
@@ -53,6 +44,14 @@ export declare class XtermAddon {
53
44
  *
54
45
  * @returns A promise that resolves to the 'ligatures' addon module.
55
46
  */
47
+ /**
48
+ * Dynamically imports the 'progress' addon from `@xterm/addon-progress`.
49
+ * @returns A promise that resolves to the 'progress' addon module.
50
+ */
51
+ static ProgressAddon: () => Promise<{
52
+ default: typeof import("@xterm/addon-progress");
53
+ ProgressAddon: typeof import("@xterm/addon-progress").ProgressAddon;
54
+ }>;
56
55
  /**
57
56
  * Dynamically imports the 'search' addon from `@xterm/addon-search`.
58
57
  * @returns A promise that resolves to the 'search' addon module.
@@ -7,12 +7,6 @@ export class XtermAddon {
7
7
  * @returns A promise that resolves to the 'attach' addon module.
8
8
  */
9
9
  static AttachAddon = async () => await import('@xterm/addon-attach');
10
- /**
11
- * Dynamically imports the 'canvas' addon from `@xterm/addon-canvas`.
12
- * For more details, visit: https://github.com/xtermjs/xterm.js/tree/master/addons/addon-canvas
13
- * @returns A promise that resolves to the 'canvas' addon module.
14
- */
15
- static CanvasAddon = async () => await import('@xterm/addon-canvas');
16
10
  /**
17
11
  * Dynamically imports the 'clipboard' addon from `@xterm/addon-clipboard`.
18
12
  * @returns A promise that resolves to the 'clipboard' addon module.
@@ -43,6 +37,11 @@ export class XtermAddon {
43
37
  // }
44
38
  // return await import('@xterm/addon-ligatures');
45
39
  // }
40
+ /**
41
+ * Dynamically imports the 'progress' addon from `@xterm/addon-progress`.
42
+ * @returns A promise that resolves to the 'progress' addon module.
43
+ */
44
+ static ProgressAddon = async () => await import('@xterm/addon-progress');
46
45
  /**
47
46
  * Dynamically imports the 'search' addon from `@xterm/addon-search`.
48
47
  * @returns A promise that resolves to the 'search' addon module.
@@ -1,8 +1,8 @@
1
1
  export type * from '@xterm/addon-attach';
2
- export type * from '@xterm/addon-canvas';
3
2
  export type * from '@xterm/addon-clipboard';
4
3
  export type * from '@xterm/addon-fit';
5
4
  export type * from '@xterm/addon-image';
5
+ export type * from '@xterm/addon-progress';
6
6
  export type * from '@xterm/addon-search';
7
7
  export type * from '@xterm/addon-serialize';
8
8
  export type * from '@xterm/addon-unicode11';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@battlefieldduck/xterm-svelte",
3
- "version": "2.1.1",
3
+ "version": "2.2.0",
4
4
  "description": "A SvelteKit wrapper for Xterm.js, enabling terminal embedding in SvelteKit apps, managing Xterm addons, and providing seamless updates with the latest SvelteKit and Xterm.js versions.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -42,29 +42,29 @@
42
42
  }
43
43
  },
44
44
  "peerDependencies": {
45
- "svelte": "^5.0.0"
45
+ "svelte": "^5.46.0"
46
46
  },
47
47
  "devDependencies": {
48
- "@eslint/compat": "^1.2.5",
49
- "@eslint/js": "^9.22.0",
50
- "@playwright/test": "^1.49.1",
51
- "@sveltejs/adapter-auto": "^6.0.0",
52
- "@sveltejs/kit": "^2.22.0",
53
- "@sveltejs/package": "^2.0.0",
54
- "@sveltejs/vite-plugin-svelte": "^6.0.0",
55
- "@types/node": "^24",
56
- "eslint": "^9.22.0",
57
- "eslint-config-prettier": "^10.0.1",
58
- "eslint-plugin-svelte": "^3.0.0",
59
- "globals": "^16.0.0",
60
- "prettier": "^3.4.2",
61
- "prettier-plugin-svelte": "^3.3.3",
62
- "publint": "^0.3.2",
63
- "svelte": "^5.0.0",
64
- "svelte-check": "^4.0.0",
65
- "typescript": "^5.0.0",
66
- "typescript-eslint": "^8.20.0",
67
- "vite": "^7.0.4",
48
+ "@eslint/compat": "^2.0.0",
49
+ "@eslint/js": "^9.39.2",
50
+ "@playwright/test": "^1.57.0",
51
+ "@sveltejs/adapter-auto": "^7.0.0",
52
+ "@sveltejs/kit": "^2.49.2",
53
+ "@sveltejs/package": "^2.5.7",
54
+ "@sveltejs/vite-plugin-svelte": "^6.2.1",
55
+ "@types/node": "^25.0.3",
56
+ "eslint": "^9.39.2",
57
+ "eslint-config-prettier": "^10.1.8",
58
+ "eslint-plugin-svelte": "^3.13.1",
59
+ "globals": "^16.5.0",
60
+ "prettier": "^3.7.4",
61
+ "prettier-plugin-svelte": "^3.4.1",
62
+ "publint": "^0.3.16",
63
+ "svelte": "^5.46.0",
64
+ "svelte-check": "^4.3.5",
65
+ "typescript": "^5.9.3",
66
+ "typescript-eslint": "^8.50.1",
67
+ "vite": "^7.3.0",
68
68
  "vite-plugin-devtools-json": "^1.0.0"
69
69
  },
70
70
  "keywords": [
@@ -75,16 +75,16 @@
75
75
  "xterm-svelte"
76
76
  ],
77
77
  "dependencies": {
78
- "@xterm/addon-attach": "^0.11.0",
79
- "@xterm/addon-canvas": "^0.7.0",
80
- "@xterm/addon-clipboard": "^0.1.0",
81
- "@xterm/addon-fit": "^0.10.0",
82
- "@xterm/addon-image": "^0.8.0",
83
- "@xterm/addon-search": "^0.15.0",
84
- "@xterm/addon-serialize": "^0.13.0",
85
- "@xterm/addon-unicode11": "^0.8.0",
86
- "@xterm/addon-web-links": "^0.11.0",
87
- "@xterm/addon-webgl": "^0.18.0",
88
- "@xterm/xterm": "^5.5.0"
78
+ "@xterm/addon-attach": "^0.12.0",
79
+ "@xterm/addon-clipboard": "^0.2.0",
80
+ "@xterm/addon-fit": "^0.11.0",
81
+ "@xterm/addon-image": "^0.9.0",
82
+ "@xterm/addon-progress": "^0.2.0",
83
+ "@xterm/addon-search": "^0.16.0",
84
+ "@xterm/addon-serialize": "^0.14.0",
85
+ "@xterm/addon-unicode11": "^0.9.0",
86
+ "@xterm/addon-web-links": "^0.12.0",
87
+ "@xterm/addon-webgl": "^0.19.0",
88
+ "@xterm/xterm": "^6.0.0"
89
89
  }
90
90
  }