Bump electron from 31.2.1 to 31.3.0 (#153)

[//]: # (dependabot-start)
⚠️  **Dependabot is rebasing this PR** ⚠️ 

Rebasing might not happen immediately, so don't worry if this takes some
time.

Note: if you make any changes to this PR yourself, they will take
precedence over the rebase.

---

[//]: # (dependabot-end)

Bumps [electron](https://github.com/electron/electron) from 31.2.1 to
31.3.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/electron/electron/releases">electron's
releases</a>.</em></p>
<blockquote>
<h2>electron v31.3.0</h2>
<h1>Release Notes for v31.3.0</h1>
<h2>Features</h2>
<ul>
<li>Added <code>DownloadItem.getCurrentBytesPerSecond()</code>,
<code>DownloadItem.getPercentComplete()</code>,
<code>DownloadItem.getEndTime()</code>. <a
href="https://redirect.github.com/electron/electron/pull/42915">#42915</a>
<!-- raw HTML omitted -->(Also in <a
href="https://redirect.github.com/electron/electron/pull/42914">30</a>,
<a
href="https://redirect.github.com/electron/electron/pull/42913">32</a>)<!--
raw HTML omitted --></li>
<li>Aligned failure pathway in File System Access API with upstream when
attempting to open a file or directory in a blocked path. <a
href="https://redirect.github.com/electron/electron/pull/42994">#42994</a>
<!-- raw HTML omitted -->(Also in <a
href="https://redirect.github.com/electron/electron/pull/42993">32</a>)<!--
raw HTML omitted --></li>
</ul>
<h2>Fixes</h2>
<ul>
<li>Fixed a potential crash when using off screen rendering. <a
href="https://redirect.github.com/electron/electron/pull/42941">#42941</a>
<!-- raw HTML omitted -->(Also in <a
href="https://redirect.github.com/electron/electron/pull/42939">30</a>,
<a
href="https://redirect.github.com/electron/electron/pull/42940">32</a>)<!--
raw HTML omitted --></li>
<li>Fixed an issue where
<code>navigator.mediaDevices.getUserMedia</code> and
<code>navigator.getUserMedia</code> should reject with a
<code>NotAllowedError</code> if microphone or camera permissions have
been denied at the system level on macOS. <a
href="https://redirect.github.com/electron/electron/pull/42937">#42937</a>
<!-- raw HTML omitted -->(Also in <a
href="https://redirect.github.com/electron/electron/pull/42938">30</a>,
<a
href="https://redirect.github.com/electron/electron/pull/42936">32</a>)<!--
raw HTML omitted --></li>
<li>Fixed an issue where calling
<code>BrowserWindow.setBackgroundColor</code> with some level of
transparency could cause a crash. <a
href="https://redirect.github.com/electron/electron/pull/42928">#42928</a>
<!-- raw HTML omitted -->(Also in <a
href="https://redirect.github.com/electron/electron/pull/42927">32</a>)<!--
raw HTML omitted --></li>
</ul>
<h2>Other Changes</h2>
<ul>
<li>Fix: fixed the <code>npm run lint</code> not working on Windows. <a
href="https://redirect.github.com/electron/electron/pull/42906">#42906</a>
<!-- raw HTML omitted -->(Also in <a
href="https://redirect.github.com/electron/electron/pull/42905">32</a>)<!--
raw HTML omitted --></li>
<li>Updated Chromium to 126.0.6478.183. <a
href="https://redirect.github.com/electron/electron/pull/42942">#42942</a></li>
<li>Updated Node.js to v20.15.1. <a
href="https://redirect.github.com/electron/electron/pull/42839">#42839</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="9e14f8d828"><code>9e14f8d</code></a>
feat: emit an event when accessing restricted path in File System Access
API ...</li>
<li><a
href="f797f92716"><code>f797f92</code></a>
docs: note macOS fullscreen events in fullscreen query (<a
href="https://redirect.github.com/electron/electron/issues/43016">#43016</a>)</li>
<li><a
href="7f6eab8c25"><code>7f6eab8</code></a>
docs: improve desktop capture example (<a
href="https://redirect.github.com/electron/electron/issues/43005">#43005</a>)</li>
<li><a
href="b288f3ee59"><code>b288f3e</code></a>
refactor: remove WindowListObserver::OnWindowAdded() (<a
href="https://redirect.github.com/electron/electron/issues/42984">#42984</a>)</li>
<li><a
href="b833c3f02a"><code>b833c3f</code></a>
chore: remove unused BaseWindow::GetWeakPtr() (<a
href="https://redirect.github.com/electron/electron/issues/42988">#42988</a>)</li>
<li><a
href="d53f1d8ff4"><code>d53f1d8</code></a>
chore: remove unused WrappableBase::AfterInit() (<a
href="https://redirect.github.com/electron/electron/issues/42986">#42986</a>)</li>
<li><a
href="e259dd591f"><code>e259dd5</code></a>
chore: remove unused typedef CreateDownloadPathCallback (<a
href="https://redirect.github.com/electron/electron/issues/42968">#42968</a>)</li>
<li><a
href="daf8d22e07"><code>daf8d22</code></a>
refactor: remove unused web contents preferences methods (<a
href="https://redirect.github.com/electron/electron/issues/42969">#42969</a>)</li>
<li><a
href="6249f596f9"><code>6249f59</code></a>
chore: bump chromium to 126.0.6478.183 (31-x-y) (<a
href="https://redirect.github.com/electron/electron/issues/42942">#42942</a>)</li>
<li><a
href="6c1409ae57"><code>6c1409a</code></a>
chore: remove unused field
<code>ElectronBrowserClient::browser_main_parts_</code> (<a
href="https://redirect.github.com/electron/electron/issues/42965">#42965</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/electron/electron/compare/v31.2.1...v31.3.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=electron&package-manager=npm_and_yarn&previous-version=31.2.1&new-version=31.3.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
dependabot[bot] 2024-07-26 08:29:42 -07:00 committed by GitHub
parent 2ce5c0c329
commit 1dea7fc3ce
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 6 deletions

View file

@ -46,7 +46,7 @@
"@types/uuid": "^10.0.0",
"@vitejs/plugin-react-swc": "^3.7.0",
"@vitest/coverage-istanbul": "^2.0.4",
"electron": "^31.2.1",
"electron": "^31.3.0",
"electron-builder": "^24.13.3",
"electron-vite": "^2.3.0",
"eslint": "^9.7.0",

View file

@ -6325,16 +6325,16 @@ __metadata:
languageName: node
linkType: hard
"electron@npm:^31.2.1":
version: 31.2.1
resolution: "electron@npm:31.2.1"
"electron@npm:^31.3.0":
version: 31.3.0
resolution: "electron@npm:31.3.0"
dependencies:
"@electron/get": "npm:^2.0.0"
"@types/node": "npm:^20.9.0"
extract-zip: "npm:^2.0.1"
bin:
electron: cli.js
checksum: 10c0/f1b4ed8ebd5213a29cb84af884c3437055626f730c419aca58168f46fd0bb57bcf113790b90a201a6e2b13939cb297e925cfcc84abf04716b1077a7f0ae06291
checksum: 10c0/ee02c53c58836a3f0bb6e2e0e8238d4ed0d51fc9cb1d4cb7b22de42c4198c268b3fbcc56d1d5a98e99756b2aa42fe36e83c3532553b7ab7dfe2fcd62acf2db42
languageName: node
linkType: hard
@ -11879,7 +11879,7 @@ __metadata:
base64-js: "npm:^1.5.1"
clsx: "npm:^2.1.1"
dayjs: "npm:^1.11.12"
electron: "npm:^31.2.1"
electron: "npm:^31.3.0"
electron-builder: "npm:^24.13.3"
electron-updater: "npm:6.3.1"
electron-vite: "npm:^2.3.0"