@xterm/addon-web-links 0.12.0-beta.98 → 0.12.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.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xterm/addon-web-links",
|
|
3
|
-
"version": "0.12.0
|
|
3
|
+
"version": "0.12.0",
|
|
4
4
|
"author": {
|
|
5
5
|
"name": "The xterm.js authors",
|
|
6
6
|
"url": "https://xtermjs.org/"
|
|
@@ -22,8 +22,5 @@
|
|
|
22
22
|
"prepublishOnly": "npm run package",
|
|
23
23
|
"start": "node ../../demo/start"
|
|
24
24
|
},
|
|
25
|
-
"
|
|
26
|
-
"@xterm/xterm": "^5.6.0-beta.98"
|
|
27
|
-
},
|
|
28
|
-
"commit": "2042bb85023714e55c0c2e986b5000e33b17c414"
|
|
25
|
+
"commit": "f447274f430fd22513f6adbf9862d19524471c04"
|
|
29
26
|
}
|
|
@@ -14,6 +14,10 @@ declare module '@xterm/addon-web-links' {
|
|
|
14
14
|
/**
|
|
15
15
|
* Creates a new web links addon.
|
|
16
16
|
* @param handler The callback when the link is called.
|
|
17
|
+
*
|
|
18
|
+
* Note that this may not work when the terminal is hosted inside an iframe,
|
|
19
|
+
* in that case provide a custom handler in that case being mindful of
|
|
20
|
+
* possible security issues like reverse tabnapping.
|
|
17
21
|
* @param options Options for the link provider.
|
|
18
22
|
*/
|
|
19
23
|
constructor(handler?: (event: MouseEvent, uri: string) => void, options?: ILinkProviderOptions);
|