Skip to content

Commit eae218d

Browse files
Bump the dependencies group across 1 directory with 10 updates (#685)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Anderson Banihirwe <[email protected]>
1 parent 540b035 commit eae218d

File tree

3 files changed

+222
-880
lines changed

3 files changed

+222
-880
lines changed

package.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -25,21 +25,21 @@
2525
"@giscus/react": "^3.0.0",
2626
"@mdx-js/loader": "^3.0.1",
2727
"@mdx-js/react": "^3.0.1",
28-
"@next/mdx": "^14.1.4",
29-
"apexcharts": "3.48.0",
28+
"@next/mdx": "^14.2.3",
29+
"apexcharts": "3.49.1",
3030
"d3": "^7.9.0",
31-
"date-fns": "2.30.0",
32-
"date-fns-tz": "^2.0.1",
31+
"date-fns": "^3.0.0",
32+
"date-fns-tz": "^3.1.3",
3333
"feed": "^4.2.2",
34-
"framer-motion": "^11.0.24",
34+
"framer-motion": "^11.2.10",
3535
"gray-matter": "^4.0.3",
36-
"isomorphic-dompurify": "^2.6.0",
37-
"next": "^14.1.4",
38-
"next-mdx-remote": "^4.4.1",
39-
"react": "^18.2.0",
36+
"isomorphic-dompurify": "^2.12.0",
37+
"next": "^14.2.3",
38+
"next-mdx-remote": "^5.0.0",
39+
"react": "^18.3.1",
4040
"react-apexcharts": "^1.4.1",
41-
"react-dom": "^18.2.0",
42-
"react-icons": "^5.0.1",
41+
"react-dom": "^18.3.1",
42+
"react-icons": "^5.2.1",
4343
"react-syntax-highlighter": "^15.5.0",
4444
"rehype-slug": "^6.0.0",
4545
"swr": "^2.2.5"

src/pages/api/github.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
export const config = {
2-
runtime: 'experimental-edge',
2+
runtime: 'edge',
33
}
44

55
export default async function handler(req, res) {
@@ -12,8 +12,9 @@ export default async function handler(req, res) {
1212
//'cache-control': 'public, s-maxage=600, stale-while-revalidate=300',
1313
}
1414

15-
if (process.env.GITHUB_TOKEN)
15+
if (process.env.GITHUB_TOKEN) {
1616
headers['Authorization'] = `token ${process.env.GITHUB_TOKEN}`
17+
}
1718

1819
const result = await fetch(requestURL, { headers })
1920
return new Response(result.body, { status: result.status })

0 commit comments

Comments
 (0)