New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

datocms-html-to-structured-text

Package Overview
Dependencies
Maintainers
1
Versions
47
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.12 to 1.0.13

7

dist/lib/handlers.js

@@ -318,4 +318,7 @@ "use strict";

['target', 'rel', 'title'].forEach(function (attr) {
if (node.properties[attr]) {
meta_1.push({ id: attr, value: node.properties[attr] });
var value = Array.isArray(node.properties[attr])
? node.properties[attr].join(' ')
: node.properties[attr];
if (value) {
meta_1.push({ id: attr, value: value });
}

@@ -322,0 +325,0 @@ });

{
"name": "datocms-html-to-structured-text",
"version": "1.0.12",
"version": "1.0.13",
"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.12",
"datocms-structured-text-utils": "^1.0.13",
"extend": "^3.0.2",

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

},
"gitHead": "14fea0f8c40a1c3494fe4a94509a013d3d38ab7c"
"gitHead": "ef471c31d6d6cbacda7364881d7cd1c5ca00d199"
}

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