Repository: electron/electron
Pull request: build(deps-dev): bump eslint-plugin-promise from 4.3.1 to 7.1.0

Bumps [eslint-plugin-promise](https://github.com/eslint-community/eslint-plugin-promise) from 4.3.1 to 7.1.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/eslint-community/eslint-plugin-promise/releases">eslint-plugin-promise's releases</a>.</em></p>
<blockquote>
<h2>v7.1.0</h2>
<h2><a href="https://github.com/eslint-community/eslint-plugin-promise/compare/v7.0.0...v7.1.0">7.1.0</a> (2024-08-06)</h2>
<h3>🌟 Features</h3>
<ul>
<li><strong><code>catch-or-return</code>, <code>prefer-await-to-then</code>:</strong> do not report Cypress commands (<a href="https://redirect.github.com/eslint-community/eslint-plugin-promise/issues/495">#495</a>) (<a href="https://github.com/eslint-community/eslint-plugin-promise/commit/943f16290f11af9717612e079646802e22310290">943f162</a>)</li>
<li><strong><code>prefer-await-to-then</code>:</strong> ignore constructor scope unless with <code>strict</code> option (<a href="https://redirect.github.com/eslint-community/eslint-plugin-promise/issues/496">#496</a>) (<a href="https://github.com/eslint-community/eslint-plugin-promise/commit/7bffb7a666ed74a876ba3a6c482c36ea6f9d6d07">7bffb7a</a>)</li>
<li>new rule <code>spec-only</code> to check for non-spec Promise methods (<a href="https://redirect.github.com/eslint-community/eslint-plugin-promise/issues/502">#502</a>) (<a href="https://github.com/eslint-community/eslint-plugin-promise/commit/d6e9de1f9c81194b775484ed0299dc5cc4898684">d6e9de1</a>)</li>
</ul>
<h3>📚 Documentation</h3>
<ul>
<li>fixes the CI readme badge (<a href="https://redirect.github.com/eslint-community/eslint-plugin-promise/issues/511">#511</a>) (<a href="https://github.com/eslint-community/eslint-plugin-promise/commit/030a3be890d371381ef13258806f97ec62d6b4fd">030a3be</a>)</li>
<li>supply missing docs (<a href="https://redirect.github.com/eslint-community/eslint-plugin-promise/issues/503">#503</a>) (<a href="https://github.com/eslint-community/eslint-plugin-promise/commit/602d8254871e46c9d1808ee1a3a2c48cb7493334">602d825</a>)</li>
</ul>
<h3>🧹 Chores</h3>
<ul>
<li>bump dev dependencies (<a href="https://redirect.github.com/eslint-community/eslint-plugin-promise/issues/483">#483</a>) (<a href="https://github.com/eslint-community/eslint-plugin-promise/commit/197ae4eb4f05f34c54189102871d969379595a54">197ae4e</a>)</li>
<li><strong>deps-dev:</strong> bump husky from 9.1.1 to 9.1.2 (<a href="https://redirect.github.com/eslint-community/eslint-plugin-promise/issues/516">#516</a>) (<a href="https://github.com/eslint-community/eslint-plugin-promise/commit/ab8e7a0d4fc8bde63fb6a6bb1e9743152778c4ee">ab8e7a0</a>)</li>
<li>file extension missing (<a href="https://redirect.github.com/eslint-community/eslint-plugin-promise/issues/519">#519</a>) (<a href="https://github.com/eslint-community/eslint-plugin-promise/commit/94c983483596bca2baa6c710273d348f8cf98d58">94c9834</a>)</li>
<li>fix format.yml (<a href="https://redirect.github.com/eslint-community/eslint-plugin-promise/issues/507">#507</a>) (<a href="https://github.com/eslint-community/eslint-plugin-promise/commit/948c09776e23e7dc38f155b268dcc002d59a957b">948c097</a>)</li>
</ul>
<h2>v7.0.0</h2>
<h1><a href="https://github.com/eslint-community/eslint-plugin-promise/compare/v6.6.0...v7.0.0">7.0.0</a> (2024-07-24)</h1>
<ul>
<li>feat!: Update node versions to align with eslint v9 (<a href="https://redirect.github.com/eslint-community/eslint-plugin-promise/issues/505">#505</a>) (<a href="https://github.com/eslint-community/eslint-plugin-promise/commit/09d0650846806df7fc4ce26156865cf57e27fba6">09d0650</a>), closes <a href="https://redirect.github.com/eslint-community/eslint-plugin-promise/issues/505">#505</a> <a href="https://redirect.github.com//redirect.github.com/eslint-community/eslint-plugin-promise/pull/484/issues/issuecomment-2246887433">eslint-community/eslint-plugin-promise#484</a> <a href="https://redirect.github.com/eslint-community/eslint-plugin-promise/issues/504">eslint-community/eslint-plugin-promise#504</a></li>
</ul>
<h3>BREAKING CHANGES</h3>
<ul>
<li>Requires Node.js: ^18.18.0 || ^20.9.0 || &gt;=21.1.0</li>
</ul>
<h2>v6.6.0</h2>
<h1><a href="https://github.com/eslint-community/eslint-plugin-promise/compare/v6.5.1...v6.6.0">6.6.0</a> (2024-07-21)</h1>
<h3>Bug Fixes</h3>
<ul>
<li><strong><code>always-return</code>:</strong> treat process.exit() or process.abort() as an acceptable &quot;return&quot; (<a href="https://redirect.github.com/eslint-community/eslint-plugin-promise/issues/493">#493</a>) (<a href="https://github.com/eslint-community/eslint-plugin-promise/commit/f368c5a7e4a1c1f40cafbf038b629e6054d2027e">f368c5a</a>)</li>
</ul>
<h3>Features</h3>
<ul>
<li>add <code>strict</code> option to disallow <code>then</code> or <code>catch</code> following <code>await</code> or <code>yield</code> (<a href="https://redirect.github.com/eslint-community/eslint-plugin-promise/issues/494">#494</a>) (<a href="https://github.com/eslint-community/eslint-plugin-promise/commit/fa482cc1134f5669b2dd9f56ea2ef9e96c3c30a0">fa482cc</a>)</li>
</ul>
<h2>v6.5.1</h2>
<h2><a href="https://github.com/eslint-community/eslint-plugin-promise/compare/v6.5.0...v6.5.1">6.5.1</a> (2024-07-20)</h2>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/eslint-community/eslint-plugin-promise/blob/main/CHANGELOG.md">eslint-plugin-promise's changelog</a>.</em></p>
<blockquote>
<h2><a href="https://github.com/eslint-community/eslint-plugin-promise/compare/v7.0.0...v7.1.0">7.1.0</a> (2024-08-06)</h2>
<h3>🌟 Features</h3>
<ul>
<li><strong><code>catch-or-return</code>, <code>prefer-await-to-then</code>:</strong> do not report Cypress commands (<a href="https://redirect.github.com/eslint-community/eslint-plugin-promise/issues/495">#495</a>) (<a href="https://github.com/eslint-community/eslint-plugin-promise/commit/943f16290f11af9717612e079646802e22310290">943f162</a>)</li>
<li><strong><code>prefer-await-to-then</code>:</strong> ignore constructor scope unless with <code>strict</code> option (<a href="https://redirect.github.com/eslint-community/eslint-plugin-promise/issues/496">#496</a>) (<a href="https://github.com/eslint-community/eslint-plugin-promise/commit/7bffb7a666ed74a876ba3a6c482c36ea6f9d6d07">7bffb7a</a>)</li>
<li>new rule <code>spec-only</code> to check for non-spec Promise methods (<a href="https://redirect.github.com/eslint-community/eslint-plugin-promise/issues/502">#502</a>) (<a href="https://github.com/eslint-community/eslint-plugin-promise/commit/d6e9de1f9c81194b775484ed0299dc5cc4898684">d6e9de1</a>)</li>
</ul>
<h3>📚 Documentation</h3>
<ul>
<li>fixes the CI readme badge (<a href="https://redirect.github.com/eslint-community/eslint-plugin-promise/issues/511">#511</a>) (<a href="https://github.com/eslint-community/eslint-plugin-promise/commit/030a3be890d371381ef13258806f97ec62d6b4fd">030a3be</a>)</li>
<li>supply missing docs (<a href="https://redirect.github.com/eslint-community/eslint-plugin-promise/issues/503">#503</a>) (<a href="https://github.com/eslint-community/eslint-plugin-promise/commit/602d8254871e46c9d1808ee1a3a2c48cb7493334">602d825</a>)</li>
</ul>
<h3>🧹 Chores</h3>
<ul>
<li>bump dev dependencies (<a href="https://redirect.github.com/eslint-community/eslint-plugin-promise/issues/483">#483</a>) (<a href="https://github.com/eslint-community/eslint-plugin-promise/commit/197ae4eb4f05f34c54189102871d969379595a54">197ae4e</a>)</li>
<li><strong>deps-dev:</strong> bump husky from 9.1.1 to 9.1.2 (<a href="https://redirect.github.com/eslint-community/eslint-plugin-promise/issues/516">#516</a>) (<a href="https://github.com/eslint-community/eslint-plugin-promise/commit/ab8e7a0d4fc8bde63fb6a6bb1e9743152778c4ee">ab8e7a0</a>)</li>
<li>file extension missing (<a href="https://redirect.github.com/eslint-community/eslint-plugin-promise/issues/519">#519</a>) (<a href="https://github.com/eslint-community/eslint-plugin-promise/commit/94c983483596bca2baa6c710273d348f8cf98d58">94c9834</a>)</li>
<li>fix format.yml (<a href="https://redirect.github.com/eslint-community/eslint-plugin-promise/issues/507">#507</a>) (<a href="https://github.com/eslint-community/eslint-plugin-promise/commit/948c09776e23e7dc38f155b268dcc002d59a957b">948c097</a>)</li>
</ul>
<h2>6.0.2</h2>
<ul>
<li>Added tests for <code>@​typescript-eslint/parser</code> support</li>
</ul>
<h2>6.0.1</h2>
<ul>
<li>Fixed <code>@​typescript-eslint/parser</code> issue <a href="https://redirect.github.com/eslint-community/eslint-plugin-promise/issues/331">#331</a>, <a href="https://redirect.github.com/eslint-community/eslint-plugin-promise/issues/205">#205</a></li>
</ul>
<h2>6.0.0</h2>
<ul>
<li>Dropped node 10 from engines <a href="https://redirect.github.com/eslint-community/eslint-plugin-promise/issues/231">#231</a></li>
<li>Updated a ton of deps <a href="https://redirect.github.com/eslint-community/eslint-plugin-promise/issues/236">#236</a>, <a href="https://redirect.github.com/eslint-community/eslint-plugin-promise/issues/237">#237</a>, <a href="https://redirect.github.com/eslint-community/eslint-plugin-promise/issues/235">#235</a>, <a href="https://redirect.github.com/eslint-community/eslint-plugin-promise/issues/234">#234</a></li>
<li>ESLint 8 support <a href="https://redirect.github.com/eslint-community/eslint-plugin-promise/issues/219">#219</a></li>
</ul>
<h2>5.2.0</h2>
<ul>
<li>Updated <code>param-names</code> rule to allow for unused params</li>
</ul>
<h2>5.1.1</h2>
<ul>
<li>Updated docs to include <code>no-callback-in-promise</code> reasons <a href="https://redirect.github.com/eslint-community/eslint-plugin-promise/issues/215">#215</a></li>
</ul>
<h2>5.1.0</h2>
<ul>
<li>Included <code>catch()</code> and <code>finally()</code> in <code>prefer-await-to-then</code> <a href="https://redirect.github.com/eslint-community/eslint-plugin-promise/issues/196">#196</a></li>
<li>Added some additional tests and upgraded some dev deps <a href="https://redirect.github.com/eslint-community/eslint-plugin-promise/issues/196">#196</a></li>
<li>Exempted array methods in prefer-await-to-callbacks</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/eslint-community/eslint-plugin-promise/commit/d0ff43f07cbc610a9bb755b713fe49aea1c593f5"><code>d0ff43f</code></a> chore(main): release 7.1.0 (<a href="https://redirect.github.com/eslint-community/eslint-plugin-promise/issues/510">#510</a>)</li>
<li><a href="https://github.com/eslint-community/eslint-plugin-promise/commit/adc4a857898c546e68c81c03cc9ba767c00717ff"><code>adc4a85</code></a> ci: fix feedback on <code>release-please</code> (<a href="https://redirect.github.com/eslint-community/eslint-plugin-promise/issues/531">#531</a>)</li>
<li><a href="https://github.com/eslint-community/eslint-plugin-promise/commit/94c983483596bca2baa6c710273d348f8cf98d58"><code>94c9834</code></a> refactor: file extension missing (<a href="https://redirect.github.com/eslint-community/eslint-plugin-promise/issues/519">#519</a>)</li>
<li><a href="https://github.com/eslint-community/eslint-plugin-promise/commit/ab8e7a0d4fc8bde63fb6a6bb1e9743152778c4ee"><code>ab8e7a0</code></a> chore(deps-dev): bump husky from 9.1.1 to 9.1.2 (<a href="https://redirect.github.com/eslint-community/eslint-plugin-promise/issues/516">#516</a>)</li>
<li><a href="https://github.com/eslint-community/eslint-plugin-promise/commit/1e13293b007ac4914e723ef9b964bc19dbfb7d1e"><code>1e13293</code></a> ci: add pr title format validation (<a href="https://redirect.github.com/eslint-community/eslint-plugin-promise/issues/509">#509</a>)</li>
<li><a href="https://github.com/eslint-community/eslint-plugin-promise/commit/030a3be890d371381ef13258806f97ec62d6b4fd"><code>030a3be</code></a> docs: fixes the CI readme badge (<a href="https://redirect.github.com/eslint-community/eslint-plugin-promise/issues/511">#511</a>)</li>
<li><a href="https://github.com/eslint-community/eslint-plugin-promise/commit/7bffb7a666ed74a876ba3a6c482c36ea6f9d6d07"><code>7bffb7a</code></a> feat(<code>prefer-await-to-then</code>): ignore constructor scope unless with <code>strict</code> o...</li>
<li><a href="https://github.com/eslint-community/eslint-plugin-promise/commit/d6e9de1f9c81194b775484ed0299dc5cc4898684"><code>d6e9de1</code></a> feat: new rule <code>spec-only</code> to check for non-spec Promise methods (<a href="https://redirect.github.com/eslint-community/eslint-plugin-promise/issues/502">#502</a>)</li>
<li><a href="https://github.com/eslint-community/eslint-plugin-promise/commit/943f16290f11af9717612e079646802e22310290"><code>943f162</code></a> feat(<code>catch-or-return</code>, <code>prefer-await-to-then</code>): do not report Cypress comman...</li>
<li><a href="https://github.com/eslint-community/eslint-plugin-promise/commit/e1ce2ad4a990106b99bf8e850d681950d612c83e"><code>e1ce2ad</code></a> ci: swap release process to release-please (<a href="https://redirect.github.com/eslint-community/eslint-plugin-promise/issues/508">#508</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/eslint-community/eslint-plugin-promise/compare/v4.3.1...v7.1.0">compare view</a></li>
</ul>
</details>
<details>
<summary>Maintainer changes</summary>
<p>This version was pushed to npm by <a href="https://www.npmjs.com/~eslint-community-bot">eslint-community-bot</a>, a new releaser for eslint-plugin-promise since your current version.</p>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=eslint-plugin-promise&package-manager=npm_and_yarn&previous-version=4.3.1&new-version=7.1.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>

---

Notes: none

Changed files:
filename: package.json
patch: @@ -43,7 +43,7 @@
     "eslint-plugin-import": "^2.26.0",
     "eslint-plugin-mocha": "^7.0.1",
     "eslint-plugin-node": "^11.1.0",
-    "eslint-plugin-promise": "^4.2.1",
+    "eslint-plugin-promise": "^7.1.0",
     "eslint-plugin-standard": "^4.0.1",
     "eslint-plugin-unicorn": "^46.0.1",
     "events": "^3.2.0",

filename: yarn.lock
patch: @@ -2564,16 +2564,16 @@ eslint-plugin-node@^11.1.0:
     resolve "^1.10.1"
     semver "^6.1.0"
 
-eslint-plugin-promise@^4.2.1:
-  version "4.3.1"
-  resolved "https://registry.yarnpkg.com/eslint-plugin-promise/-/eslint-plugin-promise-4.3.1.tgz#61485df2a359e03149fdafc0a68b0e030ad2ac45"
-  integrity sha512-bY2sGqyptzFBDLh/GMbAxfdJC+b0f23ME63FOE4+Jao0oZ3E1LEwFtWJX/1pGMJLiTtrSSern2CRM/g+dfc0eQ==
-
 eslint-plugin-promise@^6.0.0:
   version "6.1.1"
   resolved "https://registry.yarnpkg.com/eslint-plugin-promise/-/eslint-plugin-promise-6.1.1.tgz#269a3e2772f62875661220631bd4dafcb4083816"
   integrity sha512-tjqWDwVZQo7UIPMeDReOpUgHCmCiH+ePnVT+5zVapL0uuHnegBUs2smM13CzOs2Xb5+MHMRFTs9v24yjba4Oig==
 
+eslint-plugin-promise@^7.1.0:
+  version "7.1.0"
+  resolved "https://registry.yarnpkg.com/eslint-plugin-promise/-/eslint-plugin-promise-7.1.0.tgz#06b3ad6d36b3c3ef3ec201c8a8d97049cf5dbb20"
+  integrity sha512-8trNmPxdAy3W620WKDpaS65NlM5yAumod6XeC4LOb+jxlkG4IVcp68c6dXY2ev+uT4U1PtG57YDV6EGAXN0GbQ==
+
 eslint-plugin-react@^7.28.0:
   version "7.32.2"
   resolved "https://registry.yarnpkg.com/eslint-plugin-react/-/eslint-plugin-react-7.32.2.tgz#e71f21c7c265ebce01bcbc9d0955170c55571f10"