Skip to content

Commit

Permalink
chore: update canvas (sallar#157)
Browse files Browse the repository at this point in the history
  • Loading branch information
sallar authored Oct 25, 2024
1 parent 11aa7f9 commit 45bf352
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"dependencies": {
"@vercel/analytics": "^0.1.6",
"cheerio": "^1.0.0-rc.3",
"github-contributions-canvas": "^0.7.0",
"github-contributions-canvas": "^0.8.0",
"lodash": "^4.17.19",
"next": "^13.1.1",
"normalize.css": "^8.0.1",
Expand Down
2 changes: 1 addition & 1 deletion src/utils/api/fetch.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ async function fetchYears(username) {
});
const body = await data.text();
const $ = cheerio.load(body);
return $(".js-year-link")
return $(".js-year-link.filter-item")
.get()
.map((a) => {
const $a = $(a);
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -184,10 +184,10 @@ entities@~2.1.0:
resolved "https://registry.npmjs.org/entities/-/entities-2.1.0.tgz"
integrity sha512-hCx1oky9PFrJ611mf0ifBLBRW8lUUVRlFolb5gWRfIELabBlbp9xZvrqZLZAs+NxFnbfQoeGd8wDkygjg7U85w==

github-contributions-canvas@^0.7.0:
version "0.7.0"
resolved "https://registry.yarnpkg.com/github-contributions-canvas/-/github-contributions-canvas-0.7.0.tgz#03d5eeb8b8942beaebaad63ac59fdee1266932a7"
integrity sha512-4dUBdWEq+yriCDp5XTKe2ETvTiaZbOSLYpG9r3SoKnnvLU2LrXb14Xgyg07UvrCspCGKRcp+pGwxG9zpqhGg1w==
github-contributions-canvas@^0.8.0:
version "0.8.0"
resolved "https://registry.yarnpkg.com/github-contributions-canvas/-/github-contributions-canvas-0.8.0.tgz#629932db914fd3a28cca05260be8a8bf3497a5e3"
integrity sha512-qFwTRW+qnLKjKaVUk4YsVCvh6ymBab1lt4wx2Tg/d7J/eeEaMnbWAsmjFNWs4mjJ1ptD4pqlUA8fUw2s/ZBMjg==
dependencies:
date-fns "^2.29.3"

Expand Down

0 comments on commit 45bf352

Please sign in to comment.