Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@tryghost/kg-parser-plugins

Package Overview
Dependencies
Maintainers
12
Versions
154
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tryghost/kg-parser-plugins - npm Package Compare versions

Comparing version 0.10.1 to 1.0.0

4

es/parser-plugins.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc