Skip to content

[pull] master from anuraghazra:master #8

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 167 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
167 commits
Select commit Hold shift + click to select a range
127a507
build(deps-dev): bump prettier from 3.3.1 to 3.3.2 (#3812)
dependabot[bot] Jun 18, 2024
6999c86
build(deps-dev): bump lint-staged from 15.2.5 to 15.2.7 (#3813)
dependabot[bot] Jun 18, 2024
66579b1
build(deps-dev): bump @testing-library/jest-dom from 6.4.5 to 6.4.6 (…
dependabot[bot] Jun 18, 2024
bf4fbc2
build(deps-dev): bump ws from 8.9.0 to 8.17.1 (#3816)
dependabot[bot] Jun 19, 2024
26571ca
ci(deps): bump actions/checkout from 4.1.6 to 4.1.7 (#3815)
dependabot[bot] Jun 19, 2024
62cdee3
build(deps-dev): bump @testing-library/dom from 10.1.0 to 10.2.0 (#3822)
dependabot[bot] Jun 25, 2024
b6f5077
ci(deps): bump peter-evans/create-pull-request from 6.0.5 to 6.1.0 (#…
dependabot[bot] Jun 25, 2024
0496044
refactor: update languages JSON (#3832)
github-actions[bot] Jul 4, 2024
6c6888e
tests(e2e): fix stats card data name (#3839)
qwerty541 Jul 6, 2024
20fb82f
ci(deps): bump actions/upload-artifact from 4.3.3 to 4.3.4 (#3841)
dependabot[bot] Jul 9, 2024
dc4717a
build(deps-dev): bump @testing-library/dom from 10.2.0 to 10.3.1 (#3840)
dependabot[bot] Jul 10, 2024
af839e9
ci(deps): bump actions/setup-node from 4.0.2 to 4.0.3 (#3846)
dependabot[bot] Jul 16, 2024
13b3660
build(deps-dev): bump @testing-library/dom from 10.3.1 to 10.3.2 (#3848)
dependabot[bot] Jul 17, 2024
d91f629
build(deps-dev): bump prettier from 3.3.2 to 3.3.3 (#3847)
dependabot[bot] Jul 18, 2024
975d38b
build(deps-dev): bump @testing-library/dom from 10.3.2 to 10.4.0 (#3863)
dependabot[bot] Jul 23, 2024
bf7a3b0
build(deps-dev): bump husky from 9.0.11 to 9.1.1 (#3864)
dependabot[bot] Jul 24, 2024
120f176
ci(deps): bump ossf/scorecard-action from 2.3.3 to 2.4.0 (#3879)
dependabot[bot] Jul 30, 2024
8aa4c07
build(deps-dev): bump @testing-library/jest-dom from 6.4.6 to 6.4.8 (…
dependabot[bot] Jul 31, 2024
5325e6a
build(deps-dev): bump husky from 9.1.1 to 9.1.4 (#3876)
dependabot[bot] Aug 1, 2024
16b4382
ci(deps): bump actions/upload-artifact from 4.3.4 to 4.3.5 (#3887)
dependabot[bot] Aug 6, 2024
d52deb0
build(deps-dev): bump lint-staged from 15.2.7 to 15.2.8 (#3884)
dependabot[bot] Aug 7, 2024
911958f
build(deps): bump axios from 1.7.2 to 1.7.3 (#3885)
dependabot[bot] Aug 8, 2024
d0cc449
build(deps-dev): bump axios-mock-adapter from 1.22.0 to 2.0.0 (#3886)
dependabot[bot] Aug 9, 2024
e559268
build(deps-dev): bump eslint from 8.57.0 to 9.8.0 (#3878)
dependabot[bot] Aug 12, 2024
d0c2904
ci(deps): bump actions/upload-artifact from 4.3.5 to 4.3.6 (#3892)
dependabot[bot] Aug 13, 2024
9ce5523
build(deps-dev): bump eslint from 9.8.0 to 9.9.0 (#3891)
dependabot[bot] Aug 14, 2024
5e94451
build(deps): bump axios from 1.7.3 to 1.7.4 (#3896)
dependabot[bot] Aug 15, 2024
08c94ac
build(deps-dev): bump eslint-plugin-jsdoc from 50.0.1 to 50.2.2 (#3902)
dependabot[bot] Aug 20, 2024
30db779
build(deps-dev): bump lint-staged from 15.2.8 to 15.2.9 (#3901)
dependabot[bot] Aug 21, 2024
11219b1
build(deps): bump axios from 1.7.4 to 1.7.5 (#3904)
dependabot[bot] Aug 27, 2024
ce831da
build(deps-dev): bump husky from 9.1.4 to 9.1.5 (#3905)
dependabot[bot] Aug 28, 2024
9a5b007
build(deps-dev): bump eslint from 9.9.0 to 9.9.1 (#3908)
dependabot[bot] Aug 29, 2024
8ecc085
build(deps-dev): bump @testing-library/jest-dom from 6.4.8 to 6.5.0 (…
dependabot[bot] Aug 30, 2024
a8e4458
build(deps-dev): bump @eslint/js from 9.9.0 to 9.9.1 (#3906)
dependabot[bot] Aug 31, 2024
856ea61
refactor: update languages JSON (#3910)
github-actions[bot] Sep 2, 2024
3645362
ci(deps): bump actions/upload-artifact from 4.3.6 to 4.4.0 (#3912)
dependabot[bot] Sep 3, 2024
87dd0fa
build(deps): bump axios from 1.7.5 to 1.7.7 (#3913)
dependabot[bot] Sep 4, 2024
7a1edb2
build(deps-dev): bump lint-staged from 15.2.9 to 15.2.10 (#3914)
dependabot[bot] Sep 5, 2024
4720be4
ci(deps): bump peter-evans/create-pull-request from 6.1.0 to 7.0.1 (#…
dependabot[bot] Sep 10, 2024
e7d0860
build(deps-dev): bump @eslint/js from 9.9.1 to 9.10.0 (#3920)
dependabot[bot] Sep 11, 2024
e331475
build(deps-dev): bump eslint from 9.9.1 to 9.10.0 (#3919)
dependabot[bot] Sep 12, 2024
d87baf5
ci(deps): bump peter-evans/create-pull-request from 7.0.1 to 7.0.3 (#…
dependabot[bot] Sep 17, 2024
43009e2
build(deps-dev): bump husky from 9.1.5 to 9.1.6 (#3932)
dependabot[bot] Sep 18, 2024
ea93552
build(deps-dev): bump eslint-plugin-jsdoc from 50.2.2 to 50.2.3 (#3933)
dependabot[bot] Sep 19, 2024
f86a548
ci(deps): bump actions/setup-node from 4.0.3 to 4.0.4 (#3947)
dependabot[bot] Sep 24, 2024
27ba0bd
ci(deps): bump peter-evans/create-pull-request from 7.0.3 to 7.0.5 (#…
dependabot[bot] Sep 25, 2024
c0a9cc6
build(deps-dev): bump @eslint/js from 9.10.0 to 9.11.0 (#3943)
dependabot[bot] Sep 26, 2024
2dd1ea1
build(deps-dev): bump eslint from 9.10.0 to 9.11.1 (#3951)
dependabot[bot] Sep 27, 2024
57ccffc
build(deps-dev): bump eslint-plugin-jsdoc from 50.2.3 to 50.3.0 (#3953)
dependabot[bot] Sep 28, 2024
92237ca
ci(deps): bump actions/checkout from 4.1.7 to 4.2.0 (#3959)
dependabot[bot] Oct 1, 2024
c2c8254
ci(deps): bump actions/upload-artifact from 4.4.0 to 4.4.1 (#3975)
dependabot[bot] Oct 8, 2024
af2a595
ci(deps): bump bahmutov/npm-install from 1.10.2 to 1.10.3 (#3976)
dependabot[bot] Oct 8, 2024
3b0699a
ci(deps): bump actions/checkout from 4.2.0 to 4.2.1 (#3977)
dependabot[bot] Oct 8, 2024
a148495
build(deps-dev): bump @eslint/js from 9.11.1 to 9.12.0 (#3980)
dependabot[bot] Oct 9, 2024
b59745c
build(deps-dev): bump globals from 15.9.0 to 15.10.0 (#3981)
dependabot[bot] Oct 9, 2024
212eb2c
build(deps-dev): bump eslint from 9.11.1 to 9.12.0 (#3978)
dependabot[bot] Oct 10, 2024
4a795c6
build(deps-dev): bump @actions/core from 1.10.1 to 1.11.1 (#3979)
dependabot[bot] Oct 10, 2024
37bf205
build(deps-dev): bump eslint-plugin-jsdoc from 50.3.0 to 50.3.1 (#3982)
dependabot[bot] Oct 10, 2024
cdc6ad1
feat: cost optimize, increase cache
anuraghazra Oct 11, 2024
53e4041
chore: update
anuraghazra Oct 11, 2024
bebcb26
chore: format
anuraghazra Oct 11, 2024
706d311
ci(deps): bump actions/upload-artifact from 4.4.1 to 4.4.3 (#3988)
dependabot[bot] Oct 15, 2024
3bd266c
build(deps-dev): bump axios-mock-adapter from 2.0.0 to 2.1.0 (#3989)
dependabot[bot] Oct 16, 2024
4e8345a
build(deps-dev): bump globals from 15.10.0 to 15.11.0 (#3990)
dependabot[bot] Oct 17, 2024
78cef88
build(deps-dev): bump eslint-plugin-jsdoc from 50.3.1 to 50.4.3 (#3993)
dependabot[bot] Oct 18, 2024
9a0d9ae
build(deps-dev): bump @eslint/js from 9.12.0 to 9.13.0 (#4002)
dependabot[bot] Oct 22, 2024
7e60f6c
build(deps-dev): bump @testing-library/jest-dom from 6.5.0 to 6.6.2 (…
dependabot[bot] Oct 23, 2024
c85d592
build(deps-dev): bump eslint from 9.12.0 to 9.13.0 (#4003)
dependabot[bot] Oct 24, 2024
745433a
ci(deps): bump actions/setup-node from 4.0.4 to 4.1.0 (#4011)
dependabot[bot] Oct 29, 2024
f86a12b
ci(deps): bump actions/checkout from 4.2.1 to 4.2.2 (#4012)
dependabot[bot] Oct 30, 2024
0cbe58a
build(deps-dev): bump @eslint/js from 9.13.0 to 9.14.0 (#4019)
dependabot[bot] Nov 7, 2024
5c4faa2
build(deps-dev): bump globals from 15.11.0 to 15.12.0 (#4018)
dependabot[bot] Nov 8, 2024
abea3ee
build(deps-dev): bump eslint from 9.13.0 to 9.14.0 (#4020)
dependabot[bot] Nov 9, 2024
221831b
build(deps-dev): bump @testing-library/jest-dom from 6.6.2 to 6.6.3 (…
dependabot[bot] Nov 10, 2024
764b4c9
ci(deps): bump bahmutov/npm-install from 1.10.3 to 1.10.4 (#4022)
dependabot[bot] Nov 10, 2024
5c9d4fd
build(deps-dev): bump @eslint/js from 9.14.0 to 9.15.0 (#4037)
dependabot[bot] Nov 19, 2024
d388658
build(deps-dev): bump @eslint/eslintrc from 3.1.0 to 3.2.0 (#4035)
dependabot[bot] Nov 20, 2024
a091154
build(deps-dev): bump husky from 9.1.6 to 9.1.7 (#4036)
dependabot[bot] Nov 21, 2024
cdbf212
build(deps-dev): bump eslint from 9.14.0 to 9.15.0 (#4034)
dependabot[bot] Nov 21, 2024
4bc92a5
build(deps-dev): bump eslint-plugin-jsdoc from 50.4.3 to 50.5.0 (#4038)
dependabot[bot] Nov 21, 2024
bb68a86
refactor: update languages JSON (#4047)
github-actions[bot] Dec 2, 2024
9bfae58
build(deps): bump axios from 1.7.7 to 1.7.8 (#4050)
dependabot[bot] Dec 3, 2024
6da4265
build(deps-dev): bump prettier from 3.3.3 to 3.4.1 (#4053)
dependabot[bot] Dec 4, 2024
5ba83c5
build(deps-dev): bump @eslint/js from 9.15.0 to 9.16.0 (#4049)
dependabot[bot] Dec 5, 2024
396105e
build(deps-dev): bump globals from 15.12.0 to 15.13.0 (#4052)
dependabot[bot] Dec 6, 2024
2bdb535
build(deps-dev): bump eslint from 9.15.0 to 9.16.0 (#4054)
dependabot[bot] Dec 7, 2024
3b2c888
build(deps-dev): bump eslint-plugin-jsdoc from 50.5.0 to 50.6.0 (#4051)
dependabot[bot] Dec 8, 2024
5fdf20e
build(deps): bump axios from 1.7.8 to 1.7.9 (#4058)
dependabot[bot] Dec 11, 2024
90e415b
build(deps-dev): bump prettier from 3.4.1 to 3.4.2 (#4059)
dependabot[bot] Dec 12, 2024
03c1974
build(deps): bump dotenv from 16.4.5 to 16.4.7 (#4060)
dependabot[bot] Dec 13, 2024
0810a1d
ci(deps): bump bahmutov/npm-install from 1.10.4 to 1.10.5 (#4061)
dependabot[bot] Dec 15, 2024
244ac4d
build(deps-dev): bump lint-staged from 15.2.10 to 15.2.11 (#4077)
dependabot[bot] Dec 17, 2024
7c9bfea
build(deps-dev): bump @eslint/js from 9.16.0 to 9.17.0 (#4078)
dependabot[bot] Dec 18, 2024
024db90
build(deps-dev): bump eslint from 9.16.0 to 9.17.0 (#4079)
dependabot[bot] Dec 19, 2024
d234202
build(deps-dev): bump eslint-plugin-jsdoc from 50.6.0 to 50.6.1 (#4076)
dependabot[bot] Dec 20, 2024
194db99
build(deps-dev): bump globals from 15.13.0 to 15.14.0 (#4086)
dependabot[bot] Dec 24, 2024
318a3c8
build(deps-dev): bump lint-staged from 15.2.11 to 15.3.0 (#4090)
dependabot[bot] Jan 1, 2025
b2fbca8
ci(deps): bump peter-evans/create-pull-request from 7.0.5 to 7.0.6 (#…
dependabot[bot] Jan 15, 2025
2861fb4
ci(deps): bump actions/upload-artifact from 4.4.3 to 4.6.0 (#4100)
dependabot[bot] Jan 17, 2025
74142f0
ci(deps): bump stefanzweifel/git-auto-commit-action from 5.0.1 to 5.1…
dependabot[bot] Jan 18, 2025
5b6b399
build(deps-dev): bump @eslint/js from 9.17.0 to 9.18.0 (#4102)
dependabot[bot] Jan 19, 2025
590dab6
build(deps-dev): bump eslint from 9.17.0 to 9.18.0 (#4103)
dependabot[bot] Jan 19, 2025
b88bf68
build(deps-dev): bump eslint-config-prettier from 9.1.0 to 10.0.1 (#4…
dependabot[bot] Jan 19, 2025
01d4705
build(deps-dev): bump lint-staged from 15.3.0 to 15.4.1 (#4109)
dependabot[bot] Jan 21, 2025
7905f8e
build(deps-dev): bump eslint-plugin-jsdoc from 50.6.1 to 50.6.2 (#4108)
dependabot[bot] Jan 22, 2025
290d094
build(deps): bump undici from 5.28.4 to 5.28.5 (#4110)
dependabot[bot] Jan 23, 2025
e86b74d
ci(deps): bump actions/setup-node from 4.1.0 to 4.2.0 (#4120)
dependabot[bot] Jan 28, 2025
e4f8c52
refactor: update languages JSON (#4126)
github-actions[bot] Jan 31, 2025
3344bfd
chore: enable fluid
anuraghazra Feb 4, 2025
a3cfe1b
chore: change maxDuration
anuraghazra Feb 4, 2025
7d311d5
chore: update blacklist
anuraghazra Feb 4, 2025
490b022
build(deps-dev): bump lint-staged from 15.4.1 to 15.4.3 (#4131)
dependabot[bot] Feb 4, 2025
bc60186
build(deps-dev): bump @eslint/js from 9.18.0 to 9.19.0 (#4129)
dependabot[bot] Feb 5, 2025
cea9e64
build(deps-dev): bump eslint from 9.18.0 to 9.19.0 (#4130)
dependabot[bot] Feb 6, 2025
ef3139f
build(deps-dev): bump eslint-plugin-jsdoc from 50.6.2 to 50.6.3 (#4128)
dependabot[bot] Feb 7, 2025
eeefd7e
build(deps-dev): bump prettier from 3.4.2 to 3.5.0 (#4138)
dependabot[bot] Feb 11, 2025
e54b15e
build(deps-dev): bump @eslint/js from 9.19.0 to 9.20.0 (#4136)
dependabot[bot] Feb 12, 2025
4d2e77b
build(deps-dev): bump eslint from 9.19.0 to 9.20.1 (#4141)
dependabot[bot] Feb 13, 2025
d07b088
ci(deps): bump bahmutov/npm-install from 1.10.5 to 1.10.6 (#4145)
dependabot[bot] Feb 17, 2025
13754b3
ci(deps): bump actions/upload-artifact from 4.6.0 to 4.6.1 (#4155)
dependabot[bot] Feb 25, 2025
81b651d
ci(deps): bump ossf/scorecard-action from 2.4.0 to 2.4.1 (#4156)
dependabot[bot] Feb 25, 2025
ad8ba37
ci(deps): bump peter-evans/create-pull-request from 7.0.6 to 7.0.7 (#…
dependabot[bot] Feb 25, 2025
935e5b3
build(deps-dev): bump prettier from 3.5.0 to 3.5.2 (#4149)
dependabot[bot] Feb 26, 2025
63abbdc
build(deps-dev): bump @eslint/eslintrc from 3.2.0 to 3.3.0 (#4150)
dependabot[bot] Feb 26, 2025
232270d
build(deps-dev): bump @eslint/js from 9.20.0 to 9.21.0 (#4154)
dependabot[bot] Feb 26, 2025
c8af8c5
build(deps-dev): bump globals from 15.14.0 to 16.0.0 (#4153)
dependabot[bot] Feb 27, 2025
2817001
build(deps-dev): bump eslint from 9.20.1 to 9.21.0 (#4151)
dependabot[bot] Feb 27, 2025
06b61f1
feat: disable fluid compute (#4168)
anuraghazra Mar 5, 2025
6e14c49
refactor: update languages JSON (#4162)
github-actions[bot] Mar 5, 2025
25796c3
ci(deps): bump bahmutov/npm-install from 1.10.6 to 1.10.7 (#4167)
dependabot[bot] Mar 6, 2025
8e30f23
build(deps-dev): bump prettier from 3.5.2 to 3.5.3 (#4164)
dependabot[bot] Mar 7, 2025
81689b9
build(deps): bump axios from 1.7.9 to 1.8.1 (#4166)
dependabot[bot] Mar 8, 2025
a7d1bef
build(deps-dev): bump eslint-config-prettier from 10.0.1 to 10.0.2 (#…
dependabot[bot] Mar 9, 2025
e5890f6
build(deps): bump axios from 1.8.1 to 1.8.2 (#4172)
dependabot[bot] Mar 10, 2025
6632658
ci(deps): bump peter-evans/create-pull-request from 7.0.7 to 7.0.8 (#…
dependabot[bot] Mar 11, 2025
46e3aa1
build(deps-dev): bump @eslint/js from 9.21.0 to 9.22.0 (#4178)
dependabot[bot] Mar 12, 2025
3ec430b
build(deps-dev): bump eslint from 9.21.0 to 9.22.0 (#4176)
dependabot[bot] Mar 13, 2025
ae57475
build(deps-dev): bump eslint-config-prettier from 10.0.2 to 10.1.1 (#…
dependabot[bot] Mar 14, 2025
e263e4e
ci(deps): bump actions/setup-node from 4.2.0 to 4.3.0 (#4186)
dependabot[bot] Mar 18, 2025
a6501d5
build(deps): bump axios from 1.8.2 to 1.8.3 (#4184)
dependabot[bot] Mar 19, 2025
3ab6a2b
build(deps-dev): bump lint-staged from 15.4.3 to 15.5.0 (#4185)
dependabot[bot] Mar 20, 2025
5c8d636
build(deps-dev): bump eslint-plugin-jsdoc from 50.6.3 to 50.6.8 (#4183)
dependabot[bot] Mar 21, 2025
e3ddfe0
ci(deps): bump bahmutov/npm-install from 1.10.7 to 1.10.8 (#4198)
dependabot[bot] Mar 24, 2025
9c3bd5a
ci(deps): bump actions/upload-artifact from 4.6.1 to 4.6.2 (#4197)
dependabot[bot] Mar 25, 2025
3417e41
build(deps): bump axios from 1.8.3 to 1.8.4 (#4196)
dependabot[bot] Mar 26, 2025
806bce1
build(deps-dev): bump @eslint/js from 9.22.0 to 9.23.0 (#4194)
dependabot[bot] Mar 27, 2025
5208b3d
build(deps-dev): bump @eslint/eslintrc from 3.3.0 to 3.3.1 (#4195)
dependabot[bot] Mar 27, 2025
2e713d4
build(deps-dev): bump eslint from 9.22.0 to 9.23.0 (#4193)
dependabot[bot] Mar 27, 2025
c932465
build(deps-dev): bump eslint-plugin-jsdoc from 50.6.8 to 50.6.9 (#4192)
dependabot[bot] Mar 27, 2025
b0d7c93
refactor: update languages JSON (#4200)
github-actions[bot] Mar 31, 2025
58863de
build(deps-dev): bump @eslint/js from 9.23.0 to 9.24.0 (#4207)
dependabot[bot] Apr 8, 2025
0d80aa5
build(deps-dev): bump eslint from 9.23.0 to 9.24.0 (#4208)
dependabot[bot] Apr 9, 2025
2997762
ci(deps): bump actions/setup-node from 4.3.0 to 4.4.0 (#4217)
dependabot[bot] Apr 17, 2025
db7a907
build(deps): bump dotenv from 16.4.7 to 16.5.0 (#4218)
dependabot[bot] Apr 18, 2025
e1dabe4
build(deps-dev): bump eslint-config-prettier from 10.1.1 to 10.1.2 (#…
dependabot[bot] Apr 19, 2025
25a9dab
build(deps-dev): bump lint-staged from 15.5.0 to 15.5.1 (#4220)
dependabot[bot] Apr 20, 2025
578c4fb
build(deps-dev): bump @eslint/js from 9.24.0 to 9.25.1 (#4228)
dependabot[bot] Apr 24, 2025
228da69
build(deps-dev): bump eslint from 9.24.0 to 9.25.1 (#4229)
dependabot[bot] Apr 25, 2025
54348a3
ci(deps): bump bahmutov/npm-install from 1.10.8 to 1.10.9 (#4231)
dependabot[bot] Apr 26, 2025
78c40da
ci(deps): bump stefanzweifel/git-auto-commit-action from 5.1.0 to 5.2…
dependabot[bot] Apr 27, 2025
5da00d1
build(deps-dev): bump eslint-plugin-jsdoc from 50.6.9 to 50.6.11 (#4235)
dependabot[bot] Apr 30, 2025
7d4844f
build(deps): bump axios from 1.8.4 to 1.9.0 (#4236)
dependabot[bot] May 1, 2025
ff5a2a1
refactor: update languages JSON (#4238)
github-actions[bot] May 2, 2025
8f7b937
build(deps-dev): bump @eslint/js from 9.25.1 to 9.26.0 (#4244)
dependabot[bot] May 9, 2025
aebe00a
build(deps-dev): bump eslint from 9.25.1 to 9.26.0 (#4245)
dependabot[bot] May 10, 2025
a2b372f
build(deps-dev): bump globals from 16.0.0 to 16.1.0 (#4254)
dependabot[bot] May 13, 2025
ea05612
build(deps-dev): bump @actions/github from 6.0.0 to 6.0.1 (#4256)
dependabot[bot] May 14, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
466 changes: 233 additions & 233 deletions .eslintrc.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-prep.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
str = file.read()
file = open('./vercel.json', 'w')

str = str.replace('"maxDuration": 10', '"maxDuration": 30')
str = str.replace('"maxDuration": 10', '"maxDuration": 15')

file.write(str)
file.close()
4 changes: 2 additions & 2 deletions .github/workflows/deploy-prep.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ jobs:
if: github.repository == 'anuraghazra/github-readme-stats'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Deployment Prep
run: python ./.github/workflows/deploy-prep.py
- uses: stefanzweifel/git-auto-commit-action@8621497c8c39c72f3e2a999a26b4ca1b5058a842 # v5.0.1
- uses: stefanzweifel/git-auto-commit-action@b863ae1933cb653a53c021fe36dbb774e1fb9403 # v5.2.0
with:
branch: vercel
create_branch: true
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/e2e-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ jobs:
node-version: [18.x]

steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

- name: Setup Node
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: ${{ matrix.node-version }}
cache: npm
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/empty-issues-closer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
runs-on: ubuntu-latest
steps:
# NOTE: Retrieve issue templates.
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

- name: Run empty issues closer action
uses: rickstaa/empty-issues-closer-action@e96914613221511279ca25f50fd4acc85e331d99 # v1.1.74
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/generate-theme-doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ jobs:
node-version: [18.x]

steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

- name: Setup Node
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: ${{ matrix.node-version }}
cache: npm
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ossf-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ jobs:

steps:
- name: "Checkout code"
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false

- name: "Run analysis"
uses: ossf/scorecard-action@dc50aa9510b46c811795eb24b2f1ba02a914e534 # v2.3.3
uses: ossf/scorecard-action@f49aabe0b5af0936a0987cfb85d86b75731b0186 # v2.4.1
with:
results_file: results.sarif
results_format: sarif
Expand All @@ -36,7 +36,7 @@ jobs:
# Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF
# format to the repository Actions tab.
- name: "Upload artifact"
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
name: SARIF file
path: results.sarif
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/preview-theme.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@ jobs:
node-version: [18.x]

steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

- name: Setup Node
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: ${{ matrix.node-version }}
cache: npm

- uses: bahmutov/npm-install@e5c7e14408aa6089501de32bd16123b41738047e # v1.10.2
- uses: bahmutov/npm-install@6bbff949458c1dd99b20e185cee8c4d6fcf1212a # v1.10.9
with:
useLockFile: false

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/prs-cache-clean.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

- name: Cleanup
run: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/stale-theme-pr-closer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,15 @@ jobs:
node-version: [18.x]

steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

- name: Setup Node
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: ${{ matrix.node-version }}
cache: npm

- uses: bahmutov/npm-install@e5c7e14408aa6089501de32bd16123b41738047e # v1.10.2
- uses: bahmutov/npm-install@6bbff949458c1dd99b20e185cee8c4d6fcf1212a # v1.10.9
with:
useLockFile: false

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ jobs:
node-version: [18.x]

steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

- name: Setup Node
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: ${{ matrix.node-version }}
cache: npm
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/update-langs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ jobs:
node-version: [18.x]

steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

- name: Setup Node
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: ${{ matrix.node-version }}
cache: npm
Expand All @@ -53,7 +53,7 @@ jobs:
run: npm run generate-langs-json

- name: Create Pull Request if upstream language file is changed
uses: peter-evans/create-pull-request@6d6857d36972b65feb161a90e484f2984215f83e # v6.0.5
uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7.0.8
with:
commit-message: "refactor: update languages JSON"
branch: "update_langs/patch"
Expand Down
23 changes: 4 additions & 19 deletions api/gist.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,32 +42,17 @@ export default async (req, res) => {
const gistData = await fetchGist(id);

let cacheSeconds = clampValue(
parseInt(cache_seconds || CONSTANTS.SIX_HOURS, 10),
CONSTANTS.SIX_HOURS,
CONSTANTS.ONE_DAY,
parseInt(cache_seconds || CONSTANTS.TWO_DAY, 10),
CONSTANTS.TWO_DAY,
CONSTANTS.SIX_DAY,
);
cacheSeconds = process.env.CACHE_SECONDS
? parseInt(process.env.CACHE_SECONDS, 10) || cacheSeconds
: cacheSeconds;

/*
if star count & fork count is over 1k then we are kFormating the text
and if both are zero we are not showing the stats
so we can just make the cache longer, since there is no need to frequent updates
*/
const stars = gistData.starsCount;
const forks = gistData.forksCount;
const isBothOver1K = stars > 1000 && forks > 1000;
const isBothUnder1 = stars < 1 && forks < 1;
if (!cache_seconds && (isBothOver1K || isBothUnder1)) {
cacheSeconds = CONSTANTS.SIX_HOURS;
}

res.setHeader(
"Cache-Control",
`max-age=${
cacheSeconds / 2
}, s-maxage=${cacheSeconds}, stale-while-revalidate=${CONSTANTS.ONE_DAY}`,
`max-age=${cacheSeconds}, s-maxage=${cacheSeconds}`,
);

return res.send(
Expand Down
8 changes: 3 additions & 5 deletions api/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,18 +79,16 @@ export default async (req, res) => {

let cacheSeconds = clampValue(
parseInt(cache_seconds || CONSTANTS.CARD_CACHE_SECONDS, 10),
CONSTANTS.SIX_HOURS,
CONSTANTS.ONE_DAY,
CONSTANTS.TWELVE_HOURS,
CONSTANTS.TWO_DAY,
);
cacheSeconds = process.env.CACHE_SECONDS
? parseInt(process.env.CACHE_SECONDS, 10) || cacheSeconds
: cacheSeconds;

res.setHeader(
"Cache-Control",
`max-age=${
cacheSeconds / 2
}, s-maxage=${cacheSeconds}, stale-while-revalidate=${CONSTANTS.ONE_DAY}`,
`max-age=${cacheSeconds}, s-maxage=${cacheSeconds}, stale-while-revalidate=${CONSTANTS.ONE_DAY}`,
);

return res.send(
Expand Down
21 changes: 3 additions & 18 deletions api/pin.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,32 +57,17 @@ export default async (req, res) => {
const repoData = await fetchRepo(username, repo);

let cacheSeconds = clampValue(
parseInt(cache_seconds || CONSTANTS.CARD_CACHE_SECONDS, 10),
CONSTANTS.SIX_HOURS,
parseInt(cache_seconds || CONSTANTS.PIN_CARD_CACHE_SECONDS, 10),
CONSTANTS.ONE_DAY,
CONSTANTS.TEN_DAY,
);
cacheSeconds = process.env.CACHE_SECONDS
? parseInt(process.env.CACHE_SECONDS, 10) || cacheSeconds
: cacheSeconds;

/*
if star count & fork count is over 1k then we are kFormating the text
and if both are zero we are not showing the stats
so we can just make the cache longer, since there is no need to frequent updates
*/
const stars = repoData.starCount;
const forks = repoData.forkCount;
const isBothOver1K = stars > 1000 && forks > 1000;
const isBothUnder1 = stars < 1 && forks < 1;
if (!cache_seconds && (isBothOver1K || isBothUnder1)) {
cacheSeconds = CONSTANTS.SIX_HOURS;
}

res.setHeader(
"Cache-Control",
`max-age=${
cacheSeconds / 2
}, s-maxage=${cacheSeconds}, stale-while-revalidate=${CONSTANTS.ONE_DAY}`,
`max-age=${cacheSeconds}, s-maxage=${cacheSeconds}`,
);

return res.send(
Expand Down
3 changes: 3 additions & 0 deletions api/status/up.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,9 @@ export default async (req, res) => {
try {
await retryer(uptimeFetcher, {});
} catch (err) {
// Resolve eslint no-unused-vars
err;

PATsValid = false;
}

Expand Down
12 changes: 4 additions & 8 deletions api/top-langs.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { renderTopLanguages } from "../src/cards/top-languages-card.js";
import { blacklist } from "../src/common/blacklist.js";
import {
clampValue,
CONSTANTS,
parseArray,
parseBoolean,
Expand Down Expand Up @@ -70,20 +69,17 @@ export default async (req, res) => {
count_weight,
);

let cacheSeconds = clampValue(
parseInt(cache_seconds || CONSTANTS.CARD_CACHE_SECONDS, 10),
CONSTANTS.SIX_HOURS,
CONSTANTS.ONE_DAY,
let cacheSeconds = parseInt(
cache_seconds || CONSTANTS.TOP_LANGS_CACHE_SECONDS,
10,
);
cacheSeconds = process.env.CACHE_SECONDS
? parseInt(process.env.CACHE_SECONDS, 10) || cacheSeconds
: cacheSeconds;

res.setHeader(
"Cache-Control",
`max-age=${
cacheSeconds / 2
}, s-maxage=${cacheSeconds}, stale-while-revalidate=${CONSTANTS.ONE_DAY}`,
`max-age=${cacheSeconds / 2}, s-maxage=${cacheSeconds}`,
);

return res.send(
Expand Down
2 changes: 1 addition & 1 deletion api/wakatime.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export default async (req, res) => {
let cacheSeconds = clampValue(
parseInt(cache_seconds || CONSTANTS.CARD_CACHE_SECONDS, 10),
CONSTANTS.SIX_HOURS,
CONSTANTS.ONE_DAY,
CONSTANTS.TWO_DAY,
);
cacheSeconds = process.env.CACHE_SECONDS
? parseInt(process.env.CACHE_SECONDS, 10) || cacheSeconds
Expand Down
Loading