@@ -16,81 +16,81 @@ import "datatables.net-staterestore-dt/css/stateRestore.dataTables.css";
1616
1717const { user, repo } = Astro .props ;
1818
19- // const Last = (
20- // await (
21- // await fetch(
22- // `https://api.github.com/repos/${user}/${repo}/commits?per_page=10`,
23- // )
24- // ).json()
25- // ).map((Commit) => [
26- // 'Commit Message': Commit.message,
27- // 'Author': Commit.commit.author.name,
28- // 'Date': Commit.commit.author.date,
29- // 'HREF': Commit.html_url,
30- // ]);
19+ const Last = (
20+ await (
21+ await fetch (
22+ ` https://api.github.com/repos/${user }/${repo }/commits?per_page=10 ` ,
23+ )
24+ ).json ()
25+ ).map ((Commit ) => [
26+ ' Commit Message' : Commit .message ,
27+ ' Author' : Commit .commit .author .name ,
28+ ' Date' : Commit .commit .author .date ,
29+ ' HREF' : Commit .html_url ,
30+ ]);
3131
32- const Last = [
33- {
34- " Commit Message" : null ,
35- " Author" : " Auto" ,
36- " Date" : " 2025-01-17T00:08:59Z" ,
37- " HREF" : " https://github.com/CodeEditorLand/Land/commit/87b8fc78f30035bd6a7cecd515e93c94259dc455" ,
38- },
39- {
40- " Commit Message" : null ,
41- " Author" : " Auto" ,
42- " Date" : " 2025-01-16T00:52:32Z" ,
43- " HREF" : " https://github.com/CodeEditorLand/Land/commit/2117b5380e699d0642ac3a2a6652bcf6f82f5bd5" ,
44- },
45- {
46- " Commit Message" : null ,
47- " Author" : " Nikola Hristov" ,
48- " Date" : " 2025-01-15T16:10:23Z" ,
49- " HREF" : " https://github.com/CodeEditorLand/Land/commit/e7706c5f26464fab149691ca5ea7c0d9b8c7d0c0" ,
50- },
51- {
52- " Commit Message" : null ,
53- " Author" : " Nikola Hristov" ,
54- " Date" : " 2025-01-15T16:02:32Z" ,
55- " HREF" : " https://github.com/CodeEditorLand/Land/commit/7008d86d8b8b48d98fecf22ac1d743c188eae874" ,
56- },
57- {
58- " Commit Message" : null ,
59- " Author" : " Nikola Hristov" ,
60- " Date" : " 2025-01-15T11:05:28Z" ,
61- " HREF" : " https://github.com/CodeEditorLand/Land/commit/43718cab8186bd4e4f9aa09227ed5849f10ae4bd" ,
62- },
63- {
64- " Commit Message" : null ,
65- " Author" : " Nikola Hristov" ,
66- " Date" : " 2025-01-15T03:14:00Z" ,
67- " HREF" : " https://github.com/CodeEditorLand/Land/commit/4f91f22ac83196beaa35e641266e1782b283ff04" ,
68- },
69- {
70- " Commit Message" : null ,
71- " Author" : " Nikola Hristov" ,
72- " Date" : " 2025-01-15T03:10:03Z" ,
73- " HREF" : " https://github.com/CodeEditorLand/Land/commit/4be44fb9b95d1ede3c8121c3e4ab0bad90f026bd" ,
74- },
75- {
76- " Commit Message" : null ,
77- " Author" : " Nikola Hristov" ,
78- " Date" : " 2025-01-15T03:06:06Z" ,
79- " HREF" : " https://github.com/CodeEditorLand/Land/commit/5cd86bdb1abfefbff199ea5f67987ec5c76a663e" ,
80- },
81- {
82- " Commit Message" : null ,
83- " Author" : " Nikola Hristov" ,
84- " Date" : " 2025-01-15T03:01:12Z" ,
85- " HREF" : " https://github.com/CodeEditorLand/Land/commit/ed336e9b95ba2afcee8a600765d12a43611c0bc8" ,
86- },
87- {
88- " Commit Message" : null ,
89- " Author" : " Auto" ,
90- " Date" : " 2025-01-15T00:53:18Z" ,
91- " HREF" : " https://github.com/CodeEditorLand/Land/commit/06d39f95f0e1054b03208adbe2b3b0969ce05a24" ,
92- },
93- ];
32+ // const Last = [
33+ // {
34+ // "Commit Message": null,
35+ // "Author": "Auto",
36+ // "Date": "2025-01-17T00:08:59Z",
37+ // "HREF": "https://github.com/CodeEditorLand/Land/commit/87b8fc78f30035bd6a7cecd515e93c94259dc455",
38+ // },
39+ // {
40+ // "Commit Message": null,
41+ // "Author": "Auto",
42+ // "Date": "2025-01-16T00:52:32Z",
43+ // "HREF": "https://github.com/CodeEditorLand/Land/commit/2117b5380e699d0642ac3a2a6652bcf6f82f5bd5",
44+ // },
45+ // {
46+ // "Commit Message": null,
47+ // "Author": "Nikola Hristov",
48+ // "Date": "2025-01-15T16:10:23Z",
49+ // "HREF": "https://github.com/CodeEditorLand/Land/commit/e7706c5f26464fab149691ca5ea7c0d9b8c7d0c0",
50+ // },
51+ // {
52+ // "Commit Message": null,
53+ // "Author": "Nikola Hristov",
54+ // "Date": "2025-01-15T16:02:32Z",
55+ // "HREF": "https://github.com/CodeEditorLand/Land/commit/7008d86d8b8b48d98fecf22ac1d743c188eae874",
56+ // },
57+ // {
58+ // "Commit Message": null,
59+ // "Author": "Nikola Hristov",
60+ // "Date": "2025-01-15T11:05:28Z",
61+ // "HREF": "https://github.com/CodeEditorLand/Land/commit/43718cab8186bd4e4f9aa09227ed5849f10ae4bd",
62+ // },
63+ // {
64+ // "Commit Message": null,
65+ // "Author": "Nikola Hristov",
66+ // "Date": "2025-01-15T03:14:00Z",
67+ // "HREF": "https://github.com/CodeEditorLand/Land/commit/4f91f22ac83196beaa35e641266e1782b283ff04",
68+ // },
69+ // {
70+ // "Commit Message": null,
71+ // "Author": "Nikola Hristov",
72+ // "Date": "2025-01-15T03:10:03Z",
73+ // "HREF": "https://github.com/CodeEditorLand/Land/commit/4be44fb9b95d1ede3c8121c3e4ab0bad90f026bd",
74+ // },
75+ // {
76+ // "Commit Message": null,
77+ // "Author": "Nikola Hristov",
78+ // "Date": "2025-01-15T03:06:06Z",
79+ // "HREF": "https://github.com/CodeEditorLand/Land/commit/5cd86bdb1abfefbff199ea5f67987ec5c76a663e",
80+ // },
81+ // {
82+ // "Commit Message": null,
83+ // "Author": "Nikola Hristov",
84+ // "Date": "2025-01-15T03:01:12Z",
85+ // "HREF": "https://github.com/CodeEditorLand/Land/commit/ed336e9b95ba2afcee8a600765d12a43611c0bc8",
86+ // },
87+ // {
88+ // "Commit Message": null,
89+ // "Author": "Auto",
90+ // "Date": "2025-01-15T00:53:18Z",
91+ // "HREF": "https://github.com/CodeEditorLand/Land/commit/06d39f95f0e1054b03208adbe2b3b0969ce05a24",
92+ // },
93+ // ];
9494
9595const UUID = (await import (" @Function/Commit/UUID/Fn.js" )).default ();
9696---
0 commit comments