@tryghost/mg-substack 0.6.2 → 0.6.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/mapper.js +1 -1
- package/package.json +7 -7
package/lib/mapper.js
CHANGED
|
@@ -130,7 +130,7 @@ export default async (input, options) => {
|
|
|
130
130
|
// Inline the HTML we have with the CSV data
|
|
131
131
|
input.meta.map((post) => {
|
|
132
132
|
const thisPostHTML = input.posts.find(item => item.name.includes(post.post_id));
|
|
133
|
-
post.html = thisPostHTML
|
|
133
|
+
post.html = thisPostHTML?.html ?? '';
|
|
134
134
|
return post;
|
|
135
135
|
});
|
|
136
136
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tryghost/mg-substack",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.4",
|
|
4
4
|
"repository": "https://github.com/TryGhost/migrate/tree/main/packages/mg-substack",
|
|
5
5
|
"author": "Ghost Foundation",
|
|
6
6
|
"license": "MIT",
|
|
@@ -25,11 +25,11 @@
|
|
|
25
25
|
"jest-extended": "4.0.2"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@tryghost/debug": "0.1.
|
|
29
|
-
"@tryghost/errors": "1.3.
|
|
30
|
-
"@tryghost/kg-default-cards": "10.0.
|
|
31
|
-
"@tryghost/mg-fs-utils": "
|
|
32
|
-
"@tryghost/string": "0.2.
|
|
28
|
+
"@tryghost/debug": "0.1.30",
|
|
29
|
+
"@tryghost/errors": "1.3.2",
|
|
30
|
+
"@tryghost/kg-default-cards": "10.0.6",
|
|
31
|
+
"@tryghost/mg-fs-utils": "0.14.2",
|
|
32
|
+
"@tryghost/string": "0.2.12",
|
|
33
33
|
"cheerio": "1.0.0-rc.12",
|
|
34
34
|
"date-fns": "2.30.0",
|
|
35
35
|
"he": "1.2.0",
|
|
@@ -38,5 +38,5 @@
|
|
|
38
38
|
"simple-dom": "1.4.0",
|
|
39
39
|
"srcset": "5.0.1"
|
|
40
40
|
},
|
|
41
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "4995b3fa8393ec37c7181e08b9cd76a49a056cb1"
|
|
42
42
|
}
|