mirror of
https://github.com/actions/create-github-app-token.git
synced 2026-12-05 15:22:56 +00:00
Bumps [p-retry](https://github.com/sindresorhus/p-retry) from 8.0.1 to 9.0.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/sindresorhus/p-retry/releases">p-retry's releases</a>.</em></p> <blockquote> <h2>v9.0.0</h2> <h3>Breaking</h3> <ul> <li>Once <code>signal</code> is aborted, the promise always rejects with the abort reason and no more callbacks are called dff55ff 1d8bd87 62d4a51 <ul> <li>Before, if the abort came during an attempt or a callback, <code>shouldConsumeRetry</code>, <code>onFailedAttempt</code>, and <code>shouldRetry</code> could still run. The promise could also reject with the operation's error instead of the abort reason.</li> <li>The abort reason now also wins over an <code>AbortError</code> thrown by the operation.</li> </ul> </li> <li><code>shouldConsumeRetry</code> returning nothing now counts as <code>true</code> e80456b <ul> <li>Before, a callback that forgot to <code>return</code> made failures skip the <code>retries</code> budget, so retries never ran out.</li> </ul> </li> <li>Validate the <code>randomize</code>, <code>unref</code>, and <code>signal</code> options e80456b dff55ff <ul> <li><code>randomize</code> and <code>unref</code> must be booleans, and <code>signal</code> must be an <code>AbortSignal</code>. Other values now throw a <code>TypeError</code>.</li> </ul> </li> </ul> <h3>Improvements</h3> <ul> <li>Make the <code>message</code> argument of <code>AbortError</code> optional 62d4a51</li> <li>Keep the <code>this</code> type of the function passed to <code>makeRetriable</code> 2f34d75</li> <li>Allow explicitly passing <code>undefined</code> for options when using <code>exactOptionalPropertyTypes</code> 2f34d75</li> </ul> <h3>Fixes</h3> <ul> <li>Fix very long retry delays firing immediately 4100a6d <ul> <li><code>setTimeout</code> runs a delay above 2147483647ms (about 24.9 days) right away. Delays are now capped at that value.</li> </ul> </li> <li>Fix <code>NaN</code> retry delay when <code>minTimeout</code> is <code>0</code> and <code>factor</code> grows to <code>Infinity</code> 4100a6d</li> <li>Fix a nested <code>AbortError</code> escaping instead of its cause dff55ff</li> <li>Fix a thrown value that cannot be stringified replacing the real failure 9ba0763</li> <li>Fix the stack of the error wrapped by <code>AbortError</code> 00a53aa 33d5e2b <ul> <li>It now has the correct message and starts at the caller instead of inside p-retry.</li> </ul> </li> <li>Call <code>shouldConsumeRetry</code> also when <code>maxRetryTime</code> has run out, so the callbacks always run in the documented order bd5d4a8</li> <li>Report <code>retryDelay: 0</code> for a <code>TypeError</code> that is never retried 127e14e</li> </ul> <hr /> <p><a href="https://github.com/sindresorhus/p-retry/compare/v8.0.1...v9.0.0">https://github.com/sindresorhus/p-retry/compare/v8.0.1...v9.0.0</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/sindresorhus/p-retry/commit/ac3c4cdb7f015e1f71825e4274e2323a49b615eb"><code>ac3c4cd</code></a> 9.0.0</li> <li><a href="https://github.com/sindresorhus/p-retry/commit/2f34d753ec4163e1959b89fc263a2b2b98801bea"><code>2f34d75</code></a> Tweaks</li> <li><a href="https://github.com/sindresorhus/p-retry/commit/f6e099a4aaa00cce64ebc787818cbfba5e9df856"><code>f6e099a</code></a> Drop the <code>Number.isFinite</code> special cases for <code>retries</code></li> <li><a href="https://github.com/sindresorhus/p-retry/commit/33d5e2beb58f81db172f36c7f1bcc79d9107625f"><code>33d5e2b</code></a> Start the stack of the wrapped AbortError error at the caller</li> <li><a href="https://github.com/sindresorhus/p-retry/commit/90dd863d3d3078b83cbe4c7c7d706f1d95592b8b"><code>90dd863</code></a> More tests</li> <li><a href="https://github.com/sindresorhus/p-retry/commit/84125f74bd6cb6c7508f89aebc422ec3236e0bc0"><code>84125f7</code></a> Fix the readme structure and sync the <code>retryDelay</code> note</li> <li><a href="https://github.com/sindresorhus/p-retry/commit/11cd55b001a076d72fbcd57ae48ab131dd56f49e"><code>11cd55b</code></a> Only compute the retry delay when a retry is still possible</li> <li><a href="https://github.com/sindresorhus/p-retry/commit/127e14ef77ddb49c32615cbfd45d5584bdcdaae0"><code>127e14e</code></a> Round a fractional <code>maxTimeout</code> up</li> <li><a href="https://github.com/sindresorhus/p-retry/commit/4a2fb437465d2d75870cb71e7ba18558c29a60a7"><code>4a2fb43</code></a> Simplify the tests and add missing coverage</li> <li><a href="https://github.com/sindresorhus/p-retry/commit/ece57b2920f5185d60e755fa516133411af1c938"><code>ece57b2</code></a> Improve the docs for zero delays and aborts</li> <li>Additional commits viewable in <a href="https://github.com/sindresorhus/p-retry/compare/v8.0.1...v9.0.0">compare view</a></li> </ul> </details> <br /> [](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 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>
34 lines
939 B
JSON
34 lines
939 B
JSON
{
|
|
"name": "create-github-app-token",
|
|
"private": true,
|
|
"type": "module",
|
|
"version": "3.4.0",
|
|
"description": "GitHub Action for creating a GitHub App Installation Access Token",
|
|
"engines": {
|
|
"node": ">=24.4.0"
|
|
},
|
|
"packageManager": "npm@10.9.4",
|
|
"scripts": {
|
|
"build": "esbuild main.js post.js --bundle --outdir=dist --out-extension:.js=.cjs --platform=node --packages=bundle",
|
|
"test": "c8 --100 node --test tests/index.js",
|
|
"coverage": "c8 report --reporter html",
|
|
"postcoverage": "open-cli coverage/index.html"
|
|
},
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"@actions/core": "^3.0.1",
|
|
"@octokit/auth-app": "^8.3.1",
|
|
"@octokit/request": "^10.0.8",
|
|
"is-network-error": "^1.3.2",
|
|
"p-retry": "^9.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@octokit/openapi": "^24.0.0",
|
|
"c8": "^12.0.0",
|
|
"esbuild": "^0.28.2",
|
|
"open-cli": "^9.0.0",
|
|
"undici": "^8.14.0",
|
|
"yaml": "^2.9.1"
|
|
}
|
|
}
|