@todesktop/shared 7.72.0 → 7.73.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/lib/desktopify.d.ts +1 -0
- package/lib/desktopify2.d.ts +5 -0
- package/lib/toDesktop.d.ts +1 -0
- package/package.json +1 -1
- package/src/desktopify.ts +2 -0
- package/src/desktopify2.ts +5 -0
- package/src/toDesktop.ts +1 -0
package/lib/desktopify.d.ts
CHANGED
package/lib/desktopify2.d.ts
CHANGED
|
@@ -257,6 +257,11 @@ export interface DesktopifyApp2 {
|
|
|
257
257
|
* The app's menus
|
|
258
258
|
*/
|
|
259
259
|
menus: DesktopifyAppMenu[];
|
|
260
|
+
/**
|
|
261
|
+
* Prevents a potential vulnerability in URL matching in Electron
|
|
262
|
+
* https://linear.app/todesktop/issue/TD-1428/html-injection-due-to-regular-expression-bypass
|
|
263
|
+
*/
|
|
264
|
+
useSafeInternalUrlMatcher?: boolean;
|
|
260
265
|
}
|
|
261
266
|
export interface IApp2 extends BaseApp {
|
|
262
267
|
desktopApp: DesktopifyApp2;
|
package/lib/toDesktop.d.ts
CHANGED
package/package.json
CHANGED
package/src/desktopify.ts
CHANGED
|
@@ -299,4 +299,6 @@ export interface DesktopifyApp {
|
|
|
299
299
|
crashReporter?: string;
|
|
300
300
|
companyName?: string;
|
|
301
301
|
pollForAppUpdatesEveryXMinutes?: number;
|
|
302
|
+
// https://linear.app/todesktop/issue/TD-1428/html-injection-due-to-regular-expression-bypass
|
|
303
|
+
useSafeInternalUrlMatcher?: boolean;
|
|
302
304
|
}
|
package/src/desktopify2.ts
CHANGED
|
@@ -364,6 +364,11 @@ export interface DesktopifyApp2 {
|
|
|
364
364
|
* The app's menus
|
|
365
365
|
*/
|
|
366
366
|
menus: DesktopifyAppMenu[];
|
|
367
|
+
/**
|
|
368
|
+
* Prevents a potential vulnerability in URL matching in Electron
|
|
369
|
+
* https://linear.app/todesktop/issue/TD-1428/html-injection-due-to-regular-expression-bypass
|
|
370
|
+
*/
|
|
371
|
+
useSafeInternalUrlMatcher?: boolean;
|
|
367
372
|
}
|
|
368
373
|
|
|
369
374
|
export interface IApp2 extends BaseApp {
|
package/src/toDesktop.ts
CHANGED