@tryghost/kg-parser-plugins
Advanced tools
Comparing version 0.10.1 to 1.0.0
@@ -27,3 +27,3 @@ import cleanBasicHtml from '@tryghost/kg-clean-basic-html'; | ||
let cleanHtml = cleanBasicHtml(figcaption.innerHTML, options); | ||
payload.caption = payload.caption ? "".concat(payload.caption, " / ").concat(cleanHtml) : cleanHtml; | ||
payload.caption = payload.caption ? `${payload.caption} / ${cleanHtml}` : cleanHtml; | ||
figcaption.remove(); // cleanup this processed element | ||
@@ -73,3 +73,3 @@ } | ||
if (iframe.src.match(/^\/\//)) { | ||
iframe.src = "https:".concat(iframe.src); | ||
iframe.src = `https:${iframe.src}`; | ||
} | ||
@@ -76,0 +76,0 @@ |
{ | ||
"name": "@tryghost/kg-parser-plugins", | ||
"version": "0.10.1", | ||
"version": "1.0.0", | ||
"repository": "https://github.com/TryGhost/Koenig/tree/master/packages/kg-parser-plugins", | ||
@@ -26,2 +26,5 @@ "author": "Ghost Foundation", | ||
}, | ||
"engines": { | ||
"node": "^10.13.0 || >=12.10.0" | ||
}, | ||
"publishConfig": { | ||
@@ -31,8 +34,8 @@ "access": "public" | ||
"devDependencies": { | ||
"@babel/core": "7.9.6", | ||
"@babel/preset-env": "7.9.6", | ||
"@babel/core": "7.10.2", | ||
"@babel/preset-env": "7.10.2", | ||
"@tryghost/mobiledoc-kit": "0.11.2-ghost.4", | ||
"jsdom": "15.2.1", | ||
"jsdom": "16.2.2", | ||
"mocha": "6.2.0", | ||
"rollup": "1.32.1", | ||
"rollup": "2.13.1", | ||
"rollup-plugin-babel": "4.4.0", | ||
@@ -43,5 +46,5 @@ "should": "13.2.3", | ||
"dependencies": { | ||
"@tryghost/kg-clean-basic-html": "^0.1.9" | ||
"@tryghost/kg-clean-basic-html": "^1.0.0" | ||
}, | ||
"gitHead": "6fbec207c3e60a18ae804cd96037922b371f243c" | ||
"gitHead": "78b547b642b118defd50afb348d28299b9186ac8" | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
79667
1
+ Added@tryghost/kg-clean-basic-html@1.0.18(transitive)
- Removed@tryghost/kg-clean-basic-html@0.1.9(transitive)