@hashicorp/react-vertical-text-block-list
Advanced tools
Comparing version 2.0.3 to 3.0.0
@@ -1,2 +0,1 @@ | ||
import React from 'react' | ||
import marked from 'marked' | ||
@@ -13,7 +12,6 @@ import LinkWrap from '@hashicorp/react-link-wrap' | ||
> | ||
{data.map(item => ( | ||
{data.map((item) => ( | ||
<li key={item.body}> | ||
<MaybeLink link={item.linkUrl} LinkComponent={Link}> | ||
<div className="header" data-testid={`header-${item.header}`}> | ||
{/* TODO: use image component? */} | ||
{item.logo ? ( | ||
@@ -30,3 +28,3 @@ <Image {...item.logo} data-testid="img" /> | ||
dangerouslySetInnerHTML={{ | ||
__html: marked.inlineLexer(item.body, []) | ||
__html: marked.inlineLexer(item.body, []), | ||
}} | ||
@@ -33,0 +31,0 @@ data-testid={`body-text-${item.header}`} |
{ | ||
"name": "@hashicorp/react-vertical-text-block-list", | ||
"description": "Vertical block list of links", | ||
"version": "2.0.3", | ||
"author": "Hashicorp - Mike Wickett", | ||
"version": "3.0.0", | ||
"author": "HashiCorp", | ||
"contributors": [ | ||
"Mike Wickett", | ||
"Jeff Escalante" | ||
], | ||
"dependencies": { | ||
@@ -12,3 +16,2 @@ "@hashicorp/react-image": "^2.0.3", | ||
"license": "MPL-2.0", | ||
"main": "dist", | ||
"peerDependencies": { | ||
@@ -20,6 +23,3 @@ "react": "^16.9.0" | ||
}, | ||
"scripts": { | ||
"test": "jest" | ||
}, | ||
"gitHead": "bf5bc21d375159feef4807442b0e394b5390ea3d" | ||
"gitHead": "11d7bda7d518bc675ab0033067d43057e21f3b77" | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
21663
5
139
1