@chrisburnell/eleventy-cache-webmentions 2.0.4 → 2.0.5
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.
|
@@ -121,7 +121,6 @@ const fetchWebmentions = async (options) => {
|
|
|
121
121
|
.then(async (response) => {
|
|
122
122
|
if (response.ok) {
|
|
123
123
|
const feed = await response.json()
|
|
124
|
-
|
|
125
124
|
if (feed[options.key].length) {
|
|
126
125
|
// Combine newly-fetched Webmentions with cached Webmentions
|
|
127
126
|
webmentions = feed[options.key].concat(webmentions)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@chrisburnell/eleventy-cache-webmentions",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.5",
|
|
4
4
|
"description": "Cache webmentions using eleventy-fetch and make them available to use in collections, layouts, pages, etc. in Eleventy.",
|
|
5
5
|
"author": "Chris Burnell <me@chrisburnell.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -20,13 +20,13 @@
|
|
|
20
20
|
"webmention"
|
|
21
21
|
],
|
|
22
22
|
"devDependencies": {
|
|
23
|
-
"eslint": "^
|
|
23
|
+
"eslint": "^8.56.0"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@11ty/eleventy-fetch": "^4.0.
|
|
26
|
+
"@11ty/eleventy-fetch": "^4.0.0",
|
|
27
27
|
"lodash": "^4.17.21",
|
|
28
|
-
"node-fetch": "2.6.7",
|
|
29
|
-
"sanitize-html": "^2.
|
|
28
|
+
"node-fetch": "^2.6.7",
|
|
29
|
+
"sanitize-html": "^2.11.0"
|
|
30
30
|
},
|
|
31
31
|
"main": "eleventy-cache-webmentions.js",
|
|
32
32
|
"scripts": {
|