@chrisburnell/eleventy-cache-webmentions 2.1.9-beta.2 → 2.1.9
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
{"cachedAt":1749460866856,"type":"json","metadata":{}}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
const fetch = require("node-fetch");
|
|
2
1
|
const sanitizeHTML = require("sanitize-html");
|
|
3
2
|
const { AssetCache } = require("@11ty/eleventy-fetch");
|
|
4
3
|
const chalk = require("chalk");
|
|
@@ -260,7 +259,6 @@ const fetchWebmentions = async (options) => {
|
|
|
260
259
|
options.uniqueKey || `webmentions-${hostname(options.domain)}`,
|
|
261
260
|
options.directory,
|
|
262
261
|
);
|
|
263
|
-
asset.ensureDir();
|
|
264
262
|
|
|
265
263
|
let webmentions = [];
|
|
266
264
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@chrisburnell/eleventy-cache-webmentions",
|
|
3
|
-
"version": "2.1.9
|
|
3
|
+
"version": "2.1.9",
|
|
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": {
|
|
@@ -50,14 +50,16 @@
|
|
|
50
50
|
"js",
|
|
51
51
|
"webmention"
|
|
52
52
|
],
|
|
53
|
+
"engines": {
|
|
54
|
+
"node": ">=18"
|
|
55
|
+
},
|
|
53
56
|
"dependencies": {
|
|
54
|
-
"@11ty/eleventy-fetch": "^5.0
|
|
57
|
+
"@11ty/eleventy-fetch": "^5.1.0",
|
|
55
58
|
"chalk": "4.1.2",
|
|
56
|
-
"
|
|
57
|
-
"sanitize-html": "^2.14.0"
|
|
59
|
+
"sanitize-html": "^2.17.0"
|
|
58
60
|
},
|
|
59
61
|
"devDependencies": {
|
|
60
|
-
"eslint": "^9.
|
|
61
|
-
"nock": "^
|
|
62
|
+
"eslint": "^9.28.0",
|
|
63
|
+
"nock": "^14.0.5"
|
|
62
64
|
}
|
|
63
65
|
}
|