@tryghost/mg-medium-export 0.17.3 → 0.17.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.
- package/lib/process-post.js +1 -3
- package/package.json +5 -6
package/lib/process-post.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import $ from 'cheerio';
|
|
2
|
-
import {formatISO} from 'date-fns';
|
|
3
2
|
import string from '@tryghost/string';
|
|
4
3
|
import processContent from './process-content.js';
|
|
5
4
|
|
|
@@ -10,8 +9,7 @@ const processMeta = ({name, $post, options}) => {
|
|
|
10
9
|
|
|
11
10
|
let urlInfo;
|
|
12
11
|
|
|
13
|
-
|
|
14
|
-
const dateNow = formatISO(new Date());
|
|
12
|
+
const dateNow = new Date();
|
|
15
13
|
|
|
16
14
|
const post = {
|
|
17
15
|
url: $post('.p-canonical').attr('href'),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tryghost/mg-medium-export",
|
|
3
|
-
"version": "0.17.
|
|
3
|
+
"version": "0.17.5",
|
|
4
4
|
"description": "tbc",
|
|
5
5
|
"repository": "https://github.com/TryGhost/migrate/tree/main/packages/mg-medium-export",
|
|
6
6
|
"author": "Ghost Foundation",
|
|
@@ -21,18 +21,17 @@
|
|
|
21
21
|
"access": "public"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
|
-
"eslint": "8.
|
|
24
|
+
"eslint": "8.57.0",
|
|
25
25
|
"jest": "29.7.0",
|
|
26
26
|
"jest-extended": "4.0.2"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@tryghost/debug": "0.1.27",
|
|
30
|
-
"@tryghost/kg-default-cards": "10.0.
|
|
31
|
-
"@tryghost/mg-fs-utils": "^0.13.
|
|
30
|
+
"@tryghost/kg-default-cards": "10.0.2",
|
|
31
|
+
"@tryghost/mg-fs-utils": "^0.13.1",
|
|
32
32
|
"@tryghost/string": "0.2.11",
|
|
33
33
|
"cheerio": "1.0.0-rc.12",
|
|
34
|
-
"date-fns": "2.30.0",
|
|
35
34
|
"simple-dom": "1.4.0"
|
|
36
35
|
},
|
|
37
|
-
"gitHead": "
|
|
36
|
+
"gitHead": "11cc97db15efc3e19af16253cd53694cf72aa55d"
|
|
38
37
|
}
|