@tryghost/mg-substack 0.7.2 → 0.7.4
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.
- package/lib/process.js +4 -0
- package/package.json +4 -4
package/lib/process.js
CHANGED
|
@@ -414,6 +414,10 @@ const processContent = (post, siteUrl, options) => {
|
|
|
414
414
|
$(anchor).replaceWith(serializer.serialize(imageCard.render(cardOpts)));
|
|
415
415
|
});
|
|
416
416
|
|
|
417
|
+
$html('.comment').each((i, el) => {
|
|
418
|
+
$(el).remove();
|
|
419
|
+
});
|
|
420
|
+
|
|
417
421
|
$html('.digest-post-embed').each((i, el) => {
|
|
418
422
|
const attrsRaw = $(el).attr('data-attrs');
|
|
419
423
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tryghost/mg-substack",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.4",
|
|
4
4
|
"repository": "https://github.com/TryGhost/migrate/tree/main/packages/mg-substack",
|
|
5
5
|
"author": "Ghost Foundation",
|
|
6
6
|
"license": "MIT",
|
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@tryghost/debug": "0.1.33",
|
|
29
29
|
"@tryghost/errors": "1.3.6",
|
|
30
|
-
"@tryghost/kg-default-cards": "10.0.
|
|
31
|
-
"@tryghost/mg-fs-utils": "0.15.
|
|
30
|
+
"@tryghost/kg-default-cards": "10.0.10",
|
|
31
|
+
"@tryghost/mg-fs-utils": "0.15.3",
|
|
32
32
|
"@tryghost/string": "0.2.12",
|
|
33
33
|
"cheerio": "1.0.0-rc.12",
|
|
34
34
|
"he": "1.2.0",
|
|
@@ -37,5 +37,5 @@
|
|
|
37
37
|
"simple-dom": "1.4.0",
|
|
38
38
|
"srcset": "5.0.1"
|
|
39
39
|
},
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "f0a0ccbcebbcb12911381dd182782a084e3c82fb"
|
|
41
41
|
}
|