@chrisburnell/eleventy-cache-webmentions 2.1.0-beta.1 → 2.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -177,7 +177,7 @@ const fetchWebmentions = async (options) => {
|
|
|
177
177
|
let page = 0
|
|
178
178
|
// Loop until a break condition is hit
|
|
179
179
|
while (true) {
|
|
180
|
-
const perPage = Number(new URL(url).searchParams.get("per-page")) ||
|
|
180
|
+
const perPage = Number(new URL(url).searchParams.get("per-page")) || 1000
|
|
181
181
|
const urlPaginated = url + `&page=${page}`
|
|
182
182
|
const fetched = await performFetch(options, webmentions, urlPaginated)
|
|
183
183
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@chrisburnell/eleventy-cache-webmentions",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.1",
|
|
4
4
|
"description": "Cache webmentions using eleventy-fetch and make them available to use in collections, layouts, pages, etc. in Eleventy.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -42,6 +42,6 @@
|
|
|
42
42
|
"sanitize-html": "^2.13.0"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"eslint": "^9.
|
|
45
|
+
"eslint": "^9.8.0"
|
|
46
46
|
}
|
|
47
47
|
}
|