@tryghost/mg-tinynews 0.7.3 → 0.9.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.
@@ -1,8 +1,9 @@
1
1
  import SimpleDom from 'simple-dom';
2
- import imageCard from '@tryghost/kg-default-cards/lib/cards/image.js';
2
+ import {cardUtils} from '@tryghost/mg-utils';
3
3
  import {TextNode} from './text.js';
4
4
 
5
5
  const serializer = new SimpleDom.HTMLSerializer(SimpleDom.voidMap);
6
+ const imageCard = cardUtils.getCard('image');
6
7
 
7
8
  // From https://gist.github.com/takien/4077195
8
9
  const getYouTubeID = (url) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tryghost/mg-tinynews",
3
- "version": "0.7.3",
3
+ "version": "0.9.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/TryGhost/migrate.git",
@@ -22,11 +22,10 @@
22
22
  },
23
23
  "dependencies": {
24
24
  "@tryghost/debug": "2.0.3",
25
- "@tryghost/kg-default-cards": "10.2.10",
26
25
  "@tryghost/string": "0.3.1",
27
- "sanitize-html": "2.17.3",
26
+ "sanitize-html": "2.17.4",
28
27
  "simple-dom": "1.4.0",
29
- "@tryghost/mg-utils": "0.8.3"
28
+ "@tryghost/mg-utils": "0.10.0"
30
29
  },
31
30
  "scripts": {
32
31
  "dev": "echo \"Implement me!\"",