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

datocms-html-to-structured-text

Package Overview
Dependencies
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

datocms-html-to-structured-text - npm Package Compare versions

Comparing version 1.0.7 to 1.0.8

8

dist/lib/handlers.js

@@ -315,14 +315,14 @@ "use strict";

};
meta_1 = {};
meta_1 = [];
if (node.properties) {
if (node.properties.target === '_blank') {
meta_1.openInNewWindow = true;
meta_1.push({ id: 'openInNewWindow', value: true });
}
['rel', 'title'].forEach(function (attr) {
if (node.properties[attr]) {
meta_1[attr] = node.properties[attr];
meta_1.push({ id: attr, value: node.properties[attr] });
}
});
}
if (Object.keys(meta_1).length > 0) {
if (meta_1.length > 0) {
props.meta = meta_1;

@@ -329,0 +329,0 @@ }

{
"name": "datocms-html-to-structured-text",
"version": "1.0.7",
"version": "1.0.8",
"description": "Convert HTML (or a `hast` syntax tree) to a valid DatoCMS Structured Text `dast` document",

@@ -34,3 +34,3 @@ "keywords": [

"dependencies": {
"datocms-structured-text-utils": "^1.0.7",
"datocms-structured-text-utils": "^1.0.8",
"extend": "^3.0.2",

@@ -49,3 +49,3 @@ "hast-util-from-dom": "^3.0.0",

},
"gitHead": "ee4667a693fc8a85d607695d0c20bd6c193539fc"
"gitHead": "c8c90e84ca427ad08412fc2a1bca296d70f3e407"
}

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