From c966becb9ab35bf95031e2b6a04ccedfedcc47de Mon Sep 17 00:00:00 2001 From: Frieder Bluemle Date: Wed, 10 Sep 2025 09:31:35 -0700 Subject: [PATCH] chore: standardize the GitHub and npm branding through the codebase (#4014) Co-authored-by: Alexandr --- .github/dependabot.yml | 2 +- readme.md | 4 ++-- src/fetchers/gist.js | 2 +- src/fetchers/stats.js | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 931c461c..13eb4b3c 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,6 +1,6 @@ version: 2 updates: - # Maintain dependencies for NPM + # Maintain dependencies for npm - package-ecosystem: npm directory: "/" schedule: diff --git a/readme.md b/readme.md index 793c57c1..f8704486 100644 --- a/readme.md +++ b/readme.md @@ -636,7 +636,7 @@ You can customize the appearance and behavior of the WakaTime stats card using t ![Anurag's GitHub stats](https://github-readme-stats.vercel.app/api?username=anuraghazra\&hide=issues\&show_icons=true) -* Shows Github logo instead rank level +* Shows GitHub logo instead rank level ![Anurag's GitHub stats](https://github-readme-stats.vercel.app/api?username=anuraghazra\&rank_icon=github) @@ -799,7 +799,7 @@ Since the GitHub API only allows 5k requests per hour, my `https://github-readme ## Disable rate limit protections -Github Readme Stats contains several Vercel environment variables that can be used to remove the rate limit protections: +GitHub Readme Stats contains several Vercel environment variables that can be used to remove the rate limit protections: * `CACHE_SECONDS`: This environment variable takes precedence over our cache minimum and maximum values and can circumvent these values for self-hosted Vercel instances. diff --git a/src/fetchers/gist.js b/src/fetchers/gist.js index 4e0e0f5e..cd4006b2 100644 --- a/src/fetchers/gist.js +++ b/src/fetchers/gist.js @@ -83,7 +83,7 @@ const calculatePrimaryLanguage = (files) => { /** * Fetch GitHub gist information by given username and ID. * - * @param {string} id Github gist ID. + * @param {string} id GitHub gist ID. * @returns {Promise} Gist data. */ const fetchGist = async (id) => { diff --git a/src/fetchers/stats.js b/src/fetchers/stats.js index 115cd50a..88fd72fc 100644 --- a/src/fetchers/stats.js +++ b/src/fetchers/stats.js @@ -105,7 +105,7 @@ const fetcher = (variables, token) => { * Fetch stats information for a given username. * * @param {object} variables Fetcher variables. - * @param {string} variables.username Github username. + * @param {string} variables.username GitHub username. * @param {boolean} variables.includeMergedPullRequests Include merged pull requests. * @param {boolean} variables.includeDiscussions Include discussions. * @param {boolean} variables.includeDiscussionsAnswers Include discussions answers.