@tryghost/mg-medium-export 0.25.0 → 0.27.0
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-content.js +3 -3
- package/package.json +5 -6
package/lib/process-content.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {domUtils} from '@tryghost/mg-utils';
|
|
1
|
+
import {domUtils, cardUtils} from '@tryghost/mg-utils';
|
|
2
2
|
import SimpleDom from 'simple-dom';
|
|
3
|
-
import galleryCard from '@tryghost/kg-default-cards/lib/cards/gallery.js';
|
|
4
|
-
import bookmarkCard from '@tryghost/kg-default-cards/lib/cards/bookmark.js';
|
|
5
3
|
const serializer = new SimpleDom.HTMLSerializer(SimpleDom.voidMap);
|
|
4
|
+
const galleryCard = cardUtils.getCard('gallery');
|
|
5
|
+
const bookmarkCard = cardUtils.getCard('bookmark');
|
|
6
6
|
|
|
7
7
|
const doReplace = (str) => {
|
|
8
8
|
const replaceParts = [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tryghost/mg-medium-export",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.27.0",
|
|
4
4
|
"description": "tbc",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -23,12 +23,11 @@
|
|
|
23
23
|
"eslint": "8.57.1"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@tryghost/debug": "2.
|
|
27
|
-
"@tryghost/
|
|
28
|
-
"@tryghost/string": "0.3.1",
|
|
26
|
+
"@tryghost/debug": "2.2.3",
|
|
27
|
+
"@tryghost/string": "0.3.5",
|
|
29
28
|
"simple-dom": "1.4.0",
|
|
30
|
-
"@tryghost/mg-fs-utils": "0.
|
|
31
|
-
"@tryghost/mg-utils": "0.
|
|
29
|
+
"@tryghost/mg-fs-utils": "0.26.0",
|
|
30
|
+
"@tryghost/mg-utils": "0.11.0"
|
|
32
31
|
},
|
|
33
32
|
"scripts": {
|
|
34
33
|
"dev": "echo \"Implement me!\"",
|