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

datocms-structured-text-generic-html-renderer

Package Overview
Dependencies
Maintainers
1
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

datocms-structured-text-generic-html-renderer - npm Package Compare versions

Comparing version 0.1.0-alpha.21 to 0.1.0-alpha.22

8

dist/lib/index.js

@@ -48,4 +48,8 @@ "use strict";

datocms_structured_text_utils_1.renderRule(datocms_structured_text_utils_1.isBlockquote, function (_a) {
var renderNode = _a.adapter.renderNode, key = _a.key, children = _a.children;
return renderNode('blockquote', { key: key }, children);
var renderNode = _a.adapter.renderNode, key = _a.key, node = _a.node, children = _a.children;
var childrenWithAttribution = node.attribution
? __spreadArrays(children, [
renderNode("footer", { key: 'footer' }, node.attribution),
]) : children;
return renderNode('blockquote', { key: key }, childrenWithAttribution);
}),

@@ -52,0 +56,0 @@ datocms_structured_text_utils_1.renderRule(datocms_structured_text_utils_1.isCode, function (_a) {

{
"name": "datocms-structured-text-generic-html-renderer",
"version": "0.1.0-alpha.21",
"version": "0.1.0-alpha.22",
"description": "A set of Typescript types and helpers to work with DatoCMS Structured Text fields",

@@ -33,5 +33,5 @@ "keywords": [

"dependencies": {
"datocms-structured-text-utils": "^0.1.0-alpha.21"
"datocms-structured-text-utils": "^0.1.0-alpha.22"
},
"gitHead": "63cd858fcba87bd7d353adf8537d07a2d1a0589b"
"gitHead": "de06dc326cffe7c99a1ba108b09102b7910407fb"
}

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