merge master into release for v2.1.5 - #408
Closed
martin-mfg wants to merge 26 commits into
Closed
Conversation
…cript (#322) Second wave of the `packages/core` TypeScript migration (#140), continuing #292. Converts the remaining `common/` modules and their tests from JSDoc `.js` to real `.ts`. ## Changes - **Modules ➡️ `.ts`**: `common/http`, `common/ops`, `common/render`, `calculateRank`. - **Tests ➡️ `.ts`**: `ops`, `flexLayout`, `render`, `calculateRank`. - **`src/_emoji-name-map.d.ts`**: `declare module` shim. `emoji-name-map` ships no types and has no `@types` package (same as the existing `@uppercod/css-to-object` shim). - **`common/color.ts`**: widened `getCardColors` optional params to `?: string | undefined` so `renderError` can forward possibly-`undefined` colors under `exactOptionalPropertyTypes`.
…eslint-plugin` (#326) - Fixes #325 `eslint-plugin-react@7.37.5` doesn't declare support for ESLint 10, producing an unmet-peer-dependency warning. ## Changes - Swapped `eslint-plugin-react` ➡️ `@eslint-react/eslint-plugin` and adopted its `recommended-typescript` config. This also replaces `eslint-plugin-react-hooks` (the preset ships equivalent `rules-of-hooks`/`exhaustive-deps`), so both old plugins are removed. - Fixed the violations the new preset surfaced: - IIFEs-in-JSX in `Home.tsx` ➡️ lifted to `const` bindings. - Ref naming (`*Ref`). - 4 `set-state-in-effect` cases ➡️ rewritten as render-phase state adjustment ([React docs](https://react.dev/learn/you-might-not-need-an-effect#adjusting-some-state-when-a-prop-changes)). - Extracted the shared debounced-input logic from `TextSection`/`NumericSection` into a `useDebouncedField` hook. - Added a standalone Playwright spec (`e2e/app-trends-auth.spec.ts`) covering the `AppTrends` auth-driven stage transition. --------- Co-authored-by: martin-mfg <2026226+martin-mfg@users.noreply.github.com>
Card URLs were built by hand-concatenating paths and query strings in several places. This replaces that with a typed, immutable per-card URL builder (`cardUrl(cardType)`), so URLs are assembled in one place with proper encoding. ## Changes - New `models/CardUrl.ts`: one builder per card type, exposing only the params that card supports. `URLSearchParams` handles joining + encoding. Also carries a per-card `filename()` for downloads. - `getFullSuffix.ts` ➡️ `buildCardUrl.ts`: returns a builder instead of a string. - The builder is passed as a prop through all card components; no hand-written `?`/`&` concatenation left. - New `useCardDescriptor` hook resolves per-card display metadata (guest hint + link) and owns the Gist URL fetch, replacing the repeated `switch (selectedCard)` blocks in `Home`. - Added tests for `CardUrl`. ### Notes - Params now go through `URLSearchParams`, so commas become `%2C` and spaces `%20`. The server decodes these before use, so rendered cards are unchanged. - Builders are `useMemo`'d in `Home` to keep stable references. --------- Co-authored-by: martin-mfg <2026226+martin-mfg@users.noreply.github.com>
The frontend Playwright config only enables the chromium project, so CI was needlessly downloading Firefox and WebKit. Scope `playwright install` to `chromium` to speed up the e2e job.
The [update-langs](https://github.com/stats-organization/github-stats-extended/actions/workflows/update-langs.yml) action found new/updated languages in the [upstream languages JSON file](https://raw.githubusercontent.com/github/linguist/master/lib/linguist/languages.yml). Co-authored-by: martin-mfg <2026226+martin-mfg@users.noreply.github.com>
Bumps [actions/checkout](https://github.com/actions/checkout) from 6.0.3 to 7.0.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/actions/checkout/releases">actions/checkout's releases</a>.</em></p> <blockquote> <h2>v7.0.0</h2> <h2>What's Changed</h2> <ul> <li>block checking out fork pr for pull_request_target and workflow_run by <a href="https://github.com/aiqiaoy"><code>@aiqiaoy</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/2454">actions/checkout#2454</a></li> <li>Bump actions/publish-immutable-action from 0.0.3 to 0.0.4 in the minor-actions-dependencies group across 1 directory by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/actions/checkout/pull/2458">actions/checkout#2458</a></li> <li>Bump flatted from 3.3.1 to 3.4.2 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/actions/checkout/pull/2460">actions/checkout#2460</a></li> <li>Bump js-yaml from 4.1.0 to 4.2.0 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/actions/checkout/pull/2461">actions/checkout#2461</a></li> <li>Bump <code>@actions/core</code> and <code>@actions/tool-cache</code> and Remove uuid by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/actions/checkout/pull/2459">actions/checkout#2459</a></li> <li>upgrade module to esm and update dependencies by <a href="https://github.com/aiqiaoy"><code>@aiqiaoy</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/2463">actions/checkout#2463</a></li> <li>Bump the minor-npm-dependencies group across 1 directory with 3 updates by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/actions/checkout/pull/2462">actions/checkout#2462</a></li> <li>getting ready for checkout v7 release by <a href="https://github.com/aiqiaoy"><code>@aiqiaoy</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/2464">actions/checkout#2464</a></li> <li>update error wording by <a href="https://github.com/aiqiaoy"><code>@aiqiaoy</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/2467">actions/checkout#2467</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/aiqiaoy"><code>@aiqiaoy</code></a> made their first contribution in <a href="https://redirect.github.com/actions/checkout/pull/2454">actions/checkout#2454</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/actions/checkout/compare/v6.0.3...v7.0.0">https://github.com/actions/checkout/compare/v6.0.3...v7.0.0</a></p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/actions/checkout/blob/main/CHANGELOG.md">actions/checkout's changelog</a>.</em></p> <blockquote> <h1>Changelog</h1> <h2>v7.0.0</h2> <ul> <li>Block checking out fork PR for pull_request_target and workflow_run by <a href="https://github.com/aiqiaoy"><code>@aiqiaoy</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/2454">actions/checkout#2454</a></li> <li>Bump actions/publish-immutable-action from 0.0.3 to 0.0.4 in the minor-actions-dependencies group across 1 directory by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/actions/checkout/pull/2458">actions/checkout#2458</a></li> <li>Bump flatted from 3.3.1 to 3.4.2 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/actions/checkout/pull/2460">actions/checkout#2460</a></li> <li>Bump js-yaml from 4.1.0 to 4.2.0 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/actions/checkout/pull/2461">actions/checkout#2461</a></li> <li>Bump <code>@actions/core</code> and <code>@actions/tool-cache</code> and Remove uuid by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/actions/checkout/pull/2459">actions/checkout#2459</a></li> <li>upgrade module to esm and update dependencies by <a href="https://github.com/aiqiaoy"><code>@aiqiaoy</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/2463">actions/checkout#2463</a></li> <li>Bump the minor-npm-dependencies group across 1 directory with 3 updates by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/actions/checkout/pull/2462">actions/checkout#2462</a></li> </ul> <h2>v6.0.3</h2> <ul> <li>Fix checkout init for SHA-256 repositories by <a href="https://github.com/yaananth"><code>@yaananth</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/2439">actions/checkout#2439</a></li> <li>fix: expand merge commit SHA regex and add SHA-256 test cases by <a href="https://github.com/yaananth"><code>@yaananth</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/2414">actions/checkout#2414</a></li> </ul> <h2>v6.0.2</h2> <ul> <li>Fix tag handling: preserve annotations and explicit fetch-tags by <a href="https://github.com/ericsciple"><code>@ericsciple</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/2356">actions/checkout#2356</a></li> </ul> <h2>v6.0.1</h2> <ul> <li>Add worktree support for persist-credentials includeIf by <a href="https://github.com/ericsciple"><code>@ericsciple</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/2327">actions/checkout#2327</a></li> </ul> <h2>v6.0.0</h2> <ul> <li>Persist creds to a separate file by <a href="https://github.com/ericsciple"><code>@ericsciple</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/2286">actions/checkout#2286</a></li> <li>Update README to include Node.js 24 support details and requirements by <a href="https://github.com/salmanmkc"><code>@salmanmkc</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/2248">actions/checkout#2248</a></li> </ul> <h2>v5.0.1</h2> <ul> <li>Port v6 cleanup to v5 by <a href="https://github.com/ericsciple"><code>@ericsciple</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/2301">actions/checkout#2301</a></li> </ul> <h2>v5.0.0</h2> <ul> <li>Update actions checkout to use node 24 by <a href="https://github.com/salmanmkc"><code>@salmanmkc</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/2226">actions/checkout#2226</a></li> </ul> <h2>v4.3.1</h2> <ul> <li>Port v6 cleanup to v4 by <a href="https://github.com/ericsciple"><code>@ericsciple</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/2305">actions/checkout#2305</a></li> </ul> <h2>v4.3.0</h2> <ul> <li>docs: update README.md by <a href="https://github.com/motss"><code>@motss</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/1971">actions/checkout#1971</a></li> <li>Add internal repos for checking out multiple repositories by <a href="https://github.com/mouismail"><code>@mouismail</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/1977">actions/checkout#1977</a></li> <li>Documentation update - add recommended permissions to Readme by <a href="https://github.com/benwells"><code>@benwells</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/2043">actions/checkout#2043</a></li> <li>Adjust positioning of user email note and permissions heading by <a href="https://github.com/joshmgross"><code>@joshmgross</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/2044">actions/checkout#2044</a></li> <li>Update README.md by <a href="https://github.com/nebuk89"><code>@nebuk89</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/2194">actions/checkout#2194</a></li> <li>Update CODEOWNERS for actions by <a href="https://github.com/TingluoHuang"><code>@TingluoHuang</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/2224">actions/checkout#2224</a></li> <li>Update package dependencies by <a href="https://github.com/salmanmkc"><code>@salmanmkc</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/2236">actions/checkout#2236</a></li> </ul> <h2>v4.2.2</h2> <ul> <li><code>url-helper.ts</code> now leverages well-known environment variables by <a href="https://github.com/jww3"><code>@jww3</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/1941">actions/checkout#1941</a></li> <li>Expand unit test coverage for <code>isGhes</code> by <a href="https://github.com/jww3"><code>@jww3</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/1946">actions/checkout#1946</a></li> </ul> <h2>v4.2.1</h2> <ul> <li>Check out other refs/* by commit if provided, fall back to ref by <a href="https://github.com/orhantoy"><code>@orhantoy</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/1924">actions/checkout#1924</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/actions/checkout/commit/9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0"><code>9c091bb</code></a> update error wording (<a href="https://redirect.github.com/actions/checkout/issues/2467">#2467</a>)</li> <li><a href="https://github.com/actions/checkout/commit/1044a6dea927916f2c38ba5aeffbc0a847b1221a"><code>1044a6d</code></a> getting ready for checkout v7 release (<a href="https://redirect.github.com/actions/checkout/issues/2464">#2464</a>)</li> <li><a href="https://github.com/actions/checkout/commit/f0282184c7ce73ab54c7e4ab5a617122602e575f"><code>f028218</code></a> Bump the minor-npm-dependencies group across 1 directory with 3 updates (<a href="https://redirect.github.com/actions/checkout/issues/2462">#2462</a>)</li> <li><a href="https://github.com/actions/checkout/commit/d914b262ffc244530a203ab40decab34c3abf34d"><code>d914b26</code></a> upgrade module to esm and update dependencies (<a href="https://redirect.github.com/actions/checkout/issues/2463">#2463</a>)</li> <li><a href="https://github.com/actions/checkout/commit/537c7ef99cef6e5ddb5e7ff5d16d14510503801d"><code>537c7ef</code></a> Bump <code>@actions/core</code> and <code>@actions/tool-cache</code> and Remove uuid (<a href="https://redirect.github.com/actions/checkout/issues/2459">#2459</a>)</li> <li><a href="https://github.com/actions/checkout/commit/130a169078a413d3a5246a393625e8e742f387f6"><code>130a169</code></a> Bump js-yaml from 4.1.0 to 4.2.0 (<a href="https://redirect.github.com/actions/checkout/issues/2461">#2461</a>)</li> <li><a href="https://github.com/actions/checkout/commit/7d09575332117a40b46e5e020664df234cd416f3"><code>7d09575</code></a> Bump flatted from 3.3.1 to 3.4.2 (<a href="https://redirect.github.com/actions/checkout/issues/2460">#2460</a>)</li> <li><a href="https://github.com/actions/checkout/commit/0f9f3aa320cb53abeb534aeb54048075d9697a0e"><code>0f9f3aa</code></a> Bump actions/publish-immutable-action (<a href="https://redirect.github.com/actions/checkout/issues/2458">#2458</a>)</li> <li><a href="https://github.com/actions/checkout/commit/f9e715a95fcd1f9253f77dd28f11e88d2d6460c7"><code>f9e715a</code></a> block checking out fork pr for pull_request_target and workflow_run (<a href="https://redirect.github.com/actions/checkout/issues/2454">#2454</a>)</li> <li>See full diff in <a href="https://github.com/actions/checkout/compare/df4cb1c069e1874edd31b4311f1884172cec0e10...9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0">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>
* GitHub actually triggers the cron workflow every few hours. Because they are overloaded I suppose. This PR is an attempt to give the workflow more chances to be triggered. * Sometimes we run into secondary rate limiting of the GitHub API when repeating recent requests. Having less workers should fix this.
The latest daisyui upgrade changed the theme switcher's color in light mode. This PR reverts that change.
The advanced documentation file in the docs/ folder incorrectly links to a nonexistent folder called "backend/" for the calculate rank logic. This PR fixes the broken link by changing the link to "packages/core/src/calculateRank.js". --------- Co-authored-by: martin-mfg <2026226+martin-mfg@users.noreply.github.com>
…tern (#356) - Related to #342 `stats` and `pin` already reject `username`/`repo`/`owner` that don't match `safePattern` (`/^[-\w/.,]+$/`), but `top-langs`, `wakatime`, and `gist` didn't. This applies the same guard: - `top-langs` + `wakatime`: reject a `username` containing unsafe characters. Matters most for `wakatime`, where `username` is interpolated into the outbound request URL path. - `gist`: same guard on its `id` param. All three return the existing `error - permanent` card before any fetch. ## Additional change Simplified the `layout` / `stats_format` checks in `top-langs`: dropped the redundant `typeof x !== "string" ||` (a non-string already fails `.includes(...)`), keeping the `x !== undefined` guard so the params stay optional.
… object (#344) `HomeScreen` held ~16 separate `useState` hooks for card options and threaded them through 34 props into `CustomizeStage`. This consolidates them into a single typed `CardOptions` state object (new `pages/Home/cardOptions.ts`), updated via a keyed setter. ### Changes - `CustomizeStage` props go from 34 to 5; `buildCardUrl` takes `userId`, `selectedCard` and `options`. - Stage descriptions move into `STAGE_LABELS`, replacing a positional string array in the JSX. - The three GitHub-URL paste handlers in `CustomizeStage` share one `pastedPathTail` helper. - A failed OAuth `authenticate` call left the page stuck on the loading spinner; the exchange now runs in `try/catch/finally` and the redirect is parsed with `URLSearchParams` instead of substring matching.
Co-authored-by: Marco Pasqualetti <marco.pasqualetti@live.com>
Load on Vercel is higher than expected. It seems the problem is that Vercel's CDN evicts our responses before they go stale, because there are relatively few requests per card. So the repeat-recent functionality currently causes load without achieving much. This PR increases ISR expiration time to see how this affects load in practice. Setting this time via env var might be a task for later.
…st) (#370) Another step of #140, continues #322. Starts migrating `fetchers/`. - `retryer` is now generic over the response payload: `retryer<TData>(…)` returns `AxiosResponse<TData & ResponseErrors>` so callers get their own `response.data` shape while the retryer still reads `errors`/`message`. Defaults to `unknown` so existing callers are unaffected. - `src/fetchers/types.d.ts` ➡️ `types.ts` (references are extensionless, so they resolve unchanged). - `gist` fetcher + test ➡️ `.ts`, using `retryer<GistQueryResponse>(…)`. > [!WARNING] > Consider reviewing #375 first, as it resolves the "Resource limits for this query exceeded" issue. > This PR will likely conflict with it, so it's better to merge #375 first.
Try to further reduce load on Vercel. ISR expiration time is now 3 day minus 1 hour, and I will set `UPDATE_AFTER_HOURS` to 3 days.
Bumps [actions/checkout](https://github.com/actions/checkout) from 7.0.0 to 7.0.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/actions/checkout/releases">actions/checkout's releases</a>.</em></p> <blockquote> <h2>v7.0.1</h2> <h2>What's Changed</h2> <ul> <li>skip running unsafe pr check if input is default by <a href="https://github.com/aiqiaoy"><code>@aiqiaoy</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/2518">actions/checkout#2518</a></li> <li>trim only ascii whitespace for branch by <a href="https://github.com/aiqiaoy"><code>@aiqiaoy</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/2521">actions/checkout#2521</a></li> <li>escape values passed to --unset by <a href="https://github.com/aiqiaoy"><code>@aiqiaoy</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/2530">actions/checkout#2530</a></li> <li>Various dependency updates</li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/actions/checkout/compare/v7...v7.0.1">https://github.com/actions/checkout/compare/v7...v7.0.1</a></p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/actions/checkout/blob/main/CHANGELOG.md">actions/checkout's changelog</a>.</em></p> <blockquote> <h1>Changelog</h1> <h2>v7.0.1</h2> <ul> <li>Skip running unsafe pr check if input is default by <a href="https://github.com/aiqiaoy"><code>@aiqiaoy</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/2518">actions/checkout#2518</a></li> <li>Trim only ascii whitespace for branch by <a href="https://github.com/aiqiaoy"><code>@aiqiaoy</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/2521">actions/checkout#2521</a></li> <li>Escape values passed to --unset by <a href="https://github.com/aiqiaoy"><code>@aiqiaoy</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/2530">actions/checkout#2530</a></li> <li>Various dependency updates</li> </ul> <h2>v7.0.0</h2> <ul> <li>Block checking out fork PR for pull_request_target and workflow_run by <a href="https://github.com/aiqiaoy"><code>@aiqiaoy</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/2454">actions/checkout#2454</a></li> <li>Various dependency updates</li> </ul> <h2>v6.0.3</h2> <ul> <li>Fix checkout init for SHA-256 repositories by <a href="https://github.com/yaananth"><code>@yaananth</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/2439">actions/checkout#2439</a></li> <li>fix: expand merge commit SHA regex and add SHA-256 test cases by <a href="https://github.com/yaananth"><code>@yaananth</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/2414">actions/checkout#2414</a></li> </ul> <h2>v6.0.2</h2> <ul> <li>Fix tag handling: preserve annotations and explicit fetch-tags by <a href="https://github.com/ericsciple"><code>@ericsciple</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/2356">actions/checkout#2356</a></li> </ul> <h2>v6.0.1</h2> <ul> <li>Add worktree support for persist-credentials includeIf by <a href="https://github.com/ericsciple"><code>@ericsciple</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/2327">actions/checkout#2327</a></li> </ul> <h2>v6.0.0</h2> <ul> <li>Persist creds to a separate file by <a href="https://github.com/ericsciple"><code>@ericsciple</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/2286">actions/checkout#2286</a></li> <li>Update README to include Node.js 24 support details and requirements by <a href="https://github.com/salmanmkc"><code>@salmanmkc</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/2248">actions/checkout#2248</a></li> </ul> <h2>v5.0.1</h2> <ul> <li>Port v6 cleanup to v5 by <a href="https://github.com/ericsciple"><code>@ericsciple</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/2301">actions/checkout#2301</a></li> </ul> <h2>v5.0.0</h2> <ul> <li>Update actions checkout to use node 24 by <a href="https://github.com/salmanmkc"><code>@salmanmkc</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/2226">actions/checkout#2226</a></li> </ul> <h2>v4.3.1</h2> <ul> <li>Port v6 cleanup to v4 by <a href="https://github.com/ericsciple"><code>@ericsciple</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/2305">actions/checkout#2305</a></li> </ul> <h2>v4.3.0</h2> <ul> <li>docs: update README.md by <a href="https://github.com/motss"><code>@motss</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/1971">actions/checkout#1971</a></li> <li>Add internal repos for checking out multiple repositories by <a href="https://github.com/mouismail"><code>@mouismail</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/1977">actions/checkout#1977</a></li> <li>Documentation update - add recommended permissions to Readme by <a href="https://github.com/benwells"><code>@benwells</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/2043">actions/checkout#2043</a></li> <li>Adjust positioning of user email note and permissions heading by <a href="https://github.com/joshmgross"><code>@joshmgross</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/2044">actions/checkout#2044</a></li> <li>Update README.md by <a href="https://github.com/nebuk89"><code>@nebuk89</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/2194">actions/checkout#2194</a></li> <li>Update CODEOWNERS for actions by <a href="https://github.com/TingluoHuang"><code>@TingluoHuang</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/2224">actions/checkout#2224</a></li> <li>Update package dependencies by <a href="https://github.com/salmanmkc"><code>@salmanmkc</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/2236">actions/checkout#2236</a></li> </ul> <h2>v4.2.2</h2> <ul> <li><code>url-helper.ts</code> now leverages well-known environment variables by <a href="https://github.com/jww3"><code>@jww3</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/1941">actions/checkout#1941</a></li> <li>Expand unit test coverage for <code>isGhes</code> by <a href="https://github.com/jww3"><code>@jww3</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/1946">actions/checkout#1946</a></li> </ul> <h2>v4.2.1</h2> <ul> <li>Check out other refs/* by commit if provided, fall back to ref by <a href="https://github.com/orhantoy"><code>@orhantoy</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/1924">actions/checkout#1924</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/actions/checkout/commit/3d3c42e5aac5ba805825da76410c181273ba90b1"><code>3d3c42e</code></a> prep v7.0.1 release (<a href="https://redirect.github.com/actions/checkout/issues/2531">#2531</a>)</li> <li><a href="https://github.com/actions/checkout/commit/28802689a136bfcdb721715abd713740beecbe07"><code>2880268</code></a> escape values passed to --unset (<a href="https://redirect.github.com/actions/checkout/issues/2530">#2530</a>)</li> <li><a href="https://github.com/actions/checkout/commit/12cd2235efa0937479335606d7c3ac9f6c0973b1"><code>12cd223</code></a> trim only ascii whitespace for branch (<a href="https://redirect.github.com/actions/checkout/issues/2521">#2521</a>)</li> <li><a href="https://github.com/actions/checkout/commit/62661c4e71a304b2823ed026347b8d34c3eac541"><code>62661c4</code></a> skip running unsafe pr check if input is default (<a href="https://redirect.github.com/actions/checkout/issues/2518">#2518</a>)</li> <li><a href="https://github.com/actions/checkout/commit/e8d4307400f9427dba7cb98e488d6ab85f1cec5f"><code>e8d4307</code></a> Bump the minor-actions-dependencies group with 2 updates (<a href="https://redirect.github.com/actions/checkout/issues/2499">#2499</a>)</li> <li><a href="https://github.com/actions/checkout/commit/631c942040754b6e095e929c1677c07e10ed4f87"><code>631c942</code></a> eslint 9 (<a href="https://redirect.github.com/actions/checkout/issues/2474">#2474</a>)</li> <li><a href="https://github.com/actions/checkout/commit/4f1f4aec02e41874fa0262ea8ff5172d7978ad1e"><code>4f1f4ae</code></a> Bump actions/upload-artifact from 4 to 7 (<a href="https://redirect.github.com/actions/checkout/issues/2476">#2476</a>)</li> <li><a href="https://github.com/actions/checkout/commit/ba097532fb203f7e88c9c3c0b899b49469908a92"><code>ba09753</code></a> Bump actions/checkout from 6 to 7 (<a href="https://redirect.github.com/actions/checkout/issues/2488">#2488</a>)</li> <li><a href="https://github.com/actions/checkout/commit/b9e0990d219a03df7633c93f6f005a8fecbcab22"><code>b9e0990</code></a> Bump docker/login-action from 3.3.0 to 4.2.0 (<a href="https://redirect.github.com/actions/checkout/issues/2479">#2479</a>)</li> <li><a href="https://github.com/actions/checkout/commit/e8cb398be4a550817e382abf69e4c12c76fce1f2"><code>e8cb398</code></a> Bump docker/build-push-action from 6.5.0 to 7.2.0 (<a href="https://redirect.github.com/actions/checkout/issues/2478">#2478</a>)</li> <li>Additional commits viewable in <a href="https://github.com/actions/checkout/compare/9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0...3d3c42e5aac5ba805825da76410c181273ba90b1">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>
Bumps [fjogeleit/http-request-action](https://github.com/fjogeleit/http-request-action) from 2.0.0 to 2.0.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/fjogeleit/http-request-action/releases">fjogeleit/http-request-action's releases</a>.</em></p> <blockquote> <h2>v2.0.1</h2> <h2>What's Changed</h2> <ul> <li>Bump axios from 1.13.4 to 1.13.5 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/fjogeleit/http-request-action/pull/209">fjogeleit/http-request-action#209</a></li> <li>Bump axios from 1.13.5 to 1.13.6 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/fjogeleit/http-request-action/pull/210">fjogeleit/http-request-action#210</a></li> <li>Bump undici from 6.23.0 to 6.24.0 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/fjogeleit/http-request-action/pull/211">fjogeleit/http-request-action#211</a></li> <li>Bump axios from 1.13.6 to 1.14.0 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/fjogeleit/http-request-action/pull/212">fjogeleit/http-request-action#212</a></li> <li>Revert "Bump axios from 1.13.6 to 1.14.0" by <a href="https://github.com/fjogeleit"><code>@fjogeleit</code></a> in <a href="https://redirect.github.com/fjogeleit/http-request-action/pull/213">fjogeleit/http-request-action#213</a></li> <li>docs(readme): fix inaccuracies, heading hierarchy, and document output by <a href="https://github.com/kranthipoturaju"><code>@kranthipoturaju</code></a> in <a href="https://redirect.github.com/fjogeleit/http-request-action/pull/222">fjogeleit/http-request-action#222</a></li> <li>docs(readme): update redirecting GitHub Docs URLs by <a href="https://github.com/kranthipoturaju"><code>@kranthipoturaju</code></a> in <a href="https://redirect.github.com/fjogeleit/http-request-action/pull/224">fjogeleit/http-request-action#224</a></li> <li>docs: fix inaccuracies and document missing outputs in action.yml by <a href="https://github.com/kranthipoturaju"><code>@kranthipoturaju</code></a> in <a href="https://redirect.github.com/fjogeleit/http-request-action/pull/223">fjogeleit/http-request-action#223</a></li> <li>Bump actions/checkout from 6.0.2 to 6.0.3 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/fjogeleit/http-request-action/pull/227">fjogeleit/http-request-action#227</a></li> <li>Bump axios from 1.13.6 to 1.15.0 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/fjogeleit/http-request-action/pull/216">fjogeleit/http-request-action#216</a></li> <li>Bump axios from 1.15.0 to 1.17.0 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/fjogeleit/http-request-action/pull/225">fjogeleit/http-request-action#225</a></li> <li>Bump follow-redirects from 1.15.11 to 1.16.0 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/fjogeleit/http-request-action/pull/217">fjogeleit/http-request-action#217</a></li> <li>Bump nick-fields/assert-action from 2.0.0 to 3.0.0 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/fjogeleit/http-request-action/pull/214">fjogeleit/http-request-action#214</a></li> <li>fix [DEP0169] DeprecationWarning: <code>url.parse()</code> behavior is not standardized... by <a href="https://github.com/wvidana"><code>@wvidana</code></a> in <a href="https://redirect.github.com/fjogeleit/http-request-action/pull/232">fjogeleit/http-request-action#232</a></li> <li>Bump undici from 6.24.0 to 6.27.0 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/fjogeleit/http-request-action/pull/231">fjogeleit/http-request-action#231</a></li> <li>Bump axios from 1.17.0 to 1.18.0 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/fjogeleit/http-request-action/pull/229">fjogeleit/http-request-action#229</a></li> <li>Bump axios from 1.18.0 to 1.18.1 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/fjogeleit/http-request-action/pull/233">fjogeleit/http-request-action#233</a></li> <li>Bump <code>@vercel/ncc</code> from 0.38.4 to 0.44.1 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/fjogeleit/http-request-action/pull/230">fjogeleit/http-request-action#230</a></li> <li>Bump form-data from 4.0.5 to 4.0.6 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/fjogeleit/http-request-action/pull/228">fjogeleit/http-request-action#228</a></li> <li>Bump nick-fields/assert-action from 3.0.0 to 4.0.1 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/fjogeleit/http-request-action/pull/234">fjogeleit/http-request-action#234</a></li> <li>Bump actions/checkout from 6.0.3 to 7.0.0 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/fjogeleit/http-request-action/pull/235">fjogeleit/http-request-action#235</a></li> <li>chore(dep): dependency updates by <a href="https://github.com/fjogeleit"><code>@fjogeleit</code></a> in <a href="https://redirect.github.com/fjogeleit/http-request-action/pull/236">fjogeleit/http-request-action#236</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/kranthipoturaju"><code>@kranthipoturaju</code></a> made their first contribution in <a href="https://redirect.github.com/fjogeleit/http-request-action/pull/222">fjogeleit/http-request-action#222</a></li> <li><a href="https://github.com/wvidana"><code>@wvidana</code></a> made their first contribution in <a href="https://redirect.github.com/fjogeleit/http-request-action/pull/232">fjogeleit/http-request-action#232</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/fjogeleit/http-request-action/compare/v2.0...v2.0.1">https://github.com/fjogeleit/http-request-action/compare/v2.0...v2.0.1</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/fjogeleit/http-request-action/commit/f98bb26551cd1af7d3eb2674578a80754ece88db"><code>f98bb26</code></a> chore(dep): dependency updates (<a href="https://redirect.github.com/fjogeleit/http-request-action/issues/236">#236</a>)</li> <li><a href="https://github.com/fjogeleit/http-request-action/commit/3584789bbffe004d18e05cd2779aa75a3e2bf69a"><code>3584789</code></a> Bump actions/checkout from 6.0.3 to 7.0.0 (<a href="https://redirect.github.com/fjogeleit/http-request-action/issues/235">#235</a>)</li> <li><a href="https://github.com/fjogeleit/http-request-action/commit/1d6a1ee0f4e72dcbc37a910236b8a2fedf1221df"><code>1d6a1ee</code></a> Bump nick-fields/assert-action from 3.0.0 to 4.0.1 (<a href="https://redirect.github.com/fjogeleit/http-request-action/issues/234">#234</a>)</li> <li><a href="https://github.com/fjogeleit/http-request-action/commit/5d99b6683aaaf873571876966005dd6fc8b3136a"><code>5d99b66</code></a> Bump form-data from 4.0.5 to 4.0.6 (<a href="https://redirect.github.com/fjogeleit/http-request-action/issues/228">#228</a>)</li> <li><a href="https://github.com/fjogeleit/http-request-action/commit/a53287a79a36cc186797c68df701ae69978eb2e8"><code>a53287a</code></a> Bump <code>@vercel/ncc</code> from 0.38.4 to 0.44.1 (<a href="https://redirect.github.com/fjogeleit/http-request-action/issues/230">#230</a>)</li> <li><a href="https://github.com/fjogeleit/http-request-action/commit/7540a773d6694bdd6235eb1e25bb01723b7855fc"><code>7540a77</code></a> Bump axios from 1.18.0 to 1.18.1 (<a href="https://redirect.github.com/fjogeleit/http-request-action/issues/233">#233</a>)</li> <li><a href="https://github.com/fjogeleit/http-request-action/commit/55dcde0359495be61b69697dab6a9e2f310d4ffd"><code>55dcde0</code></a> Bump axios from 1.17.0 to 1.18.0 (<a href="https://redirect.github.com/fjogeleit/http-request-action/issues/229">#229</a>)</li> <li><a href="https://github.com/fjogeleit/http-request-action/commit/d703d5a26d1c679a77adda062ad23653f804dea3"><code>d703d5a</code></a> Bump undici from 6.24.0 to 6.27.0 (<a href="https://redirect.github.com/fjogeleit/http-request-action/issues/231">#231</a>)</li> <li><a href="https://github.com/fjogeleit/http-request-action/commit/0b8c6ccce4d482d1466df75f3ac0f9b0e2183474"><code>0b8c6cc</code></a> Using the globally scoped URLSearchParams from the WHATWG URL API (<a href="https://redirect.github.com/fjogeleit/http-request-action/issues/232">#232</a>)</li> <li><a href="https://github.com/fjogeleit/http-request-action/commit/ed82ab41da4893d38edab6b5fad057b285078493"><code>ed82ab4</code></a> Bump nick-fields/assert-action from 2.0.0 to 3.0.0 (<a href="https://redirect.github.com/fjogeleit/http-request-action/issues/214">#214</a>)</li> <li>Additional commits viewable in <a href="https://github.com/fjogeleit/http-request-action/compare/551353b829c3646756b2ec2b3694f819d7957495...f98bb26551cd1af7d3eb2674578a80754ece88db">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>
* In the frontend, "Modify Parameters" step, a few options of several dropdowns encoded multiple parameters in their value string. That didn't work anymore since a recent change. This PR fixes the affected dropdown options. * Since a recent change, using the "ambient_gradient" theme for WakaTime card didn't work anymore. This PR fixes that.
| async (_label, payload) => { | ||
| const result = await wakatimeApi({ username: payload }); | ||
|
|
||
| document.body.innerHTML = result.content; |
| [param]: payload, | ||
| }); | ||
|
|
||
| document.body.innerHTML = result.content; |
| async (_label, payload) => { | ||
| const result = await gistApi({ id: payload }); | ||
|
|
||
| document.body.innerHTML = result.content; |
| [param]: payload, | ||
| }); | ||
|
|
||
| document.body.innerHTML = result.content; |
| async (_label, payload) => { | ||
| const result = await pinApi({ repo: payload }); | ||
|
|
||
| document.body.innerHTML = result.content; |
| [param]: payload, | ||
| }); | ||
|
|
||
| document.body.innerHTML = result.content; |
| <text data-testid="message" x="25" y="55" class="text small"> | ||
| <tspan x="25" dy="18">${encodeHTML(message)}</tspan> | ||
| <tspan x="25" dy="18" class="gray">${secondaryMessage}</tspan> | ||
| <tspan x="25" dy="18" class="gray">${encodeHTML(secondaryMessage)}</tspan> |
| <rect x="0.5" y="0.5" width="${ | ||
| ERROR_CARD_LENGTH - 1 | ||
| }" height="99%" rx="4.5" fill="${bgColor}" stroke="${borderColor}"/> | ||
| }" height="99%" rx="4.5" fill="${String(bgColor)}" stroke="${borderColor}"/> |
| <rect x="0.5" y="0.5" width="${ | ||
| ERROR_CARD_LENGTH - 1 | ||
| }" height="99%" rx="4.5" fill="${bgColor}" stroke="${borderColor}"/> | ||
| }" height="99%" rx="4.5" fill="${String(bgColor)}" stroke="${borderColor}"/> |
|
|
||
| return ` | ||
| <svg width="${ERROR_CARD_LENGTH}" height="120" viewBox="0 0 ${ERROR_CARD_LENGTH} 120" fill="${bgColor}" xmlns="http://www.w3.org/2000/svg"> | ||
| <svg width="${ERROR_CARD_LENGTH}" height="120" viewBox="0 0 ${ERROR_CARD_LENGTH} 120" fill="${String(bgColor)}" xmlns="http://www.w3.org/2000/svg"> |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.