@tryghost/mg-substack 0.6.2 → 0.6.3

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.
Files changed (2) hide show
  1. package/lib/mapper.js +1 -1
  2. 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.html;
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.2",
3
+ "version": "0.6.3",
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.27",
29
- "@tryghost/errors": "1.3.1",
30
- "@tryghost/kg-default-cards": "10.0.3",
31
- "@tryghost/mg-fs-utils": "^0.14.0",
32
- "@tryghost/string": "0.2.11",
28
+ "@tryghost/debug": "0.1.30",
29
+ "@tryghost/errors": "1.3.2",
30
+ "@tryghost/kg-default-cards": "10.0.5",
31
+ "@tryghost/mg-fs-utils": "0.14.1",
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": "78b8167b57a73027502c925ee5e2e360b8392bc1"
41
+ "gitHead": "f824cede3d1123defe3e4575536dd579984f7fe2"
42
42
  }