Socket
Socket
Sign inDemoInstall

@tryghost/kg-parser-plugins

Package Overview
Dependencies
Maintainers
29
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 4.0.2 to 4.0.3

4

cjs/parser-plugins.js

@@ -900,3 +900,3 @@ 'use strict';

if (emojiNode) {
calloutEmoji = emojiNode.textContent;
calloutEmoji = emojiNode?.textContent;
if (calloutEmoji) {

@@ -907,3 +907,3 @@ calloutEmoji = calloutEmoji.trim();

let calloutText = htmlNode.innerHTML;
let calloutText = htmlNode?.innerHTML || '';

@@ -910,0 +910,0 @@ const payload = {

@@ -851,3 +851,3 @@ import cleanBasicHtml from '@tryghost/kg-clean-basic-html';

if (emojiNode) {
calloutEmoji = emojiNode.textContent;
calloutEmoji = emojiNode?.textContent;
if (calloutEmoji) {

@@ -857,3 +857,3 @@ calloutEmoji = calloutEmoji.trim();

}
let calloutText = htmlNode.innerHTML;
let calloutText = htmlNode?.innerHTML || '';
const payload = {

@@ -860,0 +860,0 @@ calloutEmoji,

@@ -74,3 +74,3 @@ /**

if (emojiNode) {
calloutEmoji = emojiNode.textContent;
calloutEmoji = emojiNode?.textContent;
if (calloutEmoji) {

@@ -81,3 +81,3 @@ calloutEmoji = calloutEmoji.trim();

let calloutText = htmlNode.innerHTML;
let calloutText = htmlNode?.innerHTML || '';

@@ -84,0 +84,0 @@ const payload = {

{
"name": "@tryghost/kg-parser-plugins",
"version": "4.0.2",
"version": "4.0.3",
"repository": "https://github.com/TryGhost/Koenig/tree/master/packages/kg-parser-plugins",

@@ -34,9 +34,9 @@ "author": "Ghost Foundation",

"@babel/core": "7.23.7",
"@babel/preset-env": "7.23.7",
"@babel/preset-env": "7.23.8",
"@rollup/plugin-babel": "6.0.4",
"@tryghost/mobiledoc-kit": "0.11.2-ghost.4",
"c8": "8.0.1",
"jsdom": "23.0.1",
"c8": "9.1.0",
"jsdom": "23.2.0",
"mocha": "10.2.0",
"rollup": "4.9.2",
"rollup": "4.9.5",
"should": "13.2.3",

@@ -46,5 +46,5 @@ "sinon": "17.0.1"

"dependencies": {
"@tryghost/kg-clean-basic-html": "^4.0.2"
"@tryghost/kg-clean-basic-html": "^4.0.3"
},
"gitHead": "1f8ced86f538ecbd1394b52135d30ecd71a4ad96"
"gitHead": "e328242c126f405a6cf43ccc44339847817c0119"
}

Sorry, the diff of this file is not supported yet

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