@tryghost/mg-medium-export 0.17.4 → 0.17.6

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,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
- // Get an ISO 8601 date - https://date-fns.org/docs/formatISO
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.4",
3
+ "version": "0.17.6",
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.56.0",
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.2",
31
- "@tryghost/mg-fs-utils": "^0.13.0",
30
+ "@tryghost/kg-default-cards": "10.0.3",
31
+ "@tryghost/mg-fs-utils": "^0.13.2",
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": "d0c6f970f484101ab9b4dcf8ba95fa1398da4b79"
36
+ "gitHead": "6d66ced5547ace4095b32d0662b158b119a44fa9"
38
37
  }