[MM-59543] Disallow use of file: protocol in the app, remove all references to it, add mattermost-desktop: protocol to read local files (#3095)

This commit is contained in:
Devin Binnie
2024-07-18 16:01:44 -04:00
committed by GitHub
parent 87b2f12663
commit 080e4bf727
41 changed files with 99 additions and 152 deletions

8
package-lock.json generated
View File

@@ -39,7 +39,7 @@
"@babel/preset-env": "7.24.0",
"@babel/preset-react": "7.23.3",
"@babel/preset-typescript": "7.23.3",
"@electron/fuses": "1.6.0",
"@electron/fuses": "1.8.0",
"@mattermost/desktop-api": "file:api-types",
"@mattermost/eslint-plugin": "1.1.0-0",
"@types/auto-launch": "5.0.5",
@@ -2050,9 +2050,9 @@
}
},
"node_modules/@electron/fuses": {
"version": "1.6.0",
"resolved": "https://registry.npmjs.org/@electron/fuses/-/fuses-1.6.0.tgz",
"integrity": "sha512-UnZgLfVO1jf7QoYVEEB27CCP1JjT5plhbWU1U8ji1OaXnvNe5UT6KPuRJ3Z12mwa5ZBAASU2tgxVuI06/2x6nQ==",
"version": "1.8.0",
"resolved": "https://registry.npmjs.org/@electron/fuses/-/fuses-1.8.0.tgz",
"integrity": "sha512-zx0EIq78WlY/lBb1uXlziZmDZI4ubcCXIMJ4uGjXzZW0nS19TjSPeXPAjzzTmKQlJUZm0SbmZhPKP7tuQ1SsEw==",
"dev": true,
"dependencies": {
"chalk": "^4.1.1",