Compare commits

..
Author SHA1 Message Date
qwerty541 7ef41db072 Apply automatic changes 2024-05-21 17:35:31 +00:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Alexandr
7a78036e3f ci(deps): bump actions/checkout from 4.1.5 to 4.1.6 (#3774)
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2024-05-21 20:35:19 +03:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Alexandr
e06b0d2960 build(deps): bump axios from 1.6.8 to 1.7.1 (#3772)
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2024-05-21 20:31:14 +03:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Alexandr
0bdc2bf742 ci(deps): bump ossf/scorecard-action from 2.3.1 to 2.3.3 (#3768)
Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action) from 2.3.1 to 2.3.3.
- [Release notes](https://github.com/ossf/scorecard-action/releases)
- [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md)
- [Commits](https://github.com/ossf/scorecard-action/compare/0864cf19026789058feabb7e87baa5f140aac736...dc50aa9510b46c811795eb24b2f1ba02a914e534)

---
updated-dependencies:
- dependency-name: ossf/scorecard-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2024-05-17 21:20:51 +03:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Alexandr
e1356e3d50 ci(deps): bump rickstaa/top-issues-action from 1.3.100 to 1.3.101 (#3769)
Bumps [rickstaa/top-issues-action](https://github.com/rickstaa/top-issues-action) from 1.3.100 to 1.3.101.
- [Release notes](https://github.com/rickstaa/top-issues-action/releases)
- [Commits](https://github.com/rickstaa/top-issues-action/compare/7f58423f68b52b4a310c66217ab8d844596d2cbc...7e8dda5d5ae3087670f9094b9724a9a091fc3ba1)

---
updated-dependencies:
- dependency-name: rickstaa/top-issues-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2024-05-17 21:17:14 +03:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Alexandr
124225d321 build(deps-dev): bump @testing-library/jest-dom from 6.4.2 to 6.4.5 (#3763)
Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom) from 6.4.2 to 6.4.5.
- [Release notes](https://github.com/testing-library/jest-dom/releases)
- [Changelog](https://github.com/testing-library/jest-dom/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/jest-dom/compare/v6.4.2...v6.4.5)

---
updated-dependencies:
- dependency-name: "@testing-library/jest-dom"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2024-05-07 21:07:28 +03:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Alexandr
daa04325a4 ci(deps): bump bahmutov/npm-install from 1.10.1 to 1.10.2 (#3764)
Bumps [bahmutov/npm-install](https://github.com/bahmutov/npm-install) from 1.10.1 to 1.10.2.
- [Release notes](https://github.com/bahmutov/npm-install/releases)
- [Commits](https://github.com/bahmutov/npm-install/compare/237ded403e6012a48281f4572eab0c8eafe55b3f...e5c7e14408aa6089501de32bd16123b41738047e)

---
updated-dependencies:
- dependency-name: bahmutov/npm-install
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2024-05-07 21:04:24 +03:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Alexandr
9d9ad871ac ci(deps): bump actions/checkout from 4.1.4 to 4.1.5 (#3765)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.4 to 4.1.5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/0ad4b8fadaa221de15dcec353f45205ec38ea70b...44c2b7a8a4ea60a981eaca3cf939b5f4305c123b)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2024-05-07 21:00:40 +03:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Alexandr
d739c0a973 build(deps-dev): bump @testing-library/dom from 10.0.0 to 10.1.0 (#3746)
Bumps [@testing-library/dom](https://github.com/testing-library/dom-testing-library) from 10.0.0 to 10.1.0.
- [Release notes](https://github.com/testing-library/dom-testing-library/releases)
- [Changelog](https://github.com/testing-library/dom-testing-library/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/dom-testing-library/compare/v10.0.0...v10.1.0)

---
updated-dependencies:
- dependency-name: "@testing-library/dom"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2024-04-30 20:57:45 +03:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Alexandr
cb4b630398 ci(deps): bump peter-evans/create-pull-request from 6.0.4 to 6.0.5 (#3749)
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 6.0.4 to 6.0.5.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases)
- [Commits](https://github.com/peter-evans/create-pull-request/compare/9153d834b60caba6d51c9b9510b087acf9f33f83...6d6857d36972b65feb161a90e484f2984215f83e)

---
updated-dependencies:
- dependency-name: peter-evans/create-pull-request
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2024-04-30 20:55:24 +03:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Alexandr
0b3e07adae ci(deps): bump actions/checkout from 4.1.3 to 4.1.4 (#3748)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.3 to 4.1.4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/1d96c772d19495a3b5c517cd2bc0cb401ea0529f...0ad4b8fadaa221de15dcec353f45205ec38ea70b)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2024-04-30 20:53:05 +03:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Alexandr
ee0b0e9ff8 ci(deps): bump peter-evans/create-pull-request from 6.0.3 to 6.0.4 (#3736)
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 6.0.3 to 6.0.4.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases)
- [Commits](https://github.com/peter-evans/create-pull-request/compare/c55203cfde3e5c11a452d352b4393e68b85b4533...9153d834b60caba6d51c9b9510b087acf9f33f83)

---
updated-dependencies:
- dependency-name: peter-evans/create-pull-request
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2024-04-23 20:35:13 +03:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Alexandr
0706c26c44 ci(deps): bump actions/upload-artifact from 4.3.1 to 4.3.3 (#3737)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.3.1 to 4.3.3.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/5d5d22a31266ced268874388b861e4b58bb5c2f3...65462800fd760344b1a7b4382951275a0abb4808)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2024-04-23 20:30:57 +03:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Alexandr
e93b5d5e99 ci(deps): bump actions/checkout from 4.1.2 to 4.1.3 (#3738)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.2 to 4.1.3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/9bb56186c3b09b4f86b1c65136769dd318469633...1d96c772d19495a3b5c517cd2bc0cb401ea0529f)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2024-04-23 20:28:11 +03:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Alexandr
af9b2c8b94 ci(deps): bump stefanzweifel/git-auto-commit-action from 5.0.0 to 5.0.1 (#3728)
Bumps [stefanzweifel/git-auto-commit-action](https://github.com/stefanzweifel/git-auto-commit-action) from 5.0.0 to 5.0.1.
- [Release notes](https://github.com/stefanzweifel/git-auto-commit-action/releases)
- [Changelog](https://github.com/stefanzweifel/git-auto-commit-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/stefanzweifel/git-auto-commit-action/compare/8756aa072ef5b4a080af5dc8fef36c5d586e521d...8621497c8c39c72f3e2a999a26b4ca1b5058a842)

---
updated-dependencies:
- dependency-name: stefanzweifel/git-auto-commit-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2024-04-16 20:54:41 +03:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Alexandr
c9f850ce22 ci(deps): bump peter-evans/create-pull-request from 6.0.2 to 6.0.3 (#3727)
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 6.0.2 to 6.0.3.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases)
- [Commits](https://github.com/peter-evans/create-pull-request/compare/70a41aba780001da0a30141984ae2a0c95d8704e...c55203cfde3e5c11a452d352b4393e68b85b4533)

---
updated-dependencies:
- dependency-name: peter-evans/create-pull-request
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2024-04-16 20:46:29 +03:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Alexandr
bd5f26844b build(deps-dev): bump @testing-library/dom from 9.3.4 to 10.0.0 (#3719)
Bumps [@testing-library/dom](https://github.com/testing-library/dom-testing-library) from 9.3.4 to 10.0.0.
- [Release notes](https://github.com/testing-library/dom-testing-library/releases)
- [Changelog](https://github.com/testing-library/dom-testing-library/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/dom-testing-library/compare/v9.3.4...v10.0.0)

---
updated-dependencies:
- dependency-name: "@testing-library/dom"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2024-04-08 21:30:36 +03:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> a71bb1bbbd build(deps-dev): bump undici from 5.28.3 to 5.28.4 (#3716)
Bumps [undici](https://github.com/nodejs/undici) from 5.28.3 to 5.28.4.
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](https://github.com/nodejs/undici/compare/v5.28.3...v5.28.4)

---
updated-dependencies:
- dependency-name: undici
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-04 21:49:21 +03:00
github-actions[bot]andqwerty541 fd12c01494 refactor: update languages JSON (#3711)
Co-authored-by: qwerty541 <53787217+qwerty541@users.noreply.github.com>
2024-03-31 21:43:02 +03:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Alexandr
0a372d2ca1 ci(deps): bump rickstaa/top-issues-action from 1.3.99 to 1.3.100 (#3709)
Bumps [rickstaa/top-issues-action](https://github.com/rickstaa/top-issues-action) from 1.3.99 to 1.3.100.
- [Release notes](https://github.com/rickstaa/top-issues-action/releases)
- [Commits](https://github.com/rickstaa/top-issues-action/compare/5389f9c080fc351632b51536ce39a081a98d652c...7f58423f68b52b4a310c66217ab8d844596d2cbc)

---
updated-dependencies:
- dependency-name: rickstaa/top-issues-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2024-03-26 02:12:47 +03:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Alexandr
4761871c92 build(deps): bump axios from 1.6.7 to 1.6.8 (#3702)
Bumps [axios](https://github.com/axios/axios) from 1.6.7 to 1.6.8.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.6.7...v1.6.8)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2024-03-19 04:17:28 +03:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Alexandr
df84138c9c ci(deps): bump peter-evans/create-pull-request from 6.0.1 to 6.0.2 (#3701)
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 6.0.1 to 6.0.2.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases)
- [Commits](https://github.com/peter-evans/create-pull-request/compare/a4f52f8033a6168103c2538976c07b467e8163bc...70a41aba780001da0a30141984ae2a0c95d8704e)

---
updated-dependencies:
- dependency-name: peter-evans/create-pull-request
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2024-03-19 04:14:11 +03:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Alexandr
018e7fd86a ci(deps): bump actions/checkout from 4.1.1 to 4.1.2 (#3700)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.1 to 4.1.2.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/b4ffde65f46336ab88eb53be808477a3936bae11...9bb56186c3b09b4f86b1c65136769dd318469633)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2024-03-19 04:11:30 +03:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Alexandr
abf9c666a1 build(deps): bump follow-redirects from 1.15.4 to 1.15.6 (#3697)
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.4 to 1.15.6.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.4...v1.15.6)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2024-03-17 01:52:02 +03:00
Chongyi ZhengandAlexandr 8282afb486 ci: prevent OSSF analysis workflow from running in forks (#3652)
* Run OSSF analysis only on default branch

* move on top to match project code style

---------

Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2024-03-05 05:27:18 +02:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Alexandr
9ea7535e5b ci(deps): bump rickstaa/top-issues-action from 1.3.98 to 1.3.99 (#3685)
Bumps [rickstaa/top-issues-action](https://github.com/rickstaa/top-issues-action) from 1.3.98 to 1.3.99.
- [Release notes](https://github.com/rickstaa/top-issues-action/releases)
- [Commits](https://github.com/rickstaa/top-issues-action/compare/b674b82b4c19893012888a0b58b61a916887296a...5389f9c080fc351632b51536ce39a081a98d652c)

---
updated-dependencies:
- dependency-name: rickstaa/top-issues-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2024-03-04 23:00:58 +03:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Alexandr
4de672c1d8 ci(deps): bump peter-evans/create-pull-request from 6.0.0 to 6.0.1 (#3684)
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 6.0.0 to 6.0.1.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases)
- [Commits](https://github.com/peter-evans/create-pull-request/compare/b1ddad2c994a25fbc81a28b3ec0e368bb2021c50...a4f52f8033a6168103c2538976c07b467e8163bc)

---
updated-dependencies:
- dependency-name: peter-evans/create-pull-request
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2024-03-04 22:58:39 +03:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Alexandr
e69427e73f build(deps): bump dotenv from 16.4.4 to 16.4.5 (#3673)
Bumps [dotenv](https://github.com/motdotla/dotenv) from 16.4.4 to 16.4.5.
- [Changelog](https://github.com/motdotla/dotenv/blob/master/CHANGELOG.md)
- [Commits](https://github.com/motdotla/dotenv/compare/v16.4.4...v16.4.5)

---
updated-dependencies:
- dependency-name: dotenv
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2024-02-27 02:03:35 +02:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Alexandr
1d27c6b1da build(deps-dev): bump eslint from 8.56.0 to 8.57.0 (#3672)
Bumps [eslint](https://github.com/eslint/eslint) from 8.56.0 to 8.57.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.56.0...v8.57.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2024-02-27 02:00:20 +02:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Alexandr
c2647d848d ci(deps): bump rickstaa/top-issues-action from 1.3.97 to 1.3.98 (#3671)
Bumps [rickstaa/top-issues-action](https://github.com/rickstaa/top-issues-action) from 1.3.97 to 1.3.98.
- [Release notes](https://github.com/rickstaa/top-issues-action/releases)
- [Commits](https://github.com/rickstaa/top-issues-action/compare/5f209a63d6db10ef651131fa77d5c1fe33e4c1a9...b674b82b4c19893012888a0b58b61a916887296a)

---
updated-dependencies:
- dependency-name: rickstaa/top-issues-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2024-02-26 23:28:57 +02:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Alexandr
537862f75f build(deps-dev): bump husky from 9.0.10 to 9.0.11 (#3659)
Bumps [husky](https://github.com/typicode/husky) from 9.0.10 to 9.0.11.
- [Release notes](https://github.com/typicode/husky/releases)
- [Commits](https://github.com/typicode/husky/compare/v9.0.10...v9.0.11)

---
updated-dependencies:
- dependency-name: husky
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2024-02-20 03:40:47 +02:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Alexandr
364bba7018 build(deps): bump dotenv from 16.4.2 to 16.4.4 (#3660)
Bumps [dotenv](https://github.com/motdotla/dotenv) from 16.4.2 to 16.4.4.
- [Changelog](https://github.com/motdotla/dotenv/blob/master/CHANGELOG.md)
- [Commits](https://github.com/motdotla/dotenv/compare/v16.4.2...v16.4.4)

---
updated-dependencies:
- dependency-name: dotenv
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2024-02-20 03:38:23 +02:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Alexandr
1e30934f6b ci(deps): bump bahmutov/npm-install from 1.8.38 to 1.10.1 (#3658)
Bumps [bahmutov/npm-install](https://github.com/bahmutov/npm-install) from 1.8.38 to 1.10.1.
- [Release notes](https://github.com/bahmutov/npm-install/releases)
- [Commits](https://github.com/bahmutov/npm-install/compare/5653d39101a041a30cc58572d6bd566b90a6de20...237ded403e6012a48281f4572eab0c8eafe55b3f)

---
updated-dependencies:
- dependency-name: bahmutov/npm-install
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2024-02-19 20:10:41 +02:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Alexandr
918d274022 ci(deps): bump rickstaa/empty-issues-closer-action from 1.1.71 to 1.1.74 (#3662)
Bumps [rickstaa/empty-issues-closer-action](https://github.com/rickstaa/empty-issues-closer-action) from 1.1.71 to 1.1.74.
- [Release notes](https://github.com/rickstaa/empty-issues-closer-action/releases)
- [Commits](https://github.com/rickstaa/empty-issues-closer-action/compare/5e12fc88e677d636a4f22b3cc4faf41a6f7aba6e...e96914613221511279ca25f50fd4acc85e331d99)

---
updated-dependencies:
- dependency-name: rickstaa/empty-issues-closer-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2024-02-19 20:07:42 +02:00
Alexandr Garbuzov 663e4f0536 infra(dependabot): change github actions prs commit message prefix (#3654) 2024-02-19 06:55:25 +01:00
Takuma Kajikawa 57960248b7 docs: fix default value of cache_seconds query option in README (#3644) 2024-02-16 21:50:30 +02:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Alexandr
200b7035bb build(deps-dev): bump undici from 5.26.3 to 5.28.3 (#3651)
Bumps [undici](https://github.com/nodejs/undici) from 5.26.3 to 5.28.3.
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](https://github.com/nodejs/undici/compare/v5.26.3...v5.28.3)

---
updated-dependencies:
- dependency-name: undici
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2024-02-16 21:43:30 +02:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Alexandr
8c268eefb7 ci(deps): bump rickstaa/top-issues-action from 1.3.95 to 1.3.97 (#3649)
Bumps [rickstaa/top-issues-action](https://github.com/rickstaa/top-issues-action) from 1.3.95 to 1.3.97.
- [Release notes](https://github.com/rickstaa/top-issues-action/releases)
- [Commits](https://github.com/rickstaa/top-issues-action/compare/c5580f47f44c69df300606554f428f040026d72a...5f209a63d6db10ef651131fa77d5c1fe33e4c1a9)

---
updated-dependencies:
- dependency-name: rickstaa/top-issues-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2024-02-13 11:30:37 +03:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Alexandr
bf937abfca ci(deps): bump rickstaa/empty-issues-closer-action (#3647)
Bumps [rickstaa/empty-issues-closer-action](https://github.com/rickstaa/empty-issues-closer-action) from 1.1.70 to 1.1.71.
- [Release notes](https://github.com/rickstaa/empty-issues-closer-action/releases)
- [Commits](https://github.com/rickstaa/empty-issues-closer-action/compare/5de6805e71f0a2b80e5e6c174467feceb94b935a...5e12fc88e677d636a4f22b3cc4faf41a6f7aba6e)

---
updated-dependencies:
- dependency-name: rickstaa/empty-issues-closer-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2024-02-13 11:27:50 +03:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Alexandr
c48c4f513e ci(deps): bump actions/upload-artifact from 4.3.0 to 4.3.1 (#3648)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.3.0 to 4.3.1.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/26f96dfa697d77e81fd5907df203aa23a56210a8...5d5d22a31266ced268874388b861e4b58bb5c2f3)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2024-02-13 11:25:46 +03:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Alexandr
916c51a03c build(deps): bump actions/setup-node from 4.0.1 to 4.0.2 (#3646)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 4.0.1 to 4.0.2.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8...60edb5dd545a775178f52524783378180af0d1f8)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2024-02-13 11:23:33 +03:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Alexandr
c213f9ea1a build(deps): bump dotenv from 16.4.1 to 16.4.2 (#3645)
Bumps [dotenv](https://github.com/motdotla/dotenv) from 16.4.1 to 16.4.2.
- [Changelog](https://github.com/motdotla/dotenv/blob/master/CHANGELOG.md)
- [Commits](https://github.com/motdotla/dotenv/compare/v16.4.1...v16.4.2)

---
updated-dependencies:
- dependency-name: dotenv
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2024-02-13 11:14:58 +03:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Alexandr
2f67ff11cb ci(deps): bump bahmutov/npm-install from 1.8.37 to 1.8.38 (#3638)
Bumps [bahmutov/npm-install](https://github.com/bahmutov/npm-install) from 1.8.37 to 1.8.38.
- [Release notes](https://github.com/bahmutov/npm-install/releases)
- [Commits](https://github.com/bahmutov/npm-install/compare/d476752204653fb5cce6c09db0eaf220761f5d9e...5653d39101a041a30cc58572d6bd566b90a6de20)

---
updated-dependencies:
- dependency-name: bahmutov/npm-install
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2024-02-08 13:53:13 +02:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Alexandr
e71c63d5ac ci(deps): bump peter-evans/create-pull-request from 5.0.2 to 6.0.0 (#3637)
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 5.0.2 to 6.0.0.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases)
- [Commits](https://github.com/peter-evans/create-pull-request/compare/153407881ec5c347639a548ade7d8ad1d6740e38...b1ddad2c994a25fbc81a28b3ec0e368bb2021c50)

---
updated-dependencies:
- dependency-name: peter-evans/create-pull-request
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2024-02-08 13:50:18 +02:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Alexandr
a7159aae49 build(deps-dev): bump @testing-library/jest-dom from 6.3.0 to 6.4.2 (#3641)
Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom) from 6.3.0 to 6.4.2.
- [Release notes](https://github.com/testing-library/jest-dom/releases)
- [Changelog](https://github.com/testing-library/jest-dom/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/jest-dom/compare/v6.3.0...v6.4.2)

---
updated-dependencies:
- dependency-name: "@testing-library/jest-dom"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2024-02-07 13:15:53 +02:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Alexandr
8ad4eee3a7 build(deps-dev): bump husky from 9.0.7 to 9.0.10 (#3642)
Bumps [husky](https://github.com/typicode/husky) from 9.0.7 to 9.0.10.
- [Release notes](https://github.com/typicode/husky/releases)
- [Commits](https://github.com/typicode/husky/compare/v9.0.7...v9.0.10)

---
updated-dependencies:
- dependency-name: husky
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2024-02-07 13:12:48 +02:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Alexandr
3ba76665c0 build(deps-dev): bump prettier from 3.2.4 to 3.2.5 (#3640)
Bumps [prettier](https://github.com/prettier/prettier) from 3.2.4 to 3.2.5.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/3.2.4...3.2.5)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2024-02-07 13:05:55 +02:00
Alexandr Garbuzov 5f411be854 tests(e2e): update data to fix retrieve stats card test (#3643)
* tests(e2e): update data to fix retrieve stats card test

* dev
2024-02-06 12:14:45 +01:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Alexandr
1be7d06fd3 build(deps-dev): bump lint-staged from 15.2.0 to 15.2.2 (#3639)
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 15.2.0 to 15.2.2.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Changelog](https://github.com/lint-staged/lint-staged/blob/master/CHANGELOG.md)
- [Commits](https://github.com/okonet/lint-staged/compare/v15.2.0...v15.2.2)

---
updated-dependencies:
- dependency-name: lint-staged
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2024-02-05 21:58:18 +02:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Alexandr
3e14bafe6b ci(deps): bump actions/upload-artifact from 4.2.0 to 4.3.0 (#3625)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.2.0 to 4.3.0.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/694cdabd8bdb0f10b2cea11669e1bf5453eed0a6...26f96dfa697d77e81fd5907df203aa23a56210a8)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2024-01-31 09:30:25 +02:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Alexandr
62c7101183 ci(deps): bump codecov/codecov-action from 3.1.4 to 3.1.5 (#3624)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3.1.4 to 3.1.5.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/eaaf4bedf32dbdc6b720b63067d99c4d77d6047d...4fe8c5f003fae66aa5ebb77cfd3e7bfbbda0b6b0)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2024-01-31 08:53:18 +02:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Alexandr
91d0ed68c8 build(deps): bump dotenv from 16.3.2 to 16.4.1 (#3623)
Bumps [dotenv](https://github.com/motdotla/dotenv) from 16.3.2 to 16.4.1.
- [Changelog](https://github.com/motdotla/dotenv/blob/master/CHANGELOG.md)
- [Commits](https://github.com/motdotla/dotenv/compare/v16.3.2...v16.4.1)

---
updated-dependencies:
- dependency-name: dotenv
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2024-01-31 08:49:31 +02:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Alexandr
95333194c5 build(deps): bump axios from 1.6.5 to 1.6.7 (#3622)
Bumps [axios](https://github.com/axios/axios) from 1.6.5 to 1.6.7.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.6.5...v1.6.7)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2024-01-31 08:43:45 +02:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Alexandr
5a05bd2180 build(deps-dev): bump husky from 8.0.3 to 9.0.7 (#3621)
* build(deps-dev): bump husky from 8.0.3 to 9.0.7

Bumps [husky](https://github.com/typicode/husky) from 8.0.3 to 9.0.7.
- [Release notes](https://github.com/typicode/husky/releases)
- [Commits](https://github.com/typicode/husky/compare/v8.0.3...v9.0.7)

---
updated-dependencies:
- dependency-name: husky
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* dev

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2024-01-31 08:37:33 +02:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Alexandr
13c25c7a62 build(deps-dev): bump @testing-library/jest-dom from 6.2.1 to 6.3.0 (#3620)
Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom) from 6.2.1 to 6.3.0.
- [Release notes](https://github.com/testing-library/jest-dom/releases)
- [Changelog](https://github.com/testing-library/jest-dom/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/jest-dom/compare/v6.2.1...v6.3.0)

---
updated-dependencies:
- dependency-name: "@testing-library/jest-dom"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2024-01-31 08:29:35 +02:00
Alexandr Garbuzov 547660b0f1 tests(e2e): update data to fix retrieve stats card test (#3626) 2024-01-30 22:41:57 +01:00
Alexandr Garbuzov 319e3d401f tests: refactor stats card e2e test to avoid future error due to yearly data update (#3612)
* tests: refactor stats card e2e test to avoid future error due to yearly data update

* dev
2024-01-25 10:31:54 +01:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Alexandr
0704b5a58d build(deps-dev): bump @testing-library/jest-dom from 6.2.0 to 6.2.1 (#3608)
Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom) from 6.2.0 to 6.2.1.
- [Release notes](https://github.com/testing-library/jest-dom/releases)
- [Changelog](https://github.com/testing-library/jest-dom/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/jest-dom/compare/v6.2.0...v6.2.1)

---
updated-dependencies:
- dependency-name: "@testing-library/jest-dom"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2024-01-24 03:52:17 +02:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Alexandr
26f6d7f759 build(deps-dev): bump prettier from 3.2.2 to 3.2.4 (#3607)
Bumps [prettier](https://github.com/prettier/prettier) from 3.2.2 to 3.2.4.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/3.2.2...3.2.4)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2024-01-24 03:48:48 +02:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Alexandr
b9fa27bf22 build(deps): bump dotenv from 16.3.1 to 16.3.2 (#3606)
Bumps [dotenv](https://github.com/motdotla/dotenv) from 16.3.1 to 16.3.2.
- [Changelog](https://github.com/motdotla/dotenv/blob/master/CHANGELOG.md)
- [Commits](https://github.com/motdotla/dotenv/compare/v16.3.1...v16.3.2)

---
updated-dependencies:
- dependency-name: dotenv
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2024-01-24 03:42:44 +02:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Alexandr
8b610da0c0 build(deps): bump actions/upload-artifact from 4.1.0 to 4.2.0 (#3604)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.1.0 to 4.2.0.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/1eb3cb2b3e0f29609092a73eb033bb759a334595...694cdabd8bdb0f10b2cea11669e1bf5453eed0a6)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2024-01-24 03:36:38 +02:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Alexandr
734c69a70b build(deps): bump rickstaa/top-issues-action from 1.3.93 to 1.3.95 (#3605)
Bumps [rickstaa/top-issues-action](https://github.com/rickstaa/top-issues-action) from 1.3.93 to 1.3.95.
- [Release notes](https://github.com/rickstaa/top-issues-action/releases)
- [Commits](https://github.com/rickstaa/top-issues-action/compare/eefb38db8e2fa93f349623f5fc987daf7816ffbd...c5580f47f44c69df300606554f428f040026d72a)

---
updated-dependencies:
- dependency-name: rickstaa/top-issues-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2024-01-24 03:32:28 +02:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Alexandr
4f567cc334 build(deps): bump rickstaa/empty-issues-closer-action (#3603)
Bumps [rickstaa/empty-issues-closer-action](https://github.com/rickstaa/empty-issues-closer-action) from 1.1.68 to 1.1.70.
- [Release notes](https://github.com/rickstaa/empty-issues-closer-action/releases)
- [Commits](https://github.com/rickstaa/empty-issues-closer-action/compare/67fade8af223e124eedb5e7c77e7df7c9a4a434c...5de6805e71f0a2b80e5e6c174467feceb94b935a)

---
updated-dependencies:
- dependency-name: rickstaa/empty-issues-closer-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2024-01-24 03:25:40 +02:00
Alexandr Garbuzov 91db5356fc fix(stats card): set correct value of commits count in accessability label (#3610) 2024-01-23 14:41:03 +01:00
Alexandr Garbuzov 533469d677 tests(e2e): update data to fix retrieve stats card test (#3609) 2024-01-23 14:23:26 +01:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Alexandr
fa50161a65 build(deps): bump actions/upload-artifact from 4.0.0 to 4.1.0 (#3589)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.0.0 to 4.1.0.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/c7d193f32edcb7bfad88892161225aeda64e9392...1eb3cb2b3e0f29609092a73eb033bb759a334595)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2024-01-15 22:49:53 +03:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Alexandr
9a11163c49 build(deps): bump bahmutov/npm-install from 1.8.36 to 1.8.37 (#3592)
Bumps [bahmutov/npm-install](https://github.com/bahmutov/npm-install) from 1.8.36 to 1.8.37.
- [Release notes](https://github.com/bahmutov/npm-install/releases)
- [Commits](https://github.com/bahmutov/npm-install/compare/2509f13e8485d88340a789a3f7ca11aaac47c9fc...d476752204653fb5cce6c09db0eaf220761f5d9e)

---
updated-dependencies:
- dependency-name: bahmutov/npm-install
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2024-01-15 22:46:48 +03:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Alexandr
eb3b4d1f6a build(deps): bump rickstaa/top-issues-action from 1.3.91 to 1.3.93 (#3590)
Bumps [rickstaa/top-issues-action](https://github.com/rickstaa/top-issues-action) from 1.3.91 to 1.3.93.
- [Release notes](https://github.com/rickstaa/top-issues-action/releases)
- [Commits](https://github.com/rickstaa/top-issues-action/compare/9aa7d404270d329a5d3d1712196a1087f55a3a25...eefb38db8e2fa93f349623f5fc987daf7816ffbd)

---
updated-dependencies:
- dependency-name: rickstaa/top-issues-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2024-01-15 22:44:41 +03:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Alexandr
3d996b940b build(deps): bump rickstaa/empty-issues-closer-action (#3591)
Bumps [rickstaa/empty-issues-closer-action](https://github.com/rickstaa/empty-issues-closer-action) from 1.1.65 to 1.1.68.
- [Release notes](https://github.com/rickstaa/empty-issues-closer-action/releases)
- [Commits](https://github.com/rickstaa/empty-issues-closer-action/compare/159d16caa5725ed56e1b7e3f44b358070215602d...67fade8af223e124eedb5e7c77e7df7c9a4a434c)

---
updated-dependencies:
- dependency-name: rickstaa/empty-issues-closer-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2024-01-15 22:42:16 +03:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Alexandr
14fe8cd650 build(deps-dev): bump prettier from 3.1.1 to 3.2.2 (#3588)
Bumps [prettier](https://github.com/prettier/prettier) from 3.1.1 to 3.2.2.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/3.1.1...3.2.2)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2024-01-15 22:40:04 +03:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Alexandr
9cce439520 build(deps-dev): bump @testing-library/dom from 9.3.3 to 9.3.4 (#3587)
Bumps [@testing-library/dom](https://github.com/testing-library/dom-testing-library) from 9.3.3 to 9.3.4.
- [Release notes](https://github.com/testing-library/dom-testing-library/releases)
- [Changelog](https://github.com/testing-library/dom-testing-library/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/dom-testing-library/compare/v9.3.3...v9.3.4)

---
updated-dependencies:
- dependency-name: "@testing-library/dom"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2024-01-15 22:38:34 +03:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Alexandr
d1540efc1b build(deps): bump rickstaa/top-issues-action from 1.3.87 to 1.3.91 (#3584)
Bumps [rickstaa/top-issues-action](https://github.com/rickstaa/top-issues-action) from 1.3.87 to 1.3.91.
- [Release notes](https://github.com/rickstaa/top-issues-action/releases)
- [Commits](https://github.com/rickstaa/top-issues-action/compare/fa1b14384871ebbc2f341f953a728e8370788992...9aa7d404270d329a5d3d1712196a1087f55a3a25)

---
updated-dependencies:
- dependency-name: rickstaa/top-issues-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2024-01-08 22:35:21 +02:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Alexandr
39e8c20768 build(deps): bump rickstaa/empty-issues-closer-action (#3583)
Bumps [rickstaa/empty-issues-closer-action](https://github.com/rickstaa/empty-issues-closer-action) from 1.1.62 to 1.1.65.
- [Release notes](https://github.com/rickstaa/empty-issues-closer-action/releases)
- [Commits](https://github.com/rickstaa/empty-issues-closer-action/compare/d2c9a91e632aadd8acabdb33babc55c69c4ca978...159d16caa5725ed56e1b7e3f44b358070215602d)

---
updated-dependencies:
- dependency-name: rickstaa/empty-issues-closer-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2024-01-08 22:31:35 +02:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Alexandr
62662be9cf build(deps-dev): bump @testing-library/jest-dom from 6.1.6 to 6.2.0 (#3582)
Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom) from 6.1.6 to 6.2.0.
- [Release notes](https://github.com/testing-library/jest-dom/releases)
- [Changelog](https://github.com/testing-library/jest-dom/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/jest-dom/compare/v6.1.6...v6.2.0)

---
updated-dependencies:
- dependency-name: "@testing-library/jest-dom"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2024-01-08 22:30:58 +02:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Alexandr
940646697f build(deps): bump axios from 1.6.2 to 1.6.5 (#3581)
Bumps [axios](https://github.com/axios/axios) from 1.6.2 to 1.6.5.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.6.2...v1.6.5)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2024-01-07 21:58:15 +02:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Alexandr
258d54d134 build(deps-dev): bump jest-bench from 29.4.1 to 29.7.1 (#3574)
Bumps [jest-bench](https://github.com/pckhoi/jest-benchmark) from 29.4.1 to 29.7.1.
- [Commits](https://github.com/pckhoi/jest-benchmark/commits)

---
updated-dependencies:
- dependency-name: jest-bench
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2024-01-07 21:55:22 +02:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Alexandr
69f58261d8 build(deps): bump axios from 1.6.2 to 1.6.3 (#3573)
Bumps [axios](https://github.com/axios/axios) from 1.6.2 to 1.6.3.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.6.2...v1.6.3)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2024-01-07 21:51:44 +02:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Alexandr
5dd50ee847 build(deps-dev): bump @testing-library/jest-dom from 6.1.5 to 6.1.6 (#3572)
Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom) from 6.1.5 to 6.1.6.
- [Release notes](https://github.com/testing-library/jest-dom/releases)
- [Changelog](https://github.com/testing-library/jest-dom/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/jest-dom/compare/v6.1.5...v6.1.6)

---
updated-dependencies:
- dependency-name: "@testing-library/jest-dom"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2024-01-07 21:47:47 +02:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Alexandr
1852db0635 build(deps): bump rickstaa/top-issues-action from 1.3.86 to 1.3.87 (#3571)
Bumps [rickstaa/top-issues-action](https://github.com/rickstaa/top-issues-action) from 1.3.86 to 1.3.87.
- [Release notes](https://github.com/rickstaa/top-issues-action/releases)
- [Commits](https://github.com/rickstaa/top-issues-action/compare/c89f81ea20ab265071194cf102bc881f476ecca8...fa1b14384871ebbc2f341f953a728e8370788992)

---
updated-dependencies:
- dependency-name: rickstaa/top-issues-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2024-01-07 21:43:35 +02:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Alexandr
53a1e349e3 build(deps): bump rickstaa/empty-issues-closer-action (#3570)
Bumps [rickstaa/empty-issues-closer-action](https://github.com/rickstaa/empty-issues-closer-action) from 1.1.60 to 1.1.62.
- [Release notes](https://github.com/rickstaa/empty-issues-closer-action/releases)
- [Commits](https://github.com/rickstaa/empty-issues-closer-action/compare/df49de138b9755d15fe711167091336d8e0fac23...d2c9a91e632aadd8acabdb33babc55c69c4ca978)

---
updated-dependencies:
- dependency-name: rickstaa/empty-issues-closer-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2024-01-07 21:36:32 +02:00
github-actions[bot]andqwerty541 d2dbffeb2d refactor: update languages JSON (#3567)
Co-authored-by: qwerty541 <qwerty541@users.noreply.github.com>
2024-01-07 08:44:52 +01:00
Alexandr Garbuzov 4710f24670 tests(stats card): fix render translations test (#3580) 2024-01-07 08:42:23 +01:00
Alexandr Garbuzov 7d4c49b7f7 ci: use same .yml file extension for all workflows for consistency (#3521) 2023-12-26 21:28:54 +02:00
Alexandr Garbuzov 59367dc6b0 refactor(wakatime card): move duplicate value format logic into separate function (#3512) 2023-12-26 13:57:22 +01:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Alexandr
c1e8037973 build(deps): bump rickstaa/empty-issues-closer-action (#3561)
Bumps [rickstaa/empty-issues-closer-action](https://github.com/rickstaa/empty-issues-closer-action) from 1.1.58 to 1.1.60.
- [Release notes](https://github.com/rickstaa/empty-issues-closer-action/releases)
- [Commits](https://github.com/rickstaa/empty-issues-closer-action/compare/14e27ff7da9bde71baf93f953750bc1334046ea9...df49de138b9755d15fe711167091336d8e0fac23)

---
updated-dependencies:
- dependency-name: rickstaa/empty-issues-closer-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2023-12-25 22:26:14 +02:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Alexandr
f44dddef0b build(deps): bump rickstaa/top-issues-action from 1.3.83 to 1.3.86 (#3560)
Bumps [rickstaa/top-issues-action](https://github.com/rickstaa/top-issues-action) from 1.3.83 to 1.3.86.
- [Release notes](https://github.com/rickstaa/top-issues-action/releases)
- [Commits](https://github.com/rickstaa/top-issues-action/compare/ce1a949c62a7a5d8b4890d596b5c5da37db628ca...c89f81ea20ab265071194cf102bc881f476ecca8)

---
updated-dependencies:
- dependency-name: rickstaa/top-issues-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2023-12-25 22:25:35 +02:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Alexandr
e30da927c7 build(deps-dev): Bump eslint from 8.55.0 to 8.56.0 (#3553)
Bumps [eslint](https://github.com/eslint/eslint) from 8.55.0 to 8.56.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.55.0...v8.56.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2023-12-18 23:52:03 +03:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Alexandr
3ea55bb73e build(deps): Bump actions/setup-node from 4.0.0 to 4.0.1 (#3552)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/8f152de45cc393bb48ce5d89d36b731f54556e65...b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2023-12-18 23:43:34 +03:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Alexandr
82699d6ba6 build(deps): Bump rickstaa/empty-issues-closer-action (#3551)
Bumps [rickstaa/empty-issues-closer-action](https://github.com/rickstaa/empty-issues-closer-action) from 1.1.52 to 1.1.58.
- [Release notes](https://github.com/rickstaa/empty-issues-closer-action/releases)
- [Commits](https://github.com/rickstaa/empty-issues-closer-action/compare/c7b2e1cec1e662f56516d8f2842ca45379ac4430...14e27ff7da9bde71baf93f953750bc1334046ea9)

---
updated-dependencies:
- dependency-name: rickstaa/empty-issues-closer-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2023-12-18 23:42:32 +03:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Alexandr
beb0172465 build(deps): Bump rickstaa/top-issues-action from 1.3.77 to 1.3.83 (#3550)
Bumps [rickstaa/top-issues-action](https://github.com/rickstaa/top-issues-action) from 1.3.77 to 1.3.83.
- [Release notes](https://github.com/rickstaa/top-issues-action/releases)
- [Commits](https://github.com/rickstaa/top-issues-action/compare/8c70898862d1e7808bd5ce009405ac44f461044d...ce1a949c62a7a5d8b4890d596b5c5da37db628ca)

---
updated-dependencies:
- dependency-name: rickstaa/top-issues-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2023-12-18 23:42:05 +03:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Alexandr
9c1bb80fdb build(deps): Bump actions/upload-artifact from 3.1.3 to 4.0.0 (#3549)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3.1.3 to 4.0.0.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/a8a3f3ad30e3422c9c7b888a15615d19a852ae32...c7d193f32edcb7bfad88892161225aeda64e9392)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2023-12-18 23:39:56 +03:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Alexandr
f831dadf79 build(deps-dev): Bump prettier from 3.1.0 to 3.1.1 (#3540)
Bumps [prettier](https://github.com/prettier/prettier) from 3.1.0 to 3.1.1.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/3.1.0...3.1.1)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2023-12-11 23:26:55 +03:00
Alexandr Garbuzov c402a23360 refactor: add missing export for wakatime options type (#3531) 2023-12-11 19:35:07 +01:00
Alexandr Garbuzov 2259870e8e docs: fix wakatime card api_domain option default value (#3532) 2023-12-11 19:33:08 +01:00
Alexandr Garbuzov c31f3e81bd ci: update labeler config to match latest action version (#3533)
* ci: update labeler config to match latest action version

* dev

* dev

* dev

* dev

* dev

* dev

* dev

* dev

* dev

* dev
2023-12-11 19:52:45 +02:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Alexandr
23472f40e8 build(deps): Bump actions/labeler from 4.3.0 to 5.0.0 (#3526)
Bumps [actions/labeler](https://github.com/actions/labeler) from 4.3.0 to 5.0.0.
- [Release notes](https://github.com/actions/labeler/releases)
- [Commits](https://github.com/actions/labeler/compare/ac9175f8a1f3625fd0d4fb234536d26811351594...8558fd74291d67161a8a78ce36a881fa63b766a9)

---
updated-dependencies:
- dependency-name: actions/labeler
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2023-12-04 22:15:46 +03:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Alexandr
6633d68f79 build(deps): Bump rickstaa/empty-issues-closer-action (#3527)
Bumps [rickstaa/empty-issues-closer-action](https://github.com/rickstaa/empty-issues-closer-action) from 1.1.50 to 1.1.52.
- [Release notes](https://github.com/rickstaa/empty-issues-closer-action/releases)
- [Commits](https://github.com/rickstaa/empty-issues-closer-action/compare/e0fb1033c83cf13e0c98c2c9d0419d3040a6a1d0...c7b2e1cec1e662f56516d8f2842ca45379ac4430)

---
updated-dependencies:
- dependency-name: rickstaa/empty-issues-closer-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2023-12-04 22:14:52 +03:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Alexandr
34c67ffa6d build(deps): Bump rickstaa/top-issues-action from 1.3.75 to 1.3.77 (#3528)
Bumps [rickstaa/top-issues-action](https://github.com/rickstaa/top-issues-action) from 1.3.75 to 1.3.77.
- [Release notes](https://github.com/rickstaa/top-issues-action/releases)
- [Commits](https://github.com/rickstaa/top-issues-action/compare/04028f4fc0f1c217e571be72102b6ea4827b8468...8c70898862d1e7808bd5ce009405ac44f461044d)

---
updated-dependencies:
- dependency-name: rickstaa/top-issues-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2023-12-04 22:14:20 +03:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Alexandr
4412af8b53 build(deps-dev): Bump @testing-library/jest-dom from 6.1.4 to 6.1.5 (#3525)
Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom) from 6.1.4 to 6.1.5.
- [Release notes](https://github.com/testing-library/jest-dom/releases)
- [Changelog](https://github.com/testing-library/jest-dom/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/jest-dom/compare/v6.1.4...v6.1.5)

---
updated-dependencies:
- dependency-name: "@testing-library/jest-dom"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2023-12-04 22:13:25 +03:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Alexandr
91889a3319 build(deps-dev): Bump eslint-config-prettier from 9.0.0 to 9.1.0 (#3523)
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 9.0.0 to 9.1.0.
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v9.0.0...v9.1.0)

---
updated-dependencies:
- dependency-name: eslint-config-prettier
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2023-12-04 22:10:33 +03:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Alexandr
105e136c5e build(deps-dev): Bump lint-staged from 15.1.0 to 15.2.0 (#3524)
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 15.1.0 to 15.2.0.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Changelog](https://github.com/lint-staged/lint-staged/blob/master/CHANGELOG.md)
- [Commits](https://github.com/okonet/lint-staged/compare/v15.1.0...v15.2.0)

---
updated-dependencies:
- dependency-name: lint-staged
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2023-12-04 22:09:28 +03:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Alexandr
1cba9c13f3 build(deps-dev): Bump eslint from 8.54.0 to 8.55.0 (#3522)
Bumps [eslint](https://github.com/eslint/eslint) from 8.54.0 to 8.55.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.54.0...v8.55.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2023-12-04 22:06:20 +03:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Alexandr
80b2d23242 build(deps-dev): Bump @adobe/css-tools from 4.3.1 to 4.3.2 (#3516)
Bumps [@adobe/css-tools](https://github.com/adobe/css-tools) from 4.3.1 to 4.3.2.
- [Changelog](https://github.com/adobe/css-tools/blob/main/History.md)
- [Commits](https://github.com/adobe/css-tools/commits)

---
updated-dependencies:
- dependency-name: "@adobe/css-tools"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2023-12-01 08:38:38 +03:00
Alexandr Garbuzov 1656ec6d3c tests: add pin card performance test (#3374) 2023-11-28 19:44:21 +02:00
Alexandr Garbuzov 0616df3746 tests: add gist card performance test (#3372) 2023-11-28 19:39:15 +02:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Alexandr
7595456677 build(deps): Bump rickstaa/empty-issues-closer-action (#3507)
Bumps [rickstaa/empty-issues-closer-action](https://github.com/rickstaa/empty-issues-closer-action) from 1.1.47 to 1.1.50.
- [Release notes](https://github.com/rickstaa/empty-issues-closer-action/releases)
- [Commits](https://github.com/rickstaa/empty-issues-closer-action/compare/096c761b38032baf0e9e6bb65c17abf0615a6e41...e0fb1033c83cf13e0c98c2c9d0419d3040a6a1d0)

---
updated-dependencies:
- dependency-name: rickstaa/empty-issues-closer-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2023-11-27 22:03:17 +03:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Alexandr
4793de4a6e build(deps): Bump rickstaa/top-issues-action from 1.3.71 to 1.3.75 (#3508)
Bumps [rickstaa/top-issues-action](https://github.com/rickstaa/top-issues-action) from 1.3.71 to 1.3.75.
- [Release notes](https://github.com/rickstaa/top-issues-action/releases)
- [Commits](https://github.com/rickstaa/top-issues-action/compare/ba0b5f329a1a85074e84b1944a7154202248b630...04028f4fc0f1c217e571be72102b6ea4827b8468)

---
updated-dependencies:
- dependency-name: rickstaa/top-issues-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2023-11-27 22:02:17 +03:00
Alexandr Garbuzov c6c4a88d6d docs: improve query options appereance using tables (#3484) 2023-11-25 20:23:21 +02:00
Alexandr Garbuzov 1262002624 fix(wakatime card): add percent display format for compact layout (resolves #3503) (#3504) 2023-11-25 09:00:22 +01:00
b8983dd697 feat: show wakatime stats in percentage (resolves #3016) (#3326)
* added option to display wakatime in percentage

* updated exclusive options in wakatime

* added percent sign

* Update readme.md

Co-authored-by: Rick Staa <rick.staa@outlook.com>

* made the required changes

* Update wakatime-card.js

* Update wakatime-card.js

---------

Co-authored-by: Rick Staa <rick.staa@outlook.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2023-11-23 21:13:48 +02:00
Alexandr Garbuzov a8663a8025 feat(wakatime card): add disable animations query option (#3496)
* feat(wakatime card): add disable animations query option

* docs
2023-11-23 21:06:01 +02:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Alexandr
afcb773b11 build(deps-dev): Bump eslint from 8.53.0 to 8.54.0 (#3493)
Bumps [eslint](https://github.com/eslint/eslint) from 8.53.0 to 8.54.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.53.0...v8.54.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2023-11-20 20:45:42 +02:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Alexandr
ffe28620ba build(deps): Bump axios from 1.6.1 to 1.6.2 (#3492)
Bumps [axios](https://github.com/axios/axios) from 1.6.1 to 1.6.2.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.6.1...v1.6.2)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2023-11-20 20:44:51 +02:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Alexandr
723cdd74d4 build(deps): Bump rickstaa/top-issues-action from 1.3.69 to 1.3.71 (#3491)
Bumps [rickstaa/top-issues-action](https://github.com/rickstaa/top-issues-action) from 1.3.69 to 1.3.71.
- [Release notes](https://github.com/rickstaa/top-issues-action/releases)
- [Commits](https://github.com/rickstaa/top-issues-action/compare/9ab0c00b87dbcfb3a34ebdaab6151e058a0bf352...ba0b5f329a1a85074e84b1944a7154202248b630)

---
updated-dependencies:
- dependency-name: rickstaa/top-issues-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2023-11-20 20:43:44 +02:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Alexandr
68c49dd824 build(deps): Bump rickstaa/empty-issues-closer-action (#3490)
Bumps [rickstaa/empty-issues-closer-action](https://github.com/rickstaa/empty-issues-closer-action) from 1.1.44 to 1.1.47.
- [Release notes](https://github.com/rickstaa/empty-issues-closer-action/releases)
- [Commits](https://github.com/rickstaa/empty-issues-closer-action/compare/1e7541f3bb442b6df5fe07e8cc2f5184076f2246...096c761b38032baf0e9e6bb65c17abf0615a6e41)

---
updated-dependencies:
- dependency-name: rickstaa/empty-issues-closer-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2023-11-20 20:43:09 +02:00
Alexandr Garbuzov ddcc30d641 feat(repo card): add description lines count query parameter (#3453)
* feature(repo card): add description lines count query parameter

* dev

* dev

* docs

* test
2023-11-20 20:08:48 +02:00
kurple d4f1a5d061 docs: grammar/Clarity Fixes. (#3463)
* Fixed Grammar

* Grammar Fixes

* Grammar Fixes
2023-11-20 10:01:42 +01:00
Alexandr Garbuzov f26b83d6cd tests: fix typo inside card class proper height/width test (#3489) 2023-11-20 09:57:29 +01:00
Alexandr Garbuzov 3a15963a3d ci: add wakatime endpoint test file into pull requests labeler (#3482) 2023-11-15 09:35:01 +01:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Alexandr
49973083b1 build(deps): Bump rickstaa/empty-issues-closer-action (#3480)
Bumps [rickstaa/empty-issues-closer-action](https://github.com/rickstaa/empty-issues-closer-action) from 1.1.40 to 1.1.44.
- [Release notes](https://github.com/rickstaa/empty-issues-closer-action/releases)
- [Commits](https://github.com/rickstaa/empty-issues-closer-action/compare/37f2cd30a4fb97504bbb570dc73264cfa522dee3...1e7541f3bb442b6df5fe07e8cc2f5184076f2246)

---
updated-dependencies:
- dependency-name: rickstaa/empty-issues-closer-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2023-11-13 22:24:06 +03:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Alexandr
e50a9b435c build(deps): Bump rickstaa/top-issues-action from 1.3.65 to 1.3.69 (#3479)
Bumps [rickstaa/top-issues-action](https://github.com/rickstaa/top-issues-action) from 1.3.65 to 1.3.69.
- [Release notes](https://github.com/rickstaa/top-issues-action/releases)
- [Commits](https://github.com/rickstaa/top-issues-action/compare/da2fb7f2bd61828135e0971f8d33efb1a079e9a9...9ab0c00b87dbcfb3a34ebdaab6151e058a0bf352)

---
updated-dependencies:
- dependency-name: rickstaa/top-issues-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2023-11-13 22:23:14 +03:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Alexandr
e04e1397c5 build(deps-dev): Bump prettier from 3.0.3 to 3.1.0 (#3476)
* build(deps-dev): Bump prettier from 3.0.3 to 3.1.0

Bumps [prettier](https://github.com/prettier/prettier) from 3.0.3 to 3.1.0.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/3.0.3...3.1.0)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* dev

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2023-11-13 22:22:39 +03:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Alexandr
36bbea2aab build(deps): Bump axios from 1.6.0 to 1.6.1 (#3478)
Bumps [axios](https://github.com/axios/axios) from 1.6.0 to 1.6.1.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.6.0...v1.6.1)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2023-11-13 22:11:26 +03:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Alexandr
034ee0666e build(deps-dev): Bump lint-staged from 15.0.2 to 15.1.0 (#3477)
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 15.0.2 to 15.1.0.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Changelog](https://github.com/lint-staged/lint-staged/blob/master/CHANGELOG.md)
- [Commits](https://github.com/okonet/lint-staged/compare/v15.0.2...v15.1.0)

---
updated-dependencies:
- dependency-name: lint-staged
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2023-11-13 22:10:36 +03:00
Alexandr Garbuzov d654fe5715 infra: enable no-alert eslint rule (#3472) 2023-11-13 22:09:29 +03:00
Alexandr Garbuzov 51eefa2dca infra: enable no-caller eslint rule (#3473) 2023-11-13 22:05:38 +03:00
Alexandr Garbuzov 5ea659579e infra: enable no-delete-var eslint rule (#3465) 2023-11-11 01:47:29 +02:00
Alexandr Garbuzov edf9f7413b infra: enable keyword-spacing eslint rule and remove decrecated space-*-keyword rules (#3464) 2023-11-11 01:46:44 +02:00
Alexandr GarbuzovandGitHub Readme Stats Bot aa90efcae5 docs(theme): auto update theme readme (#3462)
Co-authored-by: GitHub Readme Stats Bot <no-reply@githubreadmestats.com>
2023-11-07 08:50:57 +01:00
wolfcomp dda9647c49 fix(express deploy): fix situations when env variables doesn't load before request processing (#3231) 2023-11-07 06:54:07 +02:00
Alexandr Garbuzov 8d7e9df697 themes: add ambient_gradient theme for test (#3399) 2023-11-07 06:55:39 +03:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Alexandr
843b15ed36 build(deps-dev): Bump eslint from 8.52.0 to 8.53.0 (#3459)
Bumps [eslint](https://github.com/eslint/eslint) from 8.52.0 to 8.53.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.52.0...v8.53.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2023-11-07 03:39:34 +03:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Alexandr
a99abe8c24 build(deps): Bump rickstaa/top-issues-action from 1.3.64 to 1.3.65 (#3461)
Bumps [rickstaa/top-issues-action](https://github.com/rickstaa/top-issues-action) from 1.3.64 to 1.3.65.
- [Release notes](https://github.com/rickstaa/top-issues-action/releases)
- [Commits](https://github.com/rickstaa/top-issues-action/compare/f72e408e2ca430a9d79620f27183d7fd85c7494a...da2fb7f2bd61828135e0971f8d33efb1a079e9a9)

---
updated-dependencies:
- dependency-name: rickstaa/top-issues-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2023-11-07 03:38:40 +03:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Alexandr
bc7ea33782 build(deps): Bump rickstaa/empty-issues-closer-action (#3460)
Bumps [rickstaa/empty-issues-closer-action](https://github.com/rickstaa/empty-issues-closer-action) from 1.1.39 to 1.1.40.
- [Release notes](https://github.com/rickstaa/empty-issues-closer-action/releases)
- [Commits](https://github.com/rickstaa/empty-issues-closer-action/compare/2ee9f86f16acb1d888a480f2080407d84248f475...37f2cd30a4fb97504bbb570dc73264cfa522dee3)

---
updated-dependencies:
- dependency-name: rickstaa/empty-issues-closer-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2023-11-07 03:38:13 +03:00
Alexandr Garbuzov 79cee30ac3 infra: enable constructor-super eslint rule (#3457) 2023-11-07 03:36:17 +03:00
Alexandr Garbuzov e5b5da86e5 tests: add basic wakatime endpoint test (#3454) 2023-11-06 19:40:30 +01:00
Alexandr Garbuzov 6d8169fd2c tests(wakatime-fetcher): fix brand casing (#3455) 2023-11-06 15:21:14 +01:00
Alexandr Garbuzov 90c30f2bd2 infra: enable no-dupe-class-members eslint rule (#3456) 2023-11-06 15:18:43 +01:00
Alexandr Garbuzov 5b3b920ed2 infra: enable no-const-assign eslint rule (#3452) 2023-11-01 21:34:08 +02:00
Alexandr Garbuzov 236577f70a infra: enable no-class-assign eslint rule (#3451) 2023-11-01 21:31:31 +02:00
Wertzui123 ff16984988 refactor: fix typos in a comment (#3437)
* Fix typos in a comment

* Add a comma
2023-11-01 15:47:03 +01:00
Alexandr Garbuzov 2ddcd9c2bd infra(dependabot): configure commits message to match conventional commits rules (#3434) 2023-10-31 17:30:22 +02:00
github-actions[bot]andAlexandr 1886fe0379 refactor: update languages JSON (#3450)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2023-10-31 07:24:10 +03:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Alexandr
2b90336430 Build(deps): Bump rickstaa/top-issues-action from 1.3.61 to 1.3.64 (#3449)
Bumps [rickstaa/top-issues-action](https://github.com/rickstaa/top-issues-action) from 1.3.61 to 1.3.64.
- [Release notes](https://github.com/rickstaa/top-issues-action/releases)
- [Commits](https://github.com/rickstaa/top-issues-action/compare/36df2af30c15ddf48558931420138890ed1b1708...f72e408e2ca430a9d79620f27183d7fd85c7494a)

---
updated-dependencies:
- dependency-name: rickstaa/top-issues-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2023-10-30 14:33:41 +03:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Alexandr
6cf9bb8448 Build(deps): Bump axios from 1.5.1 to 1.6.0 (#3448)
Bumps [axios](https://github.com/axios/axios) from 1.5.1 to 1.6.0.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.5.1...v1.6.0)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2023-10-30 14:33:07 +03:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Alexandr
10236d8cd3 Build(deps): Bump ossf/scorecard-action from 2.3.0 to 2.3.1 (#3447)
Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action) from 2.3.0 to 2.3.1.
- [Release notes](https://github.com/ossf/scorecard-action/releases)
- [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md)
- [Commits](https://github.com/ossf/scorecard-action/compare/483ef80eb98fb506c348f7d62e28055e49fe2398...0864cf19026789058feabb7e87baa5f140aac736)

---
updated-dependencies:
- dependency-name: ossf/scorecard-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2023-10-30 14:32:17 +03:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Alexandr
91a3ac2705 Build(deps): Bump rickstaa/empty-issues-closer-action (#3446)
Bumps [rickstaa/empty-issues-closer-action](https://github.com/rickstaa/empty-issues-closer-action) from 1.1.35 to 1.1.39.
- [Release notes](https://github.com/rickstaa/empty-issues-closer-action/releases)
- [Commits](https://github.com/rickstaa/empty-issues-closer-action/compare/af151e679df0e3b59cda0e10c43010556d6c5bff...2ee9f86f16acb1d888a480f2080407d84248f475)

---
updated-dependencies:
- dependency-name: rickstaa/empty-issues-closer-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2023-10-30 14:30:52 +03:00
Alexandr Garbuzov 2feebd011d infra(dependabot): set myself as pull requests reviewer (#3435) 2023-10-30 11:58:07 +01:00
Alexandr Garbuzov 5b72dfbc32 tests(stats card): cover with test changes in #3298 (#3443) 2023-10-30 11:34:42 +01:00
Alexandr Garbuzov 89fc14609e refactor: improve blacklisted username error by adding secondary message (#3444) 2023-10-30 11:31:41 +01:00
Pritam SharmaandAlexandr Garbuzov 9c6eb22862 feature: render error card in same theme as requested card (resolves #3259) (#3298)
* Error theme Based on Design

* Update src/common/utils.js

Co-authored-by: Alexandr Garbuzov <qwerty541zxc@gmail.com>

* Update src/common/utils.js

Co-authored-by: Alexandr Garbuzov <qwerty541zxc@gmail.com>

---------

Co-authored-by: Alexandr Garbuzov <qwerty541zxc@gmail.com>
2023-10-28 22:31:24 +03:00
Bohdan KarashchukandAlexandr Garbuzov db921818be fix(top langs fetcher): fix typo inside error message (#3431)
* Update top-languages-fetcher.js

* Update fetchTopLanguages.test.js

---------

Co-authored-by: Alexandr Garbuzov <qwerty541zxc@gmail.com>
2023-10-28 22:26:31 +03:00
53 changed files with 1216 additions and 1676 deletions
+9 -10
View File
@@ -48,8 +48,8 @@
// "dot-notation": "warn", // "dot-notation": "warn",
// "eqeqeq": [ "error", "smart" ], // "eqeqeq": [ "error", "smart" ],
// "guard-for-in": "warn", // "guard-for-in": "warn",
// "no-alert": "error", "no-alert": "error",
// "no-caller": "error", "no-caller": "error",
// "no-case-declarations": "warn", // "no-case-declarations": "warn",
// "no-div-regex": "warn", // "no-div-regex": "warn",
// "no-else-return": "warn", // "no-else-return": "warn",
@@ -113,7 +113,7 @@
// "init-declarations": [ "error", "always" ], // "init-declarations": [ "error", "always" ],
// "no-catch-shadow": "warn", // "no-catch-shadow": "warn",
// "no-delete-var": "error", "no-delete-var": "error",
// "no-label-var": "error", // "no-label-var": "error",
// "no-shadow-restricted-names": "error", // "no-shadow-restricted-names": "error",
// "no-shadow": "warn", // "no-shadow": "warn",
@@ -150,12 +150,12 @@
// "arrow-body-style": [ "error", "always" ], // "arrow-body-style": [ "error", "always" ],
// "arrow-parens": [ "error", "always" ], // "arrow-parens": [ "error", "always" ],
// "arrow-spacing": [ "error", { "before": true, "after": true }], // "arrow-spacing": [ "error", { "before": true, "after": true }],
// "constructor-super": "error", "constructor-super": "error",
// "generator-star-spacing": [ "error", "before" ], // "generator-star-spacing": [ "error", "before" ],
// "no-arrow-condition": "error", // "no-arrow-condition": "error",
// "no-class-assign": "error", "no-class-assign": "error",
// "no-const-assign": "error", "no-const-assign": "error",
// "no-dupe-class-members": "error", "no-dupe-class-members": "error",
"no-this-before-super": "error", "no-this-before-super": "error",
// "no-var": "warn", // "no-var": "warn",
"object-shorthand": [ "warn" ], "object-shorthand": [ "warn" ],
@@ -217,14 +217,13 @@
"MethodDefinition": true, "MethodDefinition": true,
"ClassDeclaration": false "ClassDeclaration": false
} }
}] }],
// "semi-spacing": [ "warn", { "before": false, "after": true }], // "semi-spacing": [ "warn", { "before": false, "after": true }],
// "semi": [ "error", "always" ], // "semi": [ "error", "always" ],
// "sort-vars": "off", // "sort-vars": "off",
// "space-after-keywords": [ "warn", "always" ], "keyword-spacing": ["error", { "before": true, "after": true }]
// "space-before-blocks": [ "warn", "always" ], // "space-before-blocks": [ "warn", "always" ],
// "space-before-function-paren": [ "warn", "never" ], // "space-before-function-paren": [ "warn", "never" ],
// "space-before-keywords": [ "warn", "always" ],
// "space-in-parens": [ "warn", "never" ], // "space-in-parens": [ "warn", "never" ],
// "space-infix-ops": [ "warn", { "int32Hint": true } ], // "space-infix-ops": [ "warn", { "int32Hint": true } ],
// "space-return-throw-case": "error", // "space-return-throw-case": "error",
+10
View File
@@ -6,6 +6,11 @@ updates:
schedule: schedule:
interval: weekly interval: weekly
open-pull-requests-limit: 10 open-pull-requests-limit: 10
commit-message:
prefix: "build(deps)"
prefix-development: "build(deps-dev)"
reviewers:
- "qwerty541"
# Maintain dependencies for GitHub Actions # Maintain dependencies for GitHub Actions
- package-ecosystem: github-actions - package-ecosystem: github-actions
@@ -13,3 +18,8 @@ updates:
schedule: schedule:
interval: weekly interval: weekly
open-pull-requests-limit: 10 open-pull-requests-limit: 10
commit-message:
prefix: "ci(deps)"
prefix-development: "ci(deps-dev)"
reviewers:
- "qwerty541"
+86 -43
View File
@@ -1,52 +1,95 @@
themes: themes/index.js themes:
doc-translation: docs/* - changed-files:
- any-glob-to-any-file:
- themes/index.js
doc-translation:
- changed-files:
- any-glob-to-any-file:
- docs/*
card-i18n: card-i18n:
- src/translations.js - changed-files:
- src/common/I18n.js - any-glob-to-any-file:
- src/translations.js
- src/common/I18n.js
documentation: documentation:
- readme.md - changed-files:
- CONTRIBUTING.md - any-glob-to-any-file:
- CODE_OF_CONDUCT.md - readme.md
- SECURITY.md - CONTRIBUTING.md
- CODE_OF_CONDUCT.md
- SECURITY.md
dependencies: dependencies:
- package.json - changed-files:
- package-lock.json - any-glob-to-any-file:
- package.json
- package-lock.json
lang-card: lang-card:
- api/top-langs.js - changed-files:
- src/cards/top-languages-card.js - any-glob-to-any-file:
- src/fetchers/top-languages-fetcher.js - api/top-langs.js
- tests/fetchTopLanguages.test.js - src/cards/top-languages-card.js
- tests/renderTopLanguagesCard.test.js - src/fetchers/top-languages-fetcher.js
- tests/top-langs.test.js - tests/fetchTopLanguages.test.js
- tests/renderTopLanguagesCard.test.js
- tests/top-langs.test.js
repo-card: repo-card:
- api/pin.js - changed-files:
- src/cards/repo-card.js - any-glob-to-any-file:
- src/fetchers/repo-fetcher.js - api/pin.js
- tests/fetchRepo.test.js - src/cards/repo-card.js
- tests/renderRepoCard.test.js - src/fetchers/repo-fetcher.js
- tests/pin.test.js - tests/fetchRepo.test.js
- tests/renderRepoCard.test.js
- tests/pin.test.js
stats-card: stats-card:
- api/index.js - changed-files:
- src/cards/stats-card.js - any-glob-to-any-file:
- src/fetchers/stats-fetcher.js - api/index.js
- tests/fetchStats.test.js - src/cards/stats-card.js
- tests/renderStatsCard.test.js - src/fetchers/stats-fetcher.js
- tests/api.test.js - tests/fetchStats.test.js
- tests/renderStatsCard.test.js
- tests/api.test.js
wakatime-card: wakatime-card:
- api/wakatime.js - changed-files:
- src/cards/wakatime-card.js - any-glob-to-any-file:
- src/fetchers/wakatime-fetcher.js - api/wakatime.js
- tests/fetchWakatime.test.js - src/cards/wakatime-card.js
- tests/renderWakatimeCard.test.js - src/fetchers/wakatime-fetcher.js
- tests/fetchWakatime.test.js
- tests/renderWakatimeCard.test.js
- tests/wakatime.test.js
gist-card: gist-card:
- api/gist.js - changed-files:
- src/cards/gist-card.js - any-glob-to-any-file:
- src/fetchers/gist-fetcher.js - api/gist.js
- tests/fetchGist.test.js - src/cards/gist-card.js
- tests/renderGistCard.test.js - src/fetchers/gist-fetcher.js
- tests/gist.test.js - tests/fetchGist.test.js
ranks: src/calculateRank.js - tests/renderGistCard.test.js
- tests/gist.test.js
ranks:
- changed-files:
- any-glob-to-any-file:
- src/calculateRank.js
ci: ci:
- .github/workflows/* - changed-files:
- scripts/* - any-glob-to-any-file:
infrastructure: .eslintrc.json - .github/workflows/*
- scripts/*
infrastructure:
- changed-files:
- any-glob-to-any-file:
- .eslintrc.json
+1 -1
View File
@@ -29,7 +29,7 @@ jobs:
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
# Initializes the CodeQL tools for scanning. # Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL - name: Initialize CodeQL
+2 -2
View File
@@ -10,10 +10,10 @@ jobs:
if: github.repository == 'anuraghazra/github-readme-stats' if: github.repository == 'anuraghazra/github-readme-stats'
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- name: Deployment Prep - name: Deployment Prep
run: python ./.github/workflows/deploy-prep.py run: python ./.github/workflows/deploy-prep.py
- uses: stefanzweifel/git-auto-commit-action@8756aa072ef5b4a080af5dc8fef36c5d586e521d # v5.0.0 - uses: stefanzweifel/git-auto-commit-action@8621497c8c39c72f3e2a999a26b4ca1b5058a842 # v5.0.1
with: with:
branch: vercel branch: vercel
create_branch: true create_branch: true
+2 -2
View File
@@ -17,10 +17,10 @@ jobs:
node-version: [18.x] node-version: [18.x]
steps: steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- name: Setup Node - name: Setup Node
uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0 uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with: with:
node-version: ${{ matrix.node-version }} node-version: ${{ matrix.node-version }}
cache: npm cache: npm
@@ -27,10 +27,10 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
# NOTE: Retrieve issue templates. # NOTE: Retrieve issue templates.
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- name: Run empty issues closer action - name: Run empty issues closer action
uses: rickstaa/empty-issues-closer-action@af151e679df0e3b59cda0e10c43010556d6c5bff # v1.1.35 uses: rickstaa/empty-issues-closer-action@e96914613221511279ca25f50fd4acc85e331d99 # v1.1.74
env: env:
github_token: ${{ secrets.GITHUB_TOKEN }} github_token: ${{ secrets.GITHUB_TOKEN }}
with: with:
+2 -2
View File
@@ -29,10 +29,10 @@ jobs:
node-version: [18.x] node-version: [18.x]
steps: steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- name: Setup Node - name: Setup Node
uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0 uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with: with:
node-version: ${{ matrix.node-version }} node-version: ${{ matrix.node-version }}
cache: npm cache: npm
+2 -1
View File
@@ -21,6 +21,7 @@ jobs:
if: github.repository == 'anuraghazra/github-readme-stats' if: github.repository == 'anuraghazra/github-readme-stats'
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/labeler@ac9175f8a1f3625fd0d4fb234536d26811351594 # v4.3.0 - uses: actions/labeler@8558fd74291d67161a8a78ce36a881fa63b766a9 # v5.0.0
with: with:
repo-token: "${{ secrets.GITHUB_TOKEN }}" repo-token: "${{ secrets.GITHUB_TOKEN }}"
sync-labels: true
+4 -3
View File
@@ -11,6 +11,7 @@ permissions: read-all
jobs: jobs:
analysis: analysis:
if: github.repository == 'anuraghazra/github-readme-stats'
name: Scorecard analysis name: Scorecard analysis
runs-on: ubuntu-latest runs-on: ubuntu-latest
permissions: permissions:
@@ -21,12 +22,12 @@ jobs:
steps: steps:
- name: "Checkout code" - name: "Checkout code"
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with: with:
persist-credentials: false persist-credentials: false
- name: "Run analysis" - name: "Run analysis"
uses: ossf/scorecard-action@483ef80eb98fb506c348f7d62e28055e49fe2398 # v2.3.0 uses: ossf/scorecard-action@dc50aa9510b46c811795eb24b2f1ba02a914e534 # v2.3.3
with: with:
results_file: results.sarif results_file: results.sarif
results_format: sarif results_format: sarif
@@ -35,7 +36,7 @@ jobs:
# Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF # Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF
# format to the repository Actions tab. # format to the repository Actions tab.
- name: "Upload artifact" - name: "Upload artifact"
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3 uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
with: with:
name: SARIF file name: SARIF file
path: results.sarif path: results.sarif
+3 -3
View File
@@ -30,15 +30,15 @@ jobs:
node-version: [18.x] node-version: [18.x]
steps: steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- name: Setup Node - name: Setup Node
uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0 uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with: with:
node-version: ${{ matrix.node-version }} node-version: ${{ matrix.node-version }}
cache: npm cache: npm
- uses: bahmutov/npm-install@2509f13e8485d88340a789a3f7ca11aaac47c9fc # v1.8.36 - uses: bahmutov/npm-install@e5c7e14408aa6089501de32bd16123b41738047e # v1.10.2
with: with:
useLockFile: false useLockFile: false
+1 -1
View File
@@ -23,7 +23,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- name: Cleanup - name: Cleanup
run: | run: |
@@ -36,15 +36,15 @@ jobs:
node-version: [18.x] node-version: [18.x]
steps: steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- name: Setup Node - name: Setup Node
uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0 uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with: with:
node-version: ${{ matrix.node-version }} node-version: ${{ matrix.node-version }}
cache: npm cache: npm
- uses: bahmutov/npm-install@2509f13e8485d88340a789a3f7ca11aaac47c9fc # v1.8.36 - uses: bahmutov/npm-install@e5c7e14408aa6089501de32bd16123b41738047e # v1.10.2
with: with:
useLockFile: false useLockFile: false
+3 -3
View File
@@ -18,10 +18,10 @@ jobs:
node-version: [18.x] node-version: [18.x]
steps: steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- name: Setup Node - name: Setup Node
uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0 uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with: with:
node-version: ${{ matrix.node-version }} node-version: ${{ matrix.node-version }}
cache: npm cache: npm
@@ -44,4 +44,4 @@ jobs:
npm run format:check npm run format:check
- name: Code Coverage - name: Code Coverage
uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3.1.4 uses: codecov/codecov-action@4fe8c5f003fae66aa5ebb77cfd3e7bfbbda0b6b0 # v3.1.5
+1 -1
View File
@@ -34,7 +34,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Run top issues action - name: Run top issues action
uses: rickstaa/top-issues-action@36df2af30c15ddf48558931420138890ed1b1708 # v1.3.61 uses: rickstaa/top-issues-action@7e8dda5d5ae3087670f9094b9724a9a091fc3ba1 # v1.3.101
env: env:
github_token: ${{ secrets.GITHUB_TOKEN }} github_token: ${{ secrets.GITHUB_TOKEN }}
with: with:
@@ -36,10 +36,10 @@ jobs:
node-version: [18.x] node-version: [18.x]
steps: steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- name: Setup Node - name: Setup Node
uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0 uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with: with:
node-version: ${{ matrix.node-version }} node-version: ${{ matrix.node-version }}
cache: npm cache: npm
@@ -53,7 +53,7 @@ jobs:
run: npm run generate-langs-json run: npm run generate-langs-json
- name: Create Pull Request if upstream language file is changed - name: Create Pull Request if upstream language file is changed
uses: peter-evans/create-pull-request@153407881ec5c347639a548ade7d8ad1d6740e38 # v5.0.2 uses: peter-evans/create-pull-request@6d6857d36972b65feb161a90e484f2984215f83e # v6.0.5
with: with:
commit-message: "refactor: update languages JSON" commit-message: "refactor: update languages JSON"
branch: "update_langs/patch" branch: "update_langs/patch"
-3
View File
@@ -1,6 +1,3 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"
npm test npm test
npm run lint npm run lint
npx lint-staged npx lint-staged
+18 -2
View File
@@ -27,7 +27,15 @@ export default async (req, res) => {
res.setHeader("Content-Type", "image/svg+xml"); res.setHeader("Content-Type", "image/svg+xml");
if (locale && !isLocaleAvailable(locale)) { if (locale && !isLocaleAvailable(locale)) {
return res.send(renderError("Something went wrong", "Language not found")); return res.send(
renderError("Something went wrong", "Language not found", {
title_color,
text_color,
bg_color,
border_color,
theme,
}),
);
} }
try { try {
@@ -83,6 +91,14 @@ export default async (req, res) => {
CONSTANTS.ERROR_CACHE_SECONDS CONSTANTS.ERROR_CACHE_SECONDS
}, stale-while-revalidate=${CONSTANTS.ONE_DAY}`, }, stale-while-revalidate=${CONSTANTS.ONE_DAY}`,
); // Use lower cache period for errors. ); // Use lower cache period for errors.
return res.send(renderError(err.message, err.secondaryMessage)); return res.send(
renderError(err.message, err.secondaryMessage, {
title_color,
text_color,
bg_color,
border_color,
theme,
}),
);
} }
}; };
+27 -3
View File
@@ -42,11 +42,27 @@ export default async (req, res) => {
res.setHeader("Content-Type", "image/svg+xml"); res.setHeader("Content-Type", "image/svg+xml");
if (blacklist.includes(username)) { if (blacklist.includes(username)) {
return res.send(renderError("Something went wrong")); return res.send(
renderError("Something went wrong", "This username is blacklisted", {
title_color,
text_color,
bg_color,
border_color,
theme,
}),
);
} }
if (locale && !isLocaleAvailable(locale)) { if (locale && !isLocaleAvailable(locale)) {
return res.send(renderError("Something went wrong", "Language not found")); return res.send(
renderError("Something went wrong", "Language not found", {
title_color,
text_color,
bg_color,
border_color,
theme,
}),
);
} }
try { try {
@@ -111,6 +127,14 @@ export default async (req, res) => {
CONSTANTS.ERROR_CACHE_SECONDS CONSTANTS.ERROR_CACHE_SECONDS
}, stale-while-revalidate=${CONSTANTS.ONE_DAY}`, }, stale-while-revalidate=${CONSTANTS.ONE_DAY}`,
); // Use lower cache period for errors. ); // Use lower cache period for errors.
return res.send(renderError(err.message, err.secondaryMessage)); return res.send(
renderError(err.message, err.secondaryMessage, {
title_color,
text_color,
bg_color,
border_color,
theme,
}),
);
} }
}; };
+29 -10
View File
@@ -3,7 +3,6 @@ import { blacklist } from "../src/common/blacklist.js";
import { import {
clampValue, clampValue,
CONSTANTS, CONSTANTS,
getBase64URIFromImage,
parseBoolean, parseBoolean,
renderError, renderError,
} from "../src/common/utils.js"; } from "../src/common/utils.js";
@@ -25,17 +24,33 @@ export default async (req, res) => {
locale, locale,
border_radius, border_radius,
border_color, border_color,
show_image, description_lines_count,
} = req.query; } = req.query;
res.setHeader("Content-Type", "image/svg+xml"); res.setHeader("Content-Type", "image/svg+xml");
if (blacklist.includes(username)) { if (blacklist.includes(username)) {
return res.send(renderError("Something went wrong")); return res.send(
renderError("Something went wrong", "This username is blacklisted", {
title_color,
text_color,
bg_color,
border_color,
theme,
}),
);
} }
if (locale && !isLocaleAvailable(locale)) { if (locale && !isLocaleAvailable(locale)) {
return res.send(renderError("Something went wrong", "Language not found")); return res.send(
renderError("Something went wrong", "Language not found", {
title_color,
text_color,
bg_color,
border_color,
theme,
}),
);
} }
try { try {
@@ -70,10 +85,6 @@ export default async (req, res) => {
}, s-maxage=${cacheSeconds}, stale-while-revalidate=${CONSTANTS.ONE_DAY}`, }, s-maxage=${cacheSeconds}, stale-while-revalidate=${CONSTANTS.ONE_DAY}`,
); );
repoData.stringifiedRepoImage = await getBase64URIFromImage(
repoData.openGraphImageUrl,
);
return res.send( return res.send(
renderRepoCard(repoData, { renderRepoCard(repoData, {
hide_border: parseBoolean(hide_border), hide_border: parseBoolean(hide_border),
@@ -86,7 +97,7 @@ export default async (req, res) => {
border_color, border_color,
show_owner: parseBoolean(show_owner), show_owner: parseBoolean(show_owner),
locale: locale ? locale.toLowerCase() : null, locale: locale ? locale.toLowerCase() : null,
show_image: parseBoolean(show_image), description_lines_count,
}), }),
); );
} catch (err) { } catch (err) {
@@ -96,6 +107,14 @@ export default async (req, res) => {
CONSTANTS.ERROR_CACHE_SECONDS CONSTANTS.ERROR_CACHE_SECONDS
}, stale-while-revalidate=${CONSTANTS.ONE_DAY}`, }, stale-while-revalidate=${CONSTANTS.ONE_DAY}`,
); // Use lower cache period for errors. ); // Use lower cache period for errors.
return res.send(renderError(err.message, err.secondaryMessage)); return res.send(
renderError(err.message, err.secondaryMessage, {
title_color,
text_color,
bg_color,
border_color,
theme,
}),
);
} }
}; };
+18 -2
View File
@@ -37,7 +37,15 @@ export default async (req, res) => {
res.setHeader("Content-Type", "image/svg+xml"); res.setHeader("Content-Type", "image/svg+xml");
if (blacklist.includes(username)) { if (blacklist.includes(username)) {
return res.send(renderError("Something went wrong")); return res.send(
renderError("Something went wrong", "This username is blacklisted", {
title_color,
text_color,
bg_color,
border_color,
theme,
}),
);
} }
if (locale && !isLocaleAvailable(locale)) { if (locale && !isLocaleAvailable(locale)) {
@@ -105,6 +113,14 @@ export default async (req, res) => {
CONSTANTS.ERROR_CACHE_SECONDS CONSTANTS.ERROR_CACHE_SECONDS
}, stale-while-revalidate=${CONSTANTS.ONE_DAY}`, }, stale-while-revalidate=${CONSTANTS.ONE_DAY}`,
); // Use lower cache period for errors. ); // Use lower cache period for errors.
return res.send(renderError(err.message, err.secondaryMessage)); return res.send(
renderError(err.message, err.secondaryMessage, {
title_color,
text_color,
bg_color,
border_color,
theme,
}),
);
} }
}; };
+22 -2
View File
@@ -30,12 +30,22 @@ export default async (req, res) => {
api_domain, api_domain,
border_radius, border_radius,
border_color, border_color,
display_format,
disable_animations,
} = req.query; } = req.query;
res.setHeader("Content-Type", "image/svg+xml"); res.setHeader("Content-Type", "image/svg+xml");
if (locale && !isLocaleAvailable(locale)) { if (locale && !isLocaleAvailable(locale)) {
return res.send(renderError("Something went wrong", "Language not found")); return res.send(
renderError("Something went wrong", "Language not found", {
title_color,
text_color,
bg_color,
border_color,
theme,
}),
);
} }
try { try {
@@ -75,6 +85,8 @@ export default async (req, res) => {
locale: locale ? locale.toLowerCase() : null, locale: locale ? locale.toLowerCase() : null,
layout, layout,
langs_count, langs_count,
display_format,
disable_animations: parseBoolean(disable_animations),
}), }),
); );
} catch (err) { } catch (err) {
@@ -84,6 +96,14 @@ export default async (req, res) => {
CONSTANTS.ERROR_CACHE_SECONDS CONSTANTS.ERROR_CACHE_SECONDS
}, stale-while-revalidate=${CONSTANTS.ONE_DAY}`, }, stale-while-revalidate=${CONSTANTS.ONE_DAY}`,
); // Use lower cache period for errors. ); // Use lower cache period for errors.
return res.send(renderError(err.message, err.secondaryMessage)); return res.send(
renderError(err.message, err.secondaryMessage, {
title_color,
text_color,
bg_color,
border_color,
theme,
}),
);
} }
}; };
+1 -2
View File
@@ -1,12 +1,11 @@
import "dotenv/config";
import statsCard from "./api/index.js"; import statsCard from "./api/index.js";
import repoCard from "./api/pin.js"; import repoCard from "./api/pin.js";
import langCard from "./api/top-langs.js"; import langCard from "./api/top-langs.js";
import wakatimeCard from "./api/wakatime.js"; import wakatimeCard from "./api/wakatime.js";
import gistCard from "./api/gist.js"; import gistCard from "./api/gist.js";
import express from "express"; import express from "express";
import dotenv from "dotenv";
dotenv.config();
const app = express(); const app = express();
app.listen(process.env.port || 9000); app.listen(process.env.port || 9000);
+417 -1325
View File
File diff suppressed because it is too large Load Diff
+11 -11
View File
@@ -29,7 +29,7 @@
"generate-langs-json": "node scripts/generate-langs-json", "generate-langs-json": "node scripts/generate-langs-json",
"format": "prettier --write .", "format": "prettier --write .",
"format:check": "prettier --check .", "format:check": "prettier --check .",
"prepare": "husky install", "prepare": "husky",
"lint": "npx eslint --max-warnings 0 \"./src/**/*.js\" \"./scripts/**/*.js\" \"./tests/**/*.js\" \"./api/**/*.js\" \"./themes/**/*.js\"", "lint": "npx eslint --max-warnings 0 \"./src/**/*.js\" \"./scripts/**/*.js\" \"./tests/**/*.js\" \"./api/**/*.js\" \"./themes/**/*.js\"",
"bench": "node --experimental-vm-modules node_modules/jest/bin/jest.js --config jest.bench.config.js" "bench": "node --experimental-vm-modules node_modules/jest/bin/jest.js --config jest.bench.config.js"
}, },
@@ -38,27 +38,27 @@
"devDependencies": { "devDependencies": {
"@actions/core": "^1.10.1", "@actions/core": "^1.10.1",
"@actions/github": "^6.0.0", "@actions/github": "^6.0.0",
"@testing-library/dom": "^9.3.3", "@testing-library/dom": "^10.1.0",
"@testing-library/jest-dom": "^6.1.4", "@testing-library/jest-dom": "^6.4.5",
"@uppercod/css-to-object": "^1.1.1", "@uppercod/css-to-object": "^1.1.1",
"axios-mock-adapter": "^1.22.0", "axios-mock-adapter": "^1.22.0",
"color-contrast-checker": "^2.1.0", "color-contrast-checker": "^2.1.0",
"eslint": "^8.52.0", "eslint": "^8.57.0",
"eslint-config-prettier": "^9.0.0", "eslint-config-prettier": "^9.1.0",
"hjson": "^3.2.2", "hjson": "^3.2.2",
"husky": "^8.0.3", "husky": "^9.0.11",
"jest": "^29.7.0", "jest": "^29.7.0",
"jest-bench": "^29.4.1", "jest-bench": "^29.7.1",
"jest-environment-jsdom": "^29.7.0", "jest-environment-jsdom": "^29.7.0",
"js-yaml": "^4.1.0", "js-yaml": "^4.1.0",
"lint-staged": "^15.0.2", "lint-staged": "^15.2.2",
"lodash.snakecase": "^4.1.1", "lodash.snakecase": "^4.1.1",
"parse-diff": "^0.11.1", "parse-diff": "^0.11.1",
"prettier": "^3.0.3" "prettier": "^3.2.5"
}, },
"dependencies": { "dependencies": {
"axios": "^1.5.1", "axios": "^1.7.1",
"dotenv": "^16.3.1", "dotenv": "^16.4.5",
"emoji-name-map": "^1.2.8", "emoji-name-map": "^1.2.8",
"github-username-regex": "^1.0.0", "github-username-regex": "^1.0.0",
"upgrade": "^1.1.0", "upgrade": "^1.1.0",
+75 -66
View File
@@ -65,7 +65,7 @@
</p> </p>
</p> </p>
<p align="center">Please note that documentation translations may be outdated, try to use english documentation if possible.</p> <p align="center">Please note that documentation translations may be outdated; try to use English documentation if possible.</p>
<p align="center">Love the project? Please consider <a href="https://www.paypal.me/anuraghazra">donating</a> to help it improve!</p> <p align="center">Love the project? Please consider <a href="https://www.paypal.me/anuraghazra">donating</a> to help it improve!</p>
@@ -73,11 +73,11 @@
<img src="https://cfstatic.give.do/logo.png" alt="Give india logo" width="200" /> <img src="https://cfstatic.give.do/logo.png" alt="Give india logo" width="200" />
</a> </a>
Are you considering supporting the project by donating to me? Please DO NOT!! Are you considering supporting the project by donating to me? Please DO NOT!!!
<img src="https://cfstatic.give.do/910ede2a-7892-43fe-8c8a-dea45e96d950.webp" alt="Picture of Coromandel Express train tragedy" width="35%"> <img src="https://cfstatic.give.do/910ede2a-7892-43fe-8c8a-dea45e96d950.webp" alt="Picture of Coromandel Express train tragedy" width="35%">
India just suffered one of the most devastating train accident and your help will be immensely valuable for the people who were affected by this tragedy. India has recently suffered one of the most devastating train accidents, and your help will be immensely valuable for the people who were affected by this tragedy.
Please visit [this link](https://give.do/fundraisers/stand-beside-the-victims-of-the-coromandel-express-train-tragedy-in-odisha-donate-now) and make a small donation to help the people in need. A small donation goes a long way. :heart: Please visit [this link](https://give.do/fundraisers/stand-beside-the-victims-of-the-coromandel-express-train-tragedy-in-odisha-donate-now) and make a small donation to help the people in need. A small donation goes a long way. :heart:
@@ -129,11 +129,11 @@ Please visit [this link](https://give.do/fundraisers/stand-beside-the-victims-of
<img alt="Uptime Badge" src="https://img.shields.io/endpoint?url=https%3A%2F%2Fgithub-readme-stats-git-monitoring-github-readme-stats-team.vercel.app%2Fapi%2Fstatus%2Fup%3Ftype%3Dshields"> <img alt="Uptime Badge" src="https://img.shields.io/endpoint?url=https%3A%2F%2Fgithub-readme-stats-git-monitoring-github-readme-stats-team.vercel.app%2Fapi%2Fstatus%2Fup%3Ftype%3Dshields">
> [!IMPORTANT]\ > [!IMPORTANT]\
> We're a small team, and to prioritize, we rely on upvotes :+1:. We use Top issues dashboard for tracking community demand (see [#1935](https://github.com/anuraghazra/github-readme-stats/issues/1935)). Do not hesitate to upvote the issues and pull requests you are interested in. We will work on the most upvoted first. > We're a small team, and to prioritize, we rely on upvotes :+1:. We use the Top Issues dashboard for tracking community demand (see [#1935](https://github.com/anuraghazra/github-readme-stats/issues/1935)). Do not hesitate to upvote the issues and pull requests you are interested in. We will work on the most upvoted first.
# GitHub Stats Card # GitHub Stats Card
Copy-paste this into your markdown content, and that is it. Simple! Copy and paste this into your markdown, and that's it. Simple!
Change the `?username=` value to your GitHub username. Change the `?username=` value to your GitHub username.
@@ -142,10 +142,10 @@ Change the `?username=` value to your GitHub username.
``` ```
> [!WARNING]\ > [!WARNING]\
> By default, the stats card only shows statistics like stars, commits and pull requests from public repositories. To show private statistics on the stats card, you should [deploy your own instance](#deploy-on-your-own) using your own GitHub API token. > By default, the stats card only shows statistics like stars, commits, and pull requests from public repositories. To show private statistics on the stats card, you should [deploy your own instance](#deploy-on-your-own) using your own GitHub API token.
> [!NOTE]\ > [!NOTE]\
> Available ranks are S (top 1%), A+ (12.5%), A (25%), A- (37.5%), B+ (50%), B (62.5%), B- (75%), C+ (87.5%) and C (everyone). This ranking scheme is based on the [Japanese academic grading](https://wikipedia.org/wiki/Academic_grading_in_Japan) system. The global percentile is calculated as a weighted sum of percentiles for each statistic (number of commits, pull requests, reviews, issues, stars and followers), based on the cumulative distribution function of the [exponential](https://wikipedia.org/wiki/exponential_distribution) and the [log-normal](https://wikipedia.org/wiki/Log-normal_distribution) distributions. The implementation can be investigated at [src/calculateRank.js](https://github.com/anuraghazra/github-readme-stats/blob/master/src/calculateRank.js). The circle around the rank shows 100 minus the global percentile. > Available ranks are S (top 1%), A+ (12.5%), A (25%), A- (37.5%), B+ (50%), B (62.5%), B- (75%), C+ (87.5%) and C (everyone). This ranking scheme is based on the [Japanese academic grading](https://wikipedia.org/wiki/Academic_grading_in_Japan) system. The global percentile is calculated as a weighted sum of percentiles for each statistic (number of commits, pull requests, reviews, issues, stars, and followers), based on the cumulative distribution function of the [exponential](https://wikipedia.org/wiki/exponential_distribution) and the [log-normal](https://wikipedia.org/wiki/Log-normal_distribution) distributions. The implementation can be investigated at [src/calculateRank.js](https://github.com/anuraghazra/github-readme-stats/blob/master/src/calculateRank.js). The circle around the rank shows 100 minus the global percentile.
### Hiding individual stats ### Hiding individual stats
@@ -191,7 +191,7 @@ GitHub Readme Stats comes with several built-in themes (e.g. `dark`, `radical`,
<img src="https://res.cloudinary.com/anuraghazra/image/upload/v1595174536/grs-themes_l4ynja.png" alt="GitHub Readme Stats Themes" width="600px"/> <img src="https://res.cloudinary.com/anuraghazra/image/upload/v1595174536/grs-themes_l4ynja.png" alt="GitHub Readme Stats Themes" width="600px"/>
You can look at a preview for [all available themes](themes/README.md) or checkout the [theme config file](themes/index.js). Please note that we paused addition of new themes to decrease maintenance efforts, all pull requests related to new themes will be closed. You can look at a preview for [all available themes](themes/README.md) or checkout the [theme config file](themes/index.js). Please note that we paused the addition of new themes to decrease maintenance efforts; all pull requests related to new themes will be closed.
#### Responsive Card Theme #### Responsive Card Theme
@@ -288,16 +288,18 @@ You can customize the appearance of all your cards however you wish with URL par
#### Common Options #### Common Options
* `title_color` - Card's title color *(hex color)*. Default: `2f80ed`. | Name | Description | Type | Default value |
* `text_color` - Body text color *(hex color)*. Default: `434d58`. | --- | --- | --- | --- |
* `icon_color` - Icons color if available *(hex color)*. Default: `4c71f2`. | `title_color` | Card's title color. | string (hex color) | `2f80ed` |
* `border_color` - Card's border color *(hex color)*. Default: `e4e2e2` (Does not apply when `hide_border` is enabled). | `text_color` | Body text color. | string (hex color) | `434d58` |
* `bg_color` - Card's background color *(hex color)* **or** a gradient in the form of *angle,start,end*. Default: `fffefe` | `icon_color` | Icons color if available. | string (hex color) | `4c71f2` |
* `hide_border` - Hides the card's border *(boolean)*. Default: `false` | `border_color` | Card's border color. Does not apply when `hide_border` is enabled. | string (hex color) | `e4e2e2` |
* `theme` - Name of the theme, choose from [all available themes](themes/README.md). Default: `default` theme. | `bg_color` | Card's background color. | string (hex color or a gradient in the form of *angle,start,end*) | `fffefe` |
* `cache_seconds` - Sets the cache header manually *(min: 21600, max: 86400)*. Default: `21600 seconds (6 hours)`. | `hide_border` | Hides the card's border. | boolean | `false` |
* `locale` - Sets the language in the card, you can check full list of available locales [here](#available-locales). Default: `en`. | `theme` | Name of the theme, choose from [all available themes](themes/README.md). | enum | `default` |
* `border_radius` - Corner rounding on the card. Default: `4.5`. | `cache_seconds` | Sets the cache header manually (min: 21600, max: 86400). | integer | `21600` |
| `locale` | Sets the language in the card, you can check full list of available locales [here](#available-locales). | enum | `en` |
| `border_radius` | Corner rounding on the card. | number | `4.5` |
> [!WARNING]\ > [!WARNING]\
> We use caching to decrease the load on our servers (see <https://github.com/anuraghazra/github-readme-stats/issues/1471#issuecomment-1271551425>). Our cards have a default cache of 6 hours (21600 seconds). Also, note that the cache is clamped to a minimum of 6 hours and a maximum of 24 hours. If you want the data on your statistics card to be updated more often you can [deploy your own instance](#deploy-on-your-own) and set [environment variable](#disable-rate-limit-protections) `CACHE_SECONDS` to a value of your choosing. > We use caching to decrease the load on our servers (see <https://github.com/anuraghazra/github-readme-stats/issues/1471#issuecomment-1271551425>). Our cards have a default cache of 6 hours (21600 seconds). Also, note that the cache is clamped to a minimum of 6 hours and a maximum of 24 hours. If you want the data on your statistics card to be updated more often you can [deploy your own instance](#deploy-on-your-own) and set [environment variable](#disable-rate-limit-protections) `CACHE_SECONDS` to a value of your choosing.
@@ -364,47 +366,55 @@ If we don't support your language, please consider contributing! You can find mo
#### Stats Card Exclusive Options #### Stats Card Exclusive Options
* `hide` - Hides the [specified items](#hiding-individual-stats) from stats *(Comma-separated values)*. Default: `[] (blank array)`. | Name | Description | Type | Default value |
* `hide_title` - *(boolean)*. Default: `false`. | --- | --- | --- | --- |
* `card_width` - Sets the card's width manually *(number)*. Default: `500px (approx.)`. | `hide` | Hides the [specified items](#hiding-individual-stats) from stats. | string (comma-separated values) | `null` |
* `hide_rank` - *(boolean)* hides the rank and automatically resizes the card width. Default: `false`. | `hide_title` | Hides the title of your stats card. | boolean | `false` |
* `rank_icon` - Shows alternative rank icon (i.e. `github`, `percentile` or `default`). Default: `default`. | `card_width` | Sets the card's width manually. | number | `500px (approx.)` |
* `show_icons` - *(boolean)*. Default: `false`. | `hide_rank` | Hides the rank and automatically resizes the card width. | boolean | `false` |
* `include_all_commits` - Counts total commits instead of just the current year commits *(boolean)*. Default: `false`. | `rank_icon` | Shows alternative rank icon (i.e. `github`, `percentile` or `default`). | enum | `default` |
* `line_height` - Sets the line height between text *(number)*. Default: `25`. | `show_icons` | Shows icons near all stats. | boolean | `false` |
* `exclude_repo` - Excludes stars from specified repositories *(Comma-separated values)*. Default: `[] (blank array)`. | `include_all_commits` | Count total commits instead of just the current year commits. | boolean | `false` |
* `custom_title` - Sets a custom title for the card. Default: `<username> GitHub Stats`. | `line_height` | Sets the line height between text. | integer | `25` |
* `text_bold` - Uses bold text *(boolean)*. Default: `true`. | `exclude_repo` | Excludes specified repositories. | string (comma-separated values) | `null` |
* `disable_animations` - Disables all animations in the card *(boolean)*. Default: `false`. | `custom_title` | Sets a custom title for the card. | string | `<username> GitHub Stats` |
* `ring_color` - Color of the rank circle *(hex color)*. Defaults to the theme ring color if it exists and otherwise the title color. | `text_bold` | Uses bold text. | boolean | `true` |
* `number_format` - Switches between two available formats for displaying the card values `short` (i.e. `6.6k`) and `long` (i.e. `6626`). Default: `short`. | `disable_animations` | Disables all animations in the card. | boolean | `false` |
* `show` - Shows [additional items](#showing-additional-individual-stats) on stats card (i.e. `reviews`, `discussions_started`, `discussions_answered`, `prs_merged` or `prs_merged_percentage`) *(Comma-separated values)*. Default: `[] (blank array)`. | `ring_color` | Color of the rank circle. | string (hex color) | `2f80ed` |
| `number_format` | Switches between two available formats for displaying the card values `short` (i.e. `6.6k`) and `long` (i.e. `6626`). | enum | `short` |
| `show` | Shows [additional items](#showing-additional-individual-stats) on stats card (i.e. `reviews`, `discussions_started`, `discussions_answered`, `prs_merged` or `prs_merged_percentage`). | string (comma-separated values) | `null` |
> [!NOTE]\ > [!NOTE]\
> When hide\_rank=`true`, the minimum card width is 270 px + the title length and padding. > When hide\_rank=`true`, the minimum card width is 270 px + the title length and padding.
#### Repo Card Exclusive Options #### Repo Card Exclusive Options
* `show_owner` - Shows the repo's owner name *(boolean)*. Default: `false`. | Name | Description | Type | Default value |
* `show_image` - Shows the repo's social preview image *(boolean)*. Default: `false`. | --- | --- | --- | --- |
| `show_owner` | Shows the repo's owner name. | boolean | `false` |
| `description_lines_count` | Manually set the number of lines for the description. Specified value will be clamped between 1 and 3. If this parameter is not specified, the number of lines will be automatically adjusted according to the actual length of the description. | number | `null` |
#### Gist Card Exclusive Options #### Gist Card Exclusive Options
* `show_owner` - Shows the gist's owner name *(boolean)*. Default: `false`. | Name | Description | Type | Default value |
| --- | --- | --- | --- |
| `show_owner` | Shows the gist's owner name. | boolean | `false` |
#### Language Card Exclusive Options #### Language Card Exclusive Options
* `hide` - Hides the languages specified from the card *(Comma-separated values)*. Default: `[] (blank array)`. | Name | Description | Type | Default value |
* `hide_title` - *(boolean)*. Default: `false`. | --- | --- | --- | --- |
* `layout` - Switches between five available layouts `normal` & `compact` & `donut` & `donut-vertical` & `pie`. Default: `normal`. | `hide` | Hides the [specified languages](#hide-individual-languages) from card. | string (comma-separated values) | `null` |
* `card_width` - Sets the card's width manually *(number)*. Default `300`. | `hide_title` | Hides the title of your card. | boolean | `false` |
* `langs_count` - Shows more languages on the card, between 1-20 *(number)*. Default: `5` for `normal` and `donut`, `6` for other layouts. | `layout` | Switches between five available layouts `normal` & `compact` & `donut` & `donut-vertical` & `pie`. | enum | `normal` |
* `exclude_repo` - Excludes specified repositories *(Comma-separated values)*. Default: `[] (blank array)`. | `card_width` | Sets the card's width manually. | number | `300` |
* `custom_title` - Sets a custom title for the card *(string)*. Default `Most Used Languages`. | `langs_count` | Shows more languages on the card, between 1-20. | integer | `5` for `normal` and `donut`, `6` for other layouts |
* `disable_animations` - Disables all animations in the card *(boolean)*. Default: `false`. | `exclude_repo` | Excludes specified repositories. | string (comma-separated values) | `null` |
* `hide_progress` - Uses the compact layout option, hides percentages, and removes the bars. Default: `false`. | `custom_title` | Sets a custom title for the card. | string | `Most Used Languages` |
* `size_weight` - Configures language stats algorithm *(number)* (see [Language stats algorithm](#Language-stats-algorithm)), defaults to 1. | `disable_animations` | Disables all animations in the card. | boolean | `false` |
* `count_weight` - Configures language stats algorithm *(number)* (see [Language stats algorithm](#Language-stats-algorithm)), defaults to 0. | `hide_progress` | Uses the compact layout option, hides percentages, and removes the bars. | boolean | `false` |
| `size_weight` | Configures language stats algorithm (see [Language stats algorithm](#language-stats-algorithm)). | integer | `1` |
| `count_weight` | Configures language stats algorithm (see [Language stats algorithm](#language-stats-algorithm)). | integer | `0` |
> [!WARNING]\ > [!WARNING]\
> Language names should be URI-escaped, as specified in [Percent Encoding](https://en.wikipedia.org/wiki/Percent-encoding) > Language names should be URI-escaped, as specified in [Percent Encoding](https://en.wikipedia.org/wiki/Percent-encoding)
@@ -413,14 +423,18 @@ If we don't support your language, please consider contributing! You can find mo
#### WakaTime Card Exclusive Options #### WakaTime Card Exclusive Options
* `hide` - Hides the languages specified from the card *(Comma-separated values)*. Default: `[] (blank array)`. | Name | Description | Type | Default value |
* `hide_title` - *(boolean)*. Default `false`. | --- | --- | --- | --- |
* `line_height` - Sets the line height between text *(number)*. Default `25`. | `hide` | Hides the languages specified from the card. | string (comma-separated values) | `null` |
* `hide_progress` - Hides the progress bar and percentage *(boolean)*. Default `false`. | `hide_title` | Hides the title of your card. | boolean | `false` |
* `custom_title` - Sets a custom title for the card *(string)*. Default `WakaTime Stats`. | `line_height` | Sets the line height between text. | integer | `25` |
* `layout` - Switches between two available layouts `default` & `compact`. Default `default`. | `hide_progress` | Hides the progress bar and percentage. | boolean | `false` |
* `langs_count` - Limits the number of languages on the card, defaults to all reported languages *(number)*. | `custom_title` | Sets a custom title for the card. | string | `WakaTime Stats` |
* `api_domain` - Sets a custom API domain for the card, e.g. to use services like [Hakatime](https://github.com/mujx/hakatime) or [Wakapi](https://github.com/muety/wakapi) *(string)*. Default `Waka API`. | `layout` | Switches between two available layouts `default` & `compact`. | enum | `default` |
| `langs_count` | Limits the number of languages on the card, defaults to all reported languages. | integer | `null` |
| `api_domain` | Sets a custom API domain for the card, e.g. to use services like [Hakatime](https://github.com/mujx/hakatime) or [Wakapi](https://github.com/muety/wakapi) | string | `wakatime.com` |
| `display_format` | Sets the WakaTime stats display format. Choose `time` to display time-based stats or `percent` to show percentages. | enum | `time` |
| `disable_animations` | Disables all animations in the card. | boolean | `false` |
*** ***
@@ -448,11 +462,6 @@ Use [show\_owner](#repo-card-exclusive-options) query option to include the repo
![Readme Card](https://github-readme-stats.vercel.app/api/pin/?username=anuraghazra\&repo=github-readme-stats\&show_owner=true) ![Readme Card](https://github-readme-stats.vercel.app/api/pin/?username=anuraghazra\&repo=github-readme-stats\&show_owner=true)
Use [show\_image](#repo-card-exclusive-options) query option to include the repo's social preview image header
![Readme Card](https://github-readme-stats.vercel.app/api/pin/?username=anuraghazra\&repo=github-readme-stats\&show_image=true)
# GitHub Gist Pins # GitHub Gist Pins
GitHub gist pins allow you to pin gists in your GitHub profile using a GitHub readme profile. GitHub gist pins allow you to pin gists in your GitHub profile using a GitHub readme profile.
@@ -486,10 +495,10 @@ The top languages card shows a GitHub user's most frequently used languages.
> Top Languages does not indicate the user's skill level or anything like that; it's a GitHub metric to determine which languages have the most code on GitHub. It is a new feature of github-readme-stats. > Top Languages does not indicate the user's skill level or anything like that; it's a GitHub metric to determine which languages have the most code on GitHub. It is a new feature of github-readme-stats.
> [!WARNING]\ > [!WARNING]\
> This card shows languages usage only inside your own non-forked repositories, not depending from who is the author of the commits. It does not include your contributions into another users/organizations repositories. Currently there are no way to get this data from GitHub API. If you want this behavior to be improved you can support [this feature request](https://github.com/orgs/community/discussions/18230) created by [@rickstaa](https://github.com/rickstaa) inside GitHub Community. > This card shows language usage only inside your own non-forked repositories, not depending on who the author of the commits is. It does not include your contributions into another users/organizations repositories. Currently there are no way to get this data from GitHub API. If you want this behavior to be improved you can support [this feature request](https://github.com/orgs/community/discussions/18230) created by [@rickstaa](https://github.com/rickstaa) inside GitHub Community.
> [!WARNING]\ > [!WARNING]\
> Currently this card shows data only about first 100 repositories. This is because GitHub API limitations which cause downtimes of public instance (see [#1471](https://github.com/anuraghazra/github-readme-stats/issues/1471)). In future this behavior will be improved by releasing GitHub action or providing environment variable for user's own instances. > Currently this card shows data only about first 100 repositories. This is because GitHub API limitations which cause downtimes of public instances (see [#1471](https://github.com/anuraghazra/github-readme-stats/issues/1471)). In future this behavior will be improved by releasing GitHub action or providing environment variables for user's own instances.
### Usage ### Usage
@@ -806,7 +815,7 @@ Since the GitHub API only allows 5k requests per hour, my `https://github-readme
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. * `CACHE_SECONDS`: This environment variable takes precedence over our cache minimum and maximum values and can circumvent these values for self-hosted Vercel instances.
See [the Vercel documentation](https://vercel.com/docs/concepts/projects/environment-variables) on adding these environment variables to your Vercel instance. See [the Vercel documentation](https://vercel.com/docs/concepts/projects/environment-variables) on adding these environment variables to your Vercel instance.
@@ -821,9 +830,9 @@ this takes time. You can use this service for free.
However, if you are using this project and are happy with it or just want to encourage me to continue creating stuff, there are a few ways you can do it: However, if you are using this project and are happy with it or just want to encourage me to continue creating stuff, there are a few ways you can do it:
* Giving proper credit when you use github-readme-stats on your readme, linking back to it :D * Giving proper credit when you use github-readme-stats on your readme, linking back to it. :D
* Starring and sharing the project :rocket: * Starring and sharing the project. :rocket:
* [![paypal.me/anuraghazra](https://ionicabizau.github.io/badges/paypal.svg)](https://www.paypal.me/anuraghazra) - You can make one-time donations via PayPal. I'll probably buy a ~~coffee~~ tea. :tea: * [![paypal.me/anuraghazra](https://ionicabizau.github.io/badges/paypal.svg)](https://www.paypal.me/anuraghazra) - You can make a one-time donations via PayPal. I'll probably buy a ~~coffee~~ tea. :tea:
Thanks! :heart: Thanks! :heart:
+21 -9
View File
@@ -12,10 +12,13 @@ import {
wrapTextMultiline, wrapTextMultiline,
iconWithLabel, iconWithLabel,
createLanguageNode, createLanguageNode,
clampValue,
} from "../common/utils.js"; } from "../common/utils.js";
import { repoCardLocales } from "../translations.js"; import { repoCardLocales } from "../translations.js";
const ICON_SIZE = 16; const ICON_SIZE = 16;
const DESCRIPTION_LINE_WIDTH = 59;
const DESCRIPTION_MAX_LINES = 3;
/** /**
* Retrieves the repository description and wraps it to fit the card width. * Retrieves the repository description and wraps it to fit the card width.
@@ -61,7 +64,6 @@ const renderRepoCard = (repo, options = {}) => {
isTemplate, isTemplate,
starCount, starCount,
forkCount, forkCount,
stringifiedRepoImage,
} = repo; } = repo;
const { const {
hide_border = false, hide_border = false,
@@ -74,23 +76,34 @@ const renderRepoCard = (repo, options = {}) => {
border_radius, border_radius,
border_color, border_color,
locale, locale,
show_image = false, description_lines_count,
} = options; } = options;
const lineHeight = 10; const lineHeight = 10;
const header = show_owner ? nameWithOwner : name; const header = show_owner ? nameWithOwner : name;
const langName = (primaryLanguage && primaryLanguage.name) || "Unspecified"; const langName = (primaryLanguage && primaryLanguage.name) || "Unspecified";
const langColor = (primaryLanguage && primaryLanguage.color) || "#333"; const langColor = (primaryLanguage && primaryLanguage.color) || "#333";
const descriptionMaxLines = description_lines_count
? clampValue(description_lines_count, 1, DESCRIPTION_MAX_LINES)
: DESCRIPTION_MAX_LINES;
const desc = parseEmojis(description || "No description provided"); const desc = parseEmojis(description || "No description provided");
const multiLineDescription = wrapTextMultiline(desc); const multiLineDescription = wrapTextMultiline(
const descriptionLines = multiLineDescription.length; desc,
DESCRIPTION_LINE_WIDTH,
descriptionMaxLines,
);
const descriptionLinesCount = description_lines_count
? clampValue(description_lines_count, 1, DESCRIPTION_MAX_LINES)
: multiLineDescription.length;
const descriptionSvg = multiLineDescription const descriptionSvg = multiLineDescription
.map((line) => `<tspan dy="1.2em" x="25">${encodeHTML(line)}</tspan>`) .map((line) => `<tspan dy="1.2em" x="25">${encodeHTML(line)}</tspan>`)
.join(""); .join("");
const height = const height =
(descriptionLines > 1 ? 120 : 110) + descriptionLines * lineHeight; (descriptionLinesCount > 1 ? 120 : 110) +
descriptionLinesCount * lineHeight;
const i18n = new I18n({ const i18n = new I18n({
locale, locale,
@@ -143,7 +156,6 @@ const renderRepoCard = (repo, options = {}) => {
height, height,
border_radius, border_radius,
colors, colors,
stringifiedRepoImage: show_image ? stringifiedRepoImage : "",
}); });
card.disableAnimations(); card.disableAnimations();
@@ -163,9 +175,9 @@ const renderRepoCard = (repo, options = {}) => {
? // @ts-ignore ? // @ts-ignore
getBadgeSVG(i18n.t("repocard.template"), colors.textColor) getBadgeSVG(i18n.t("repocard.template"), colors.textColor)
: isArchived : isArchived
? // @ts-ignore ? // @ts-ignore
getBadgeSVG(i18n.t("repocard.archived"), colors.textColor) getBadgeSVG(i18n.t("repocard.archived"), colors.textColor)
: "" : ""
} }
<text class="description" x="25" y="-5"> <text class="description" x="25" y="-5">
+8 -8
View File
@@ -76,7 +76,7 @@ const createTextNode = ({
}; };
/** /**
* Calculates progress along the boundary of the circle i.e it's circumference. * Calculates progress along the boundary of the circle, i.e. its circumference.
* *
* @param {number} value The rank value to calculate progress for. * @param {number} value The rank value to calculate progress for.
* @returns {number} Progress value. * @returns {number} Progress value.
@@ -412,8 +412,8 @@ const renderStatsCard = (stats, options = {}) => {
custom_title custom_title
? custom_title ? custom_title
: statItems.length : statItems.length
? i18n.t("statcard.title") ? i18n.t("statcard.title")
: i18n.t("statcard.ranktitle"), : i18n.t("statcard.ranktitle"),
); );
}; };
@@ -431,14 +431,14 @@ const renderStatsCard = (stats, options = {}) => {
Infinity, Infinity,
) )
: statItems.length : statItems.length
? RANK_CARD_MIN_WIDTH ? RANK_CARD_MIN_WIDTH
: RANK_ONLY_CARD_MIN_WIDTH) + iconWidth; : RANK_ONLY_CARD_MIN_WIDTH) + iconWidth;
const defaultCardWidth = const defaultCardWidth =
(hide_rank (hide_rank
? CARD_DEFAULT_WIDTH ? CARD_DEFAULT_WIDTH
: statItems.length : statItems.length
? RANK_CARD_DEFAULT_WIDTH ? RANK_CARD_DEFAULT_WIDTH
: RANK_ONLY_CARD_DEFAULT_WIDTH) + iconWidth; : RANK_ONLY_CARD_DEFAULT_WIDTH) + iconWidth;
let width = card_width let width = card_width
? isNaN(card_width) ? isNaN(card_width)
? defaultCardWidth ? defaultCardWidth
@@ -518,7 +518,7 @@ const renderStatsCard = (stats, options = {}) => {
if (key === "commits") { if (key === "commits") {
return `${i18n.t("statcard.commits")} ${ return `${i18n.t("statcard.commits")} ${
include_all_commits ? "" : `in ${new Date().getFullYear()}` include_all_commits ? "" : `in ${new Date().getFullYear()}`
} : ${totalStars}`; } : ${STATS[key].value}`;
} }
return `${STATS[key].label}: ${STATS[key].value}`; return `${STATS[key].label}: ${STATS[key].value}`;
}) })
+2 -2
View File
@@ -755,8 +755,8 @@ const renderTopLanguages = (topLangs, options = {}) => {
? isNaN(card_width) ? isNaN(card_width)
? DEFAULT_CARD_WIDTH ? DEFAULT_CARD_WIDTH
: card_width < MIN_CARD_WIDTH : card_width < MIN_CARD_WIDTH
? MIN_CARD_WIDTH ? MIN_CARD_WIDTH
: card_width : card_width
: DEFAULT_CARD_WIDTH; : DEFAULT_CARD_WIDTH;
let height = calculateNormalLayoutHeight(langs.length); let height = calculateNormalLayoutHeight(langs.length);
+4 -2
View File
@@ -32,7 +32,7 @@ export type StatCardOptions = CommonOptions & {
export type RepoCardOptions = CommonOptions & { export type RepoCardOptions = CommonOptions & {
show_owner: boolean; show_owner: boolean;
show_image: boolean; description_lines_count: number;
}; };
export type TopLangOptions = CommonOptions & { export type TopLangOptions = CommonOptions & {
@@ -46,7 +46,7 @@ export type TopLangOptions = CommonOptions & {
hide_progress: boolean; hide_progress: boolean;
}; };
type WakaTimeOptions = CommonOptions & { export type WakaTimeOptions = CommonOptions & {
hide_title: boolean; hide_title: boolean;
hide: string[]; hide: string[];
line_height: string; line_height: string;
@@ -54,6 +54,8 @@ type WakaTimeOptions = CommonOptions & {
custom_title: string; custom_title: string;
layout: "compact" | "normal"; layout: "compact" | "normal";
langs_count: number; langs_count: number;
display_format: "time" | "percent";
disable_animations: boolean;
}; };
export type GistCardOptions = CommonOptions & { export type GistCardOptions = CommonOptions & {
+30 -4
View File
@@ -39,6 +39,20 @@ const noCodingActivityNode = ({ color, text }) => {
* @typedef {import('../fetchers/types').WakaTimeLang} WakaTimeLang * @typedef {import('../fetchers/types').WakaTimeLang} WakaTimeLang
*/ */
/**
* Format language value.
*
* @param {Object} args The function arguments.
* @param {WakaTimeLang} args.lang The language object.
* @param {"time" | "percent"} args.display_format The display format of the language node.
* @returns {string} The formatted language value.
*/
const formatLanguageValue = ({ display_format, lang }) => {
return display_format === "percent"
? `${lang.percent.toFixed(2).toString()} %`
: lang.text;
};
/** /**
* Create compact WakaTime layout. * Create compact WakaTime layout.
* *
@@ -46,16 +60,18 @@ const noCodingActivityNode = ({ color, text }) => {
* @param {WakaTimeLang} args.lang The languages array. * @param {WakaTimeLang} args.lang The languages array.
* @param {number} args.x The x position of the language node. * @param {number} args.x The x position of the language node.
* @param {number} args.y The y position of the language node. * @param {number} args.y The y position of the language node.
* @param {"time" | "percent"} args.display_format The display format of the language node.
* @returns {string} The compact layout language SVG node. * @returns {string} The compact layout language SVG node.
*/ */
const createCompactLangNode = ({ lang, x, y }) => { const createCompactLangNode = ({ lang, x, y, display_format }) => {
const color = languageColors[lang.name] || "#858585"; const color = languageColors[lang.name] || "#858585";
const value = formatLanguageValue({ display_format, lang });
return ` return `
<g transform="translate(${x}, ${y})"> <g transform="translate(${x}, ${y})">
<circle cx="5" cy="6" r="5" fill="${color}" /> <circle cx="5" cy="6" r="5" fill="${color}" />
<text data-testid="lang-name" x="15" y="10" class='lang-name'> <text data-testid="lang-name" x="15" y="10" class='lang-name'>
${lang.name} - ${lang.text} ${lang.name} - ${value}
</text> </text>
</g> </g>
`; `;
@@ -67,21 +83,24 @@ const createCompactLangNode = ({ lang, x, y }) => {
* @param {Object} args The function arguments. * @param {Object} args The function arguments.
* @param {WakaTimeLang[]} args.langs The language objects. * @param {WakaTimeLang[]} args.langs The language objects.
* @param {number} args.y The y position of the language node. * @param {number} args.y The y position of the language node.
* @param {"time" | "percent"} args.display_format The display format of the language node.
* @returns {string[]} The language text node items. * @returns {string[]} The language text node items.
*/ */
const createLanguageTextNode = ({ langs, y }) => { const createLanguageTextNode = ({ langs, y, display_format }) => {
return langs.map((lang, index) => { return langs.map((lang, index) => {
if (index % 2 === 0) { if (index % 2 === 0) {
return createCompactLangNode({ return createCompactLangNode({
lang, lang,
x: 25, x: 25,
y: 12.5 * index + y, y: 12.5 * index + y,
display_format,
}); });
} }
return createCompactLangNode({ return createCompactLangNode({
lang, lang,
x: 230, x: 230,
y: 12.5 + 12.5 * index, y: 12.5 + 12.5 * index,
display_format,
}); });
}); });
}; };
@@ -218,6 +237,8 @@ const renderWakatimeCard = (stats = {}, options = { hide: [] }) => {
langs_count = languages.length, langs_count = languages.length,
border_radius, border_radius,
border_color, border_color,
display_format = "time",
disable_animations,
} = options; } = options;
const shouldHideLangs = Array.isArray(hide) && hide.length > 0; const shouldHideLangs = Array.isArray(hide) && hide.length > 0;
@@ -311,6 +332,7 @@ const renderWakatimeCard = (stats = {}, options = { hide: [] }) => {
? createLanguageTextNode({ ? createLanguageTextNode({
y: 25, y: 25,
langs: filteredLanguages, langs: filteredLanguages,
display_format,
}).join("") }).join("")
: noCodingActivityNode({ : noCodingActivityNode({
// @ts-ignore // @ts-ignore
@@ -330,7 +352,7 @@ const renderWakatimeCard = (stats = {}, options = { hide: [] }) => {
return createTextNode({ return createTextNode({
id: language.name, id: language.name,
label: language.name, label: language.name,
value: language.text, value: formatLanguageValue({ display_format, lang: language }),
index, index,
percent: language.percent, percent: language.percent,
// @ts-ignore // @ts-ignore
@@ -382,6 +404,10 @@ const renderWakatimeCard = (stats = {}, options = { hide: [] }) => {
}, },
}); });
if (disable_animations) {
card.disableAnimations();
}
card.setHideBorder(hide_border); card.setHideBorder(hide_border);
card.setHideTitle(hide_title); card.setHideTitle(hide_title);
card.setCSS( card.setCSS(
-27
View File
@@ -11,8 +11,6 @@ class Card {
* @param {string?=} args.customTitle Card custom title. * @param {string?=} args.customTitle Card custom title.
* @param {string?=} args.defaultTitle Card default title. * @param {string?=} args.defaultTitle Card default title.
* @param {string?=} args.titlePrefixIcon Card title prefix icon. * @param {string?=} args.titlePrefixIcon Card title prefix icon.
* @param {string?=} args.stringifiedRepoImage Card preview image.
* @param {number?=} args.imageHeight Card preview image.
* @param {object?=} args.colors Card colors arguments. * @param {object?=} args.colors Card colors arguments.
* @param {string} args.colors.titleColor Card title color. * @param {string} args.colors.titleColor Card title color.
* @param {string} args.colors.textColor Card text color. * @param {string} args.colors.textColor Card text color.
@@ -29,8 +27,6 @@ class Card {
customTitle, customTitle,
defaultTitle = "", defaultTitle = "",
titlePrefixIcon, titlePrefixIcon,
stringifiedRepoImage = "",
imageHeight = 200,
}) { }) {
this.width = width; this.width = width;
this.height = height; this.height = height;
@@ -40,9 +36,6 @@ class Card {
this.border_radius = border_radius; this.border_radius = border_radius;
this.imageHeight = imageHeight;
this.stringifiedRepoImage = stringifiedRepoImage;
// returns theme based colors with proper overrides and defaults // returns theme based colors with proper overrides and defaults
this.colors = colors; this.colors = colors;
this.title = this.title =
@@ -58,10 +51,6 @@ class Card {
this.animations = true; this.animations = true;
this.a11yTitle = ""; this.a11yTitle = "";
this.a11yDesc = ""; this.a11yDesc = "";
if (this.stringifiedRepoImage) {
this.height += this.imageHeight;
this.paddingY += this.imageHeight;
}
} }
/** /**
@@ -210,21 +199,6 @@ class Card {
`; `;
}; };
/**
* @returns {string} Renders social preview image
*/
renderImage = () => {
if (!this.stringifiedRepoImage) {
return "";
}
return `
<g data-testid="card-image" transform="translate(0, 0)">
<image x="0" y="0" width="${this.width}" height="${this.imageHeight}"
href="${this.stringifiedRepoImage}">
</image>
</g>`;
};
/** /**
* @param {string} body The inner body of the card. * @param {string} body The inner body of the card.
* @returns {string} The rendered card. * @returns {string} The rendered card.
@@ -290,7 +264,6 @@ class Card {
> >
${body} ${body}
</g> </g>
${this.renderImage()}
</svg> </svg>
`; `;
} }
+20 -3
View File
@@ -53,6 +53,7 @@
"BlitzBasic": "#00FFAE", "BlitzBasic": "#00FFAE",
"BlitzMax": "#cd6400", "BlitzMax": "#cd6400",
"Bluespec": "#12223c", "Bluespec": "#12223c",
"Bluespec BH": "#12223c",
"Boo": "#d4bec1", "Boo": "#d4bec1",
"Boogie": "#c80fa0", "Boogie": "#c80fa0",
"Brainfuck": "#2F2530", "Brainfuck": "#2F2530",
@@ -129,6 +130,8 @@
"Easybuild": "#069406", "Easybuild": "#069406",
"Ecere Projects": "#913960", "Ecere Projects": "#913960",
"Ecmarkup": "#eb8131", "Ecmarkup": "#eb8131",
"Edge": "#0dffe0",
"EdgeQL": "#31A7FF",
"EditorConfig": "#fff1f2", "EditorConfig": "#fff1f2",
"Eiffel": "#4d6977", "Eiffel": "#4d6977",
"Elixir": "#6e4a7e", "Elixir": "#6e4a7e",
@@ -169,8 +172,8 @@
"Game Maker Language": "#71b417", "Game Maker Language": "#71b417",
"Gemfile.lock": "#701516", "Gemfile.lock": "#701516",
"Gemini": "#ff6900", "Gemini": "#ff6900",
"Genero": "#63408e", "Genero 4gl": "#63408e",
"Genero Forms": "#d8df39", "Genero per": "#d8df39",
"Genie": "#fb855d", "Genie": "#fb855d",
"Genshi": "#951531", "Genshi": "#951531",
"Gentoo Ebuild": "#9400ff", "Gentoo Ebuild": "#9400ff",
@@ -181,6 +184,8 @@
"Git Config": "#F44D27", "Git Config": "#F44D27",
"Git Revision List": "#F44D27", "Git Revision List": "#F44D27",
"Gleam": "#ffaff3", "Gleam": "#ffaff3",
"Glimmer JS": "#F5835F",
"Glimmer TS": "#3178c6",
"Glyph": "#c1ac7f", "Glyph": "#c1ac7f",
"Gnuplot": "#f0a9f0", "Gnuplot": "#f0a9f0",
"Go": "#00ADD8", "Go": "#00ADD8",
@@ -192,6 +197,7 @@
"Gosu": "#82937f", "Gosu": "#82937f",
"Grace": "#615f8b", "Grace": "#615f8b",
"Gradle": "#02303a", "Gradle": "#02303a",
"Gradle Kotlin DSL": "#02303a",
"Grammatical Framework": "#ff0000", "Grammatical Framework": "#ff0000",
"GraphQL": "#e10098", "GraphQL": "#e10098",
"Graphviz (DOT)": "#2596be", "Graphviz (DOT)": "#2596be",
@@ -310,6 +316,7 @@
"Modelica": "#de1d31", "Modelica": "#de1d31",
"Modula-2": "#10253f", "Modula-2": "#10253f",
"Modula-3": "#223388", "Modula-3": "#223388",
"Mojo": "#ff4c1f",
"Monkey C": "#8D6747", "Monkey C": "#8D6747",
"MoonScript": "#ff4585", "MoonScript": "#ff4585",
"Motoko": "#fbb03b", "Motoko": "#fbb03b",
@@ -376,6 +383,7 @@
"PicoLisp": "#6067af", "PicoLisp": "#6067af",
"PigLatin": "#fcd7de", "PigLatin": "#fcd7de",
"Pike": "#005390", "Pike": "#005390",
"Pip Requirements": "#FFD343",
"PlantUML": "#fbbd16", "PlantUML": "#fbbd16",
"PogoScript": "#d80074", "PogoScript": "#d80074",
"Polar": "#ae81ff", "Polar": "#ae81ff",
@@ -384,6 +392,7 @@
"PostScript": "#da291c", "PostScript": "#da291c",
"PowerBuilder": "#8f0f8d", "PowerBuilder": "#8f0f8d",
"PowerShell": "#012456", "PowerShell": "#012456",
"Praat": "#c8506d",
"Prisma": "#0c344b", "Prisma": "#0c344b",
"Processing": "#0096D8", "Processing": "#0096D8",
"Procfile": "#3B2F63", "Procfile": "#3B2F63",
@@ -422,9 +431,11 @@
"Red": "#f50000", "Red": "#f50000",
"Regular Expression": "#009a00", "Regular Expression": "#009a00",
"Ren'Py": "#ff7f7f", "Ren'Py": "#ff7f7f",
"Rez": "#FFDAB3",
"Ring": "#2D54CB", "Ring": "#2D54CB",
"Riot": "#A71E49", "Riot": "#A71E49",
"RobotFramework": "#00c0b5", "RobotFramework": "#00c0b5",
"Roc": "#7c38f5",
"Roff": "#ecdebe", "Roff": "#ecdebe",
"Roff Manpage": "#ecdebe", "Roff Manpage": "#ecdebe",
"Rouge": "#cc0088", "Rouge": "#cc0088",
@@ -457,6 +468,7 @@
"Slash": "#007eff", "Slash": "#007eff",
"Slice": "#003fa2", "Slice": "#003fa2",
"Slim": "#2b2b2b", "Slim": "#2b2b2b",
"Slint": "#2379F4",
"SmPL": "#c94949", "SmPL": "#c94949",
"Smalltalk": "#596706", "Smalltalk": "#596706",
"Smarty": "#f0c040", "Smarty": "#f0c040",
@@ -475,7 +487,8 @@
"SugarSS": "#2fcc9f", "SugarSS": "#2fcc9f",
"SuperCollider": "#46390b", "SuperCollider": "#46390b",
"Svelte": "#ff3e00", "Svelte": "#ff3e00",
"Sway": "#dea584", "Sway": "#00F58C",
"Sweave": "#198ce7",
"Swift": "#F05138", "Swift": "#F05138",
"SystemVerilog": "#DAE1C2", "SystemVerilog": "#DAE1C2",
"TI Program": "#A0AA87", "TI Program": "#A0AA87",
@@ -490,12 +503,16 @@
"Tcl": "#e4cc98", "Tcl": "#e4cc98",
"TeX": "#3D6117", "TeX": "#3D6117",
"Terra": "#00004c", "Terra": "#00004c",
"Terraform Template": "#7b42bb",
"TextGrid": "#c8506d",
"TextMate Properties": "#df66e4", "TextMate Properties": "#df66e4",
"Textile": "#ffe7ac", "Textile": "#ffe7ac",
"Thrift": "#D12127", "Thrift": "#D12127",
"Toit": "#c2c9fb",
"Turing": "#cf142b", "Turing": "#cf142b",
"Twig": "#c1d026", "Twig": "#c1d026",
"TypeScript": "#3178c6", "TypeScript": "#3178c6",
"Typst": "#239dad",
"Unified Parallel C": "#4e3617", "Unified Parallel C": "#4e3617",
"Unity3D Asset": "#222c37", "Unity3D Asset": "#222c37",
"Uno": "#9933cc", "Uno": "#9933cc",
+75 -77
View File
@@ -39,61 +39,6 @@ class CustomError extends Error {
static WAKATIME_ERROR = "WAKATIME_ERROR"; static WAKATIME_ERROR = "WAKATIME_ERROR";
} }
// Script parameters.
const ERROR_CARD_LENGTH = 576.5;
/**
* Encode string as HTML.
*
* @see https://stackoverflow.com/a/48073476/10629172
*
* @param {string} str String to encode.
* @returns {string} Encoded string.
*/
const encodeHTML = (str) => {
return str
.replace(/[\u00A0-\u9999<>&](?!#)/gim, (i) => {
return "&#" + i.charCodeAt(0) + ";";
})
.replace(/\u0008/gim, "");
};
const UPSTREAM_API_ERRORS = [
TRY_AGAIN_LATER,
SECONDARY_ERROR_MESSAGES.MAX_RETRY,
];
/**
* Renders error message on the card.
*
* @param {string} message Main error message.
* @param {string} secondaryMessage The secondary error message.
* @returns {string} The SVG markup.
*/
const renderError = (message, secondaryMessage = "") => {
return `
<svg width="${ERROR_CARD_LENGTH}" height="120" viewBox="0 0 ${ERROR_CARD_LENGTH} 120" fill="none" xmlns="http://www.w3.org/2000/svg">
<style>
.text { font: 600 16px 'Segoe UI', Ubuntu, Sans-Serif; fill: #2F80ED }
.small { font: 600 12px 'Segoe UI', Ubuntu, Sans-Serif; fill: #252525 }
.gray { fill: #858585 }
</style>
<rect x="0.5" y="0.5" width="${
ERROR_CARD_LENGTH - 1
}" height="99%" rx="4.5" fill="#FFFEFE" stroke="#E4E2E2"/>
<text x="25" y="45" class="text">Something went wrong!${
UPSTREAM_API_ERRORS.includes(secondaryMessage)
? ""
: " file an issue at https://tiny.one/readme-stats"
}</text>
<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>
</text>
</svg>
`;
};
/** /**
* Auto layout utility, allows us to layout things vertically or horizontally with * Auto layout utility, allows us to layout things vertically or horizontally with
* proper gaping. * proper gaping.
@@ -380,6 +325,81 @@ const getCardColors = ({
return { titleColor, iconColor, textColor, bgColor, borderColor, ringColor }; return { titleColor, iconColor, textColor, bgColor, borderColor, ringColor };
}; };
// Script parameters.
const ERROR_CARD_LENGTH = 576.5;
/**
* Encode string as HTML.
*
* @see https://stackoverflow.com/a/48073476/10629172
*
* @param {string} str String to encode.
* @returns {string} Encoded string.
*/
const encodeHTML = (str) => {
return str
.replace(/[\u00A0-\u9999<>&](?!#)/gim, (i) => {
return "&#" + i.charCodeAt(0) + ";";
})
.replace(/\u0008/gim, "");
};
const UPSTREAM_API_ERRORS = [
TRY_AGAIN_LATER,
SECONDARY_ERROR_MESSAGES.MAX_RETRY,
];
/**
* Renders error message on the card.
*
* @param {string} message Main error message.
* @param {string} secondaryMessage The secondary error message.
* @param {object} options Function options.
* @returns {string} The SVG markup.
*/
const renderError = (message, secondaryMessage = "", options = {}) => {
const {
title_color,
text_color,
bg_color,
border_color,
theme = "default",
} = options;
// returns theme based colors with proper overrides and defaults
const { titleColor, textColor, bgColor, borderColor } = getCardColors({
title_color,
text_color,
icon_color: "",
bg_color,
border_color,
ring_color: "",
theme,
});
return `
<svg width="${ERROR_CARD_LENGTH}" height="120" viewBox="0 0 ${ERROR_CARD_LENGTH} 120" fill="${bgColor}" xmlns="http://www.w3.org/2000/svg">
<style>
.text { font: 600 16px 'Segoe UI', Ubuntu, Sans-Serif; fill: ${titleColor} }
.small { font: 600 12px 'Segoe UI', Ubuntu, Sans-Serif; fill: ${textColor} }
.gray { fill: #858585 }
</style>
<rect x="0.5" y="0.5" width="${
ERROR_CARD_LENGTH - 1
}" height="99%" rx="4.5" fill="${bgColor}" stroke="${borderColor}"/>
<text x="25" y="45" class="text">Something went wrong!${
UPSTREAM_API_ERRORS.includes(secondaryMessage)
? ""
: " file an issue at https://tiny.one/readme-stats"
}</text>
<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>
</text>
</svg>
`;
};
/** /**
* Split text over multiple lines based on the card width. * Split text over multiple lines based on the card width.
* *
@@ -569,27 +589,6 @@ const dateDiff = (d1, d2) => {
return Math.round(diff / (1000 * 60)); return Math.round(diff / (1000 * 60));
}; };
const getBase64URIFromImage = async (imageURL) => {
try {
const response = await axios.get(imageURL, {
responseType: "arraybuffer",
});
if (response.status === 200) {
const base64Image = Buffer.from(response.data, "binary").toString(
"base64",
);
const mimeType = response.headers["content-type"];
return `data:${mimeType};base64,${base64Image}`;
} else {
throw new Error("Failed to fetch the image.");
}
} catch (error) {
console.error("Error:", error);
return null;
}
};
export { export {
ERROR_CARD_LENGTH, ERROR_CARD_LENGTH,
renderError, renderError,
@@ -616,5 +615,4 @@ export {
chunkArray, chunkArray,
parseEmojis, parseEmojis,
dateDiff, dateDiff,
getBase64URIFromImage,
}; };
-1
View File
@@ -34,7 +34,6 @@ const fetcher = (variables, token) => {
name name
} }
forkCount forkCount
openGraphImageUrl
} }
query getRepo($login: String!, $repo: String!) { query getRepo($login: String!, $repo: String!) {
user(login: $login) { user(login: $login) {
+1 -1
View File
@@ -92,7 +92,7 @@ const fetchTopLanguages = async (
); );
} }
throw new CustomError( throw new CustomError(
"Something went while trying to retrieve the language data using the GraphQL API.", "Something went wrong while trying to retrieve the language data using the GraphQL API.",
CustomError.GRAPHQL_ERROR, CustomError.GRAPHQL_ERROR,
); );
} }
-1
View File
@@ -22,7 +22,6 @@ export type RepositoryData = {
}; };
forkCount: number; forkCount: number;
starCount: number; starCount: number;
stringifiedRepoImage: string;
}; };
export type StatsData = { export type StatsData = {
@@ -150,7 +150,6 @@ exports[`Test Render WakaTime Card should render correctly with compact layout 1
</svg> </svg>
</g> </g>
</svg> </svg>
" "
`; `;
@@ -303,7 +302,6 @@ exports[`Test Render WakaTime Card should render correctly with compact layout w
</svg> </svg>
</g> </g>
</svg> </svg>
" "
`; `;
+18 -1
View File
@@ -120,6 +120,21 @@ describe("Test /api/", () => {
); );
}); });
it("should render error card in same theme as requested card", async () => {
const { req, res } = faker({ theme: "merko" }, error);
await api(req, res);
expect(res.setHeader).toBeCalledWith("Content-Type", "image/svg+xml");
expect(res.send).toBeCalledWith(
renderError(
error.errors[0].message,
"Make sure the provided username is not an organization",
{ theme: "merko" },
),
);
});
it("should get the query options", async () => { it("should get the query options", async () => {
const { req, res } = faker( const { req, res } = faker(
{ {
@@ -291,7 +306,9 @@ describe("Test /api/", () => {
await api(req, res); await api(req, res);
expect(res.setHeader).toBeCalledWith("Content-Type", "image/svg+xml"); expect(res.setHeader).toBeCalledWith("Content-Type", "image/svg+xml");
expect(res.send).toBeCalledWith(renderError("Something went wrong")); expect(res.send).toBeCalledWith(
renderError("Something went wrong", "This username is blacklisted"),
);
}); });
it("should render error card when wrong locale is provided", async () => { it("should render error card when wrong locale is provided", async () => {
+51
View File
@@ -0,0 +1,51 @@
import { benchmarkSuite } from "jest-bench";
import gist from "../../api/gist.js";
import axios from "axios";
import MockAdapter from "axios-mock-adapter";
import { jest } from "@jest/globals";
const gist_data = {
data: {
viewer: {
gist: {
description:
"List of countries and territories in English and Spanish: name, continent, capital, dial code, country codes, TLD, and area in sq km. Lista de países y territorios en Inglés y Español: nombre, continente, capital, código de teléfono, códigos de país, dominio y área en km cuadrados. Updated 2023",
owner: {
login: "Yizack",
},
stargazerCount: 33,
forks: {
totalCount: 11,
},
files: [
{
name: "countries.json",
language: {
name: "JSON",
},
size: 85858,
},
],
},
},
},
};
const mock = new MockAdapter(axios);
mock.onPost("https://api.github.com/graphql").reply(200, gist_data);
benchmarkSuite("test /api/gist", {
["simple request"]: async () => {
const req = {
query: {
id: "bbfce31e0217a3689c8d961a356cb10d",
},
};
const res = {
setHeader: jest.fn(),
send: jest.fn(),
};
await gist(req, res);
},
});
+50
View File
@@ -0,0 +1,50 @@
import { benchmarkSuite } from "jest-bench";
import pin from "../../api/pin.js";
import axios from "axios";
import MockAdapter from "axios-mock-adapter";
import { jest } from "@jest/globals";
const data_repo = {
repository: {
username: "anuraghazra",
name: "convoychat",
stargazers: {
totalCount: 38000,
},
description: "Help us take over the world! React + TS + GraphQL Chat App",
primaryLanguage: {
color: "#2b7489",
id: "MDg6TGFuZ3VhZ2UyODc=",
name: "TypeScript",
},
forkCount: 100,
isTemplate: false,
},
};
const data_user = {
data: {
user: { repository: data_repo.repository },
organization: null,
},
};
const mock = new MockAdapter(axios);
mock.onPost("https://api.github.com/graphql").reply(200, data_user);
benchmarkSuite("test /api/pin", {
["simple request"]: async () => {
const req = {
query: {
username: "anuraghazra",
repo: "convoychat",
},
};
const res = {
setHeader: jest.fn(),
send: jest.fn(),
};
await pin(req, res);
},
});
+1 -1
View File
@@ -89,7 +89,7 @@ describe("Card", () => {
"200", "200",
); );
expect(document.getElementsByTagName("svg")[0]).toHaveAttribute( expect(document.getElementsByTagName("svg")[0]).toHaveAttribute(
"height", "width",
"200", "200",
); );
}); });
+11 -8
View File
@@ -14,19 +14,20 @@ import { expect, describe, beforeAll, test } from "@jest/globals";
const REPO = "curly-fiesta"; const REPO = "curly-fiesta";
const USER = "catelinemnemosyne"; const USER = "catelinemnemosyne";
const STATS_CARD_USER = "e2eninja";
const GIST_ID = "372cef55fd897b31909fdeb3a7262758"; const GIST_ID = "372cef55fd897b31909fdeb3a7262758";
const STATS_DATA = { const STATS_DATA = {
name: "Cateline Mnemosyne", name: "E2ENinja",
totalPRs: 2, totalPRs: 1,
totalReviews: 0, totalReviews: 0,
totalCommits: 8, totalCommits: 3,
totalIssues: 1, totalIssues: 1,
totalStars: 1, totalStars: 1,
contributedTo: 1, contributedTo: 0,
rank: { rank: {
level: "C", level: "C",
percentile: 98.06929469995667, percentile: 98.73972605284538,
}, },
}; };
@@ -116,15 +117,17 @@ describe("Fetch Cards", () => {
// Check if the Vercel preview instance stats card function is up and running. // Check if the Vercel preview instance stats card function is up and running.
await expect( await expect(
axios.get(`${VERCEL_PREVIEW_URL}/api?username=${USER}`), axios.get(`${VERCEL_PREVIEW_URL}/api?username=${STATS_CARD_USER}`),
).resolves.not.toThrow(); ).resolves.not.toThrow();
// Get local stats card. // Get local stats card.
const localStatsCardSVG = renderStatsCard(STATS_DATA); const localStatsCardSVG = renderStatsCard(STATS_DATA, {
include_all_commits: true,
});
// Get the Vercel preview stats card response. // Get the Vercel preview stats card response.
const serverStatsSvg = await axios.get( const serverStatsSvg = await axios.get(
`${VERCEL_PREVIEW_URL}/api?username=${USER}&${CACHE_BURST_STRING}`, `${VERCEL_PREVIEW_URL}/api?username=${STATS_CARD_USER}&include_all_commits=true&${CACHE_BURST_STRING}`,
); );
// Check if stats card from deployment matches the stats card from local. // Check if stats card from deployment matches the stats card from local.
+1 -1
View File
@@ -165,7 +165,7 @@ describe("FetchTopLanguages", () => {
}); });
await expect(fetchTopLanguages("anuraghazra")).rejects.toThrow( await expect(fetchTopLanguages("anuraghazra")).rejects.toThrow(
"Something went while trying to retrieve the language data using the GraphQL API.", "Something went wrong while trying to retrieve the language data using the GraphQL API.",
); );
}); });
}); });
+1 -1
View File
@@ -103,7 +103,7 @@ const wakaTimeData = {
}; };
describe("WakaTime fetcher", () => { describe("WakaTime fetcher", () => {
it("should fetch correct wakatime data", async () => { it("should fetch correct WakaTime data", async () => {
const username = "anuraghazra"; const username = "anuraghazra";
mock mock
.onGet( .onGet(
+3 -1
View File
@@ -155,7 +155,9 @@ describe("Test /api/pin", () => {
await pin(req, res); await pin(req, res);
expect(res.setHeader).toBeCalledWith("Content-Type", "image/svg+xml"); expect(res.setHeader).toBeCalledWith("Content-Type", "image/svg+xml");
expect(res.send).toBeCalledWith(renderError("Something went wrong")); expect(res.send).toBeCalledWith(
renderError("Something went wrong", "This username is blacklisted"),
);
}); });
it("should render error card if wrong locale provided", async () => { it("should render error card if wrong locale provided", async () => {
+25 -13
View File
@@ -18,7 +18,6 @@ const data_repo = {
}, },
starCount: 38000, starCount: 38000,
forkCount: 100, forkCount: 100,
stringifiedRepoImage: "data:image/png;base64,base64/image/string",
}, },
}; };
@@ -341,20 +340,33 @@ describe("Test renderRepoCard", () => {
); );
}); });
it("should render repo's social preview image, when show_image is true", () => { it("should have correct height with specified `description_lines_count` parameter", () => {
// Testing short description
document.body.innerHTML = renderRepoCard(data_repo.repository, { document.body.innerHTML = renderRepoCard(data_repo.repository, {
show_image: true, description_lines_count: 1,
}); });
expect(document.querySelector("svg")).toHaveAttribute("height", "120");
document.body.innerHTML = renderRepoCard(data_repo.repository, {
description_lines_count: 3,
});
expect(document.querySelector("svg")).toHaveAttribute("height", "150");
expect(queryByTestId(document.body, "card-image")).toBeInTheDocument(); // Testing long description
expect( const longDescription =
queryByTestId(document.body, "card-image").children[0], "A tool that will make a lot of iPhone/iPad developers' life easier. It shares your app over-the-air in a WiFi network. Bonjour is used and no configuration is needed.";
).toHaveAttribute("href", data_repo.repository.stringifiedRepoImage); document.body.innerHTML = renderRepoCard(
}); { ...data_repo.repository, description: longDescription },
{
it("should not render repo's social preview image by default", () => { description_lines_count: 3,
document.body.innerHTML = renderRepoCard(data_repo.repository); },
);
expect(queryByTestId(document.body, "card-image")).not.toBeInTheDocument(); expect(document.querySelector("svg")).toHaveAttribute("height", "150");
document.body.innerHTML = renderRepoCard(
{ ...data_repo.repository, description: longDescription },
{
description_lines_count: 1,
},
);
expect(document.querySelector("svg")).toHaveAttribute("height", "120");
}); });
}); });
+3 -1
View File
@@ -387,7 +387,9 @@ describe("Test renderStatsCard", () => {
document.querySelector( document.querySelector(
'g[transform="translate(0, 25)"]>.stagger>.stat.bold', 'g[transform="translate(0, 25)"]>.stagger>.stat.bold',
).textContent, ).textContent,
).toMatchInlineSnapshot(`"累计提交数(commit (2023):"`); ).toMatchInlineSnapshot(
`"累计提交数(commit (${new Date().getFullYear()}):"`,
);
expect( expect(
document.querySelector( document.querySelector(
'g[transform="translate(0, 50)"]>.stagger>.stat.bold', 'g[transform="translate(0, 50)"]>.stagger>.stat.bold',
+3 -1
View File
@@ -183,7 +183,9 @@ describe("Test /api/top-langs", () => {
await topLangs(req, res); await topLangs(req, res);
expect(res.setHeader).toBeCalledWith("Content-Type", "image/svg+xml"); expect(res.setHeader).toBeCalledWith("Content-Type", "image/svg+xml");
expect(res.send).toBeCalledWith(renderError("Something went wrong")); expect(res.send).toBeCalledWith(
renderError("Something went wrong", "This username is blacklisted"),
);
}); });
it("should render error card if wrong locale provided", async () => { it("should render error card if wrong locale provided", async () => {
+123
View File
@@ -0,0 +1,123 @@
import { jest } from "@jest/globals";
import "@testing-library/jest-dom";
import axios from "axios";
import MockAdapter from "axios-mock-adapter";
import wakatime from "../api/wakatime.js";
import { renderWakatimeCard } from "../src/cards/wakatime-card.js";
import { expect, it, describe, afterEach } from "@jest/globals";
const wakaTimeData = {
data: {
categories: [
{
digital: "22:40",
hours: 22,
minutes: 40,
name: "Coding",
percent: 100,
text: "22 hrs 40 mins",
total_seconds: 81643.570077,
},
],
daily_average: 16095,
daily_average_including_other_language: 16329,
days_including_holidays: 7,
days_minus_holidays: 5,
editors: [
{
digital: "22:40",
hours: 22,
minutes: 40,
name: "VS Code",
percent: 100,
text: "22 hrs 40 mins",
total_seconds: 81643.570077,
},
],
holidays: 2,
human_readable_daily_average: "4 hrs 28 mins",
human_readable_daily_average_including_other_language: "4 hrs 32 mins",
human_readable_total: "22 hrs 21 mins",
human_readable_total_including_other_language: "22 hrs 40 mins",
id: "random hash",
is_already_updating: false,
is_coding_activity_visible: true,
is_including_today: false,
is_other_usage_visible: true,
is_stuck: false,
is_up_to_date: true,
languages: [
{
digital: "0:19",
hours: 0,
minutes: 19,
name: "Other",
percent: 1.43,
text: "19 mins",
total_seconds: 1170.434361,
},
{
digital: "0:01",
hours: 0,
minutes: 1,
name: "TypeScript",
percent: 0.1,
text: "1 min",
total_seconds: 83.293809,
},
{
digital: "0:00",
hours: 0,
minutes: 0,
name: "YAML",
percent: 0.07,
text: "0 secs",
total_seconds: 54.975151,
},
],
operating_systems: [
{
digital: "22:40",
hours: 22,
minutes: 40,
name: "Mac",
percent: 100,
text: "22 hrs 40 mins",
total_seconds: 81643.570077,
},
],
percent_calculated: 100,
range: "last_7_days",
status: "ok",
timeout: 15,
total_seconds: 80473.135716,
total_seconds_including_other_language: 81643.570077,
user_id: "random hash",
username: "anuraghazra",
writes_only: false,
},
};
const mock = new MockAdapter(axios);
afterEach(() => {
mock.reset();
});
describe("Test /api/wakatime", () => {
it("should test the request", async () => {
const username = "anuraghazra";
const req = { query: { username } };
const res = { setHeader: jest.fn(), send: jest.fn() };
mock
.onGet(
`https://wakatime.com/api/v1/users/${username}/stats?is_including_today=true`,
)
.reply(200, wakaTimeData);
await wakatime(req, res);
expect(res.setHeader).toBeCalledWith("Content-Type", "image/svg+xml");
expect(res.send).toBeCalledWith(renderWakatimeCard(wakaTimeData.data, {}));
});
});
+6 -4
View File
@@ -12,7 +12,7 @@ Use `?theme=THEME_NAME` parameter like so:
## Stats ## Stats
> These themes works with all five our cards: Stats Card, Repo Card, Gist Card, Top languages Card and Wakatime Card. > These themes works with all five our cards: Stats Card, Repo Card, Gist Card, Top languages Card and WakaTime Card.
| | | | | | | |
| :--: | :--: | :--: | | :--: | :--: | :--: |
@@ -40,11 +40,11 @@ Use `?theme=THEME_NAME` parameter like so:
| `rose_pine` ![rose_pine][rose_pine] | `catppuccin_latte` ![catppuccin_latte][catppuccin_latte] | `catppuccin_mocha` ![catppuccin_mocha][catppuccin_mocha] | | `rose_pine` ![rose_pine][rose_pine] | `catppuccin_latte` ![catppuccin_latte][catppuccin_latte] | `catppuccin_mocha` ![catppuccin_mocha][catppuccin_mocha] |
| `date_night` ![date_night][date_night] | `one_dark_pro` ![one_dark_pro][one_dark_pro] | `rose` ![rose][rose] | | `date_night` ![date_night][date_night] | `one_dark_pro` ![one_dark_pro][one_dark_pro] | `rose` ![rose][rose] |
| `holi` ![holi][holi] | `neon` ![neon][neon] | `blue_navy` ![blue_navy][blue_navy] | | `holi` ![holi][holi] | `neon` ![neon][neon] | `blue_navy` ![blue_navy][blue_navy] |
| `calm_pink` ![calm_pink][calm_pink] | | [Add your theme][add-theme] | | `calm_pink` ![calm_pink][calm_pink] | `ambient_gradient` ![ambient_gradient][ambient_gradient] | [Add your theme][add-theme] |
## Repo Card ## Repo Card
> These themes works with all five our cards: Stats Card, Repo Card, Gist Card, Top languages Card and Wakatime Card. > These themes works with all five our cards: Stats Card, Repo Card, Gist Card, Top languages Card and WakaTime Card.
| | | | | | | |
| :--: | :--: | :--: | | :--: | :--: | :--: |
@@ -72,7 +72,7 @@ Use `?theme=THEME_NAME` parameter like so:
| `rose_pine` ![rose_pine][rose_pine_repo] | `catppuccin_latte` ![catppuccin_latte][catppuccin_latte_repo] | `catppuccin_mocha` ![catppuccin_mocha][catppuccin_mocha_repo] | | `rose_pine` ![rose_pine][rose_pine_repo] | `catppuccin_latte` ![catppuccin_latte][catppuccin_latte_repo] | `catppuccin_mocha` ![catppuccin_mocha][catppuccin_mocha_repo] |
| `date_night` ![date_night][date_night_repo] | `one_dark_pro` ![one_dark_pro][one_dark_pro_repo] | `rose` ![rose][rose_repo] | | `date_night` ![date_night][date_night_repo] | `one_dark_pro` ![one_dark_pro][one_dark_pro_repo] | `rose` ![rose][rose_repo] |
| `holi` ![holi][holi_repo] | `neon` ![neon][neon_repo] | `blue_navy` ![blue_navy][blue_navy_repo] | | `holi` ![holi][holi_repo] | `neon` ![neon][neon_repo] | `blue_navy` ![blue_navy][blue_navy_repo] |
| `calm_pink` ![calm_pink][calm_pink_repo] | | [Add your theme][add-theme] | | `calm_pink` ![calm_pink][calm_pink_repo] | `ambient_gradient` ![ambient_gradient][ambient_gradient_repo] | [Add your theme][add-theme] |
[default]: https://github-readme-stats.vercel.app/api?username=anuraghazra&show_icons=true&hide=contribs,prs&cache_seconds=86400&theme=default [default]: https://github-readme-stats.vercel.app/api?username=anuraghazra&show_icons=true&hide=contribs,prs&cache_seconds=86400&theme=default
@@ -149,6 +149,7 @@ Use `?theme=THEME_NAME` parameter like so:
[neon]: https://github-readme-stats.vercel.app/api?username=anuraghazra&show_icons=true&hide=contribs,prs&cache_seconds=86400&theme=neon [neon]: https://github-readme-stats.vercel.app/api?username=anuraghazra&show_icons=true&hide=contribs,prs&cache_seconds=86400&theme=neon
[blue_navy]: https://github-readme-stats.vercel.app/api?username=anuraghazra&show_icons=true&hide=contribs,prs&cache_seconds=86400&theme=blue_navy [blue_navy]: https://github-readme-stats.vercel.app/api?username=anuraghazra&show_icons=true&hide=contribs,prs&cache_seconds=86400&theme=blue_navy
[calm_pink]: https://github-readme-stats.vercel.app/api?username=anuraghazra&show_icons=true&hide=contribs,prs&cache_seconds=86400&theme=calm_pink [calm_pink]: https://github-readme-stats.vercel.app/api?username=anuraghazra&show_icons=true&hide=contribs,prs&cache_seconds=86400&theme=calm_pink
[ambient_gradient]: https://github-readme-stats.vercel.app/api?username=anuraghazra&show_icons=true&hide=contribs,prs&cache_seconds=86400&theme=ambient_gradient
[default_repo]: https://github-readme-stats.vercel.app/api/pin/?username=anuraghazra&repo=github-readme-stats&cache_seconds=86400&theme=default [default_repo]: https://github-readme-stats.vercel.app/api/pin/?username=anuraghazra&repo=github-readme-stats&cache_seconds=86400&theme=default
@@ -225,6 +226,7 @@ Use `?theme=THEME_NAME` parameter like so:
[neon_repo]: https://github-readme-stats.vercel.app/api/pin/?username=anuraghazra&repo=github-readme-stats&cache_seconds=86400&theme=neon [neon_repo]: https://github-readme-stats.vercel.app/api/pin/?username=anuraghazra&repo=github-readme-stats&cache_seconds=86400&theme=neon
[blue_navy_repo]: https://github-readme-stats.vercel.app/api/pin/?username=anuraghazra&repo=github-readme-stats&cache_seconds=86400&theme=blue_navy [blue_navy_repo]: https://github-readme-stats.vercel.app/api/pin/?username=anuraghazra&repo=github-readme-stats&cache_seconds=86400&theme=blue_navy
[calm_pink_repo]: https://github-readme-stats.vercel.app/api/pin/?username=anuraghazra&repo=github-readme-stats&cache_seconds=86400&theme=calm_pink [calm_pink_repo]: https://github-readme-stats.vercel.app/api/pin/?username=anuraghazra&repo=github-readme-stats&cache_seconds=86400&theme=calm_pink
[ambient_gradient_repo]: https://github-readme-stats.vercel.app/api/pin/?username=anuraghazra&repo=github-readme-stats&cache_seconds=86400&theme=ambient_gradient
[add-theme]: https://github.com/anuraghazra/github-readme-stats/edit/master/themes/index.js [add-theme]: https://github.com/anuraghazra/github-readme-stats/edit/master/themes/index.js
+6
View File
@@ -456,6 +456,12 @@ export const themes = {
border_color: "e1bc29", border_color: "e1bc29",
bg_color: "2b2d40", bg_color: "2b2d40",
}, },
ambient_gradient: {
title_color: "ffffff",
text_color: "ffffff",
icon_color: "ffffff",
bg_color: "35,4158d0,c850c0,ffcc70",
},
}; };
export default themes; export default themes;
+1 -1
View File
@@ -2,7 +2,7 @@
"functions": { "functions": {
"api/*.js": { "api/*.js": {
"memory": 128, "memory": 128,
"maxDuration": 10 "maxDuration": 30
} }
}, },
"redirects": [ "redirects": [