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 1.0.1 to 1.0.2

8

cjs/parser-plugins.js

@@ -156,4 +156,4 @@ 'use strict';

function isHtmlEndComment(node) {
return node && node.nodeType === 8 && node.nodeValue === 'kg-card-end: html';
function isHtmlEndComment(n) {
return n && n.nodeType === 8 && n.nodeValue === 'kg-card-end: html';
}

@@ -222,4 +222,4 @@

function grafGalleryToCard(node, builder, {addSection, nodeFinished}) {
function isGrafGallery(node) {
return node.nodeType === 1 && node.tagName === 'DIV' && node.dataset && node.dataset.paragraphCount && node.querySelectorAll('img').length > 0;
function isGrafGallery(n) {
return n.nodeType === 1 && n.tagName === 'DIV' && n.dataset && n.dataset.paragraphCount && n.querySelectorAll('img').length > 0;
}

@@ -226,0 +226,0 @@

@@ -155,4 +155,4 @@ import cleanBasicHtml from '@tryghost/kg-clean-basic-html';

function isHtmlEndComment(node) {
return node && node.nodeType === 8 && node.nodeValue === 'kg-card-end: html';
function isHtmlEndComment(n) {
return n && n.nodeType === 8 && n.nodeValue === 'kg-card-end: html';
}

@@ -231,4 +231,4 @@

}) {
function isGrafGallery(node) {
return node.nodeType === 1 && node.tagName === 'DIV' && node.dataset && node.dataset.paragraphCount && node.querySelectorAll('img').length > 0;
function isGrafGallery(n) {
return n.nodeType === 1 && n.tagName === 'DIV' && n.dataset && n.dataset.paragraphCount && n.querySelectorAll('img').length > 0;
}

@@ -235,0 +235,0 @@

@@ -161,4 +161,4 @@ /* global DOMParser, window */

function isHtmlEndComment(node) {
return node && node.nodeType === 8 && node.nodeValue === 'kg-card-end: html';
function isHtmlEndComment(n) {
return n && n.nodeType === 8 && n.nodeValue === 'kg-card-end: html';
}

@@ -227,4 +227,4 @@

function grafGalleryToCard(node, builder, {addSection, nodeFinished}) {
function isGrafGallery(node) {
return node.nodeType === 1 && node.tagName === 'DIV' && node.dataset && node.dataset.paragraphCount && node.querySelectorAll('img').length > 0;
function isGrafGallery(n) {
return n.nodeType === 1 && n.tagName === 'DIV' && n.dataset && n.dataset.paragraphCount && n.querySelectorAll('img').length > 0;
}

@@ -231,0 +231,0 @@

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

@@ -37,12 +37,12 @@ "author": "Ghost Foundation",

"jsdom": "16.2.2",
"mocha": "6.2.0",
"mocha": "8.0.1",
"rollup": "2.15.0",
"rollup-plugin-babel": "4.4.0",
"should": "13.2.3",
"sinon": "7.4.1"
"sinon": "9.0.2"
},
"dependencies": {
"@tryghost/kg-clean-basic-html": "^1.0.1"
"@tryghost/kg-clean-basic-html": "^1.0.2"
},
"gitHead": "a254a55751497d45191aea19f3700541fe55c63d"
"gitHead": "93c853c6be3de6e0dbece24367aeba2089df217e"
}

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