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

@hashicorp/react-vertical-text-block-list

Package Overview
Dependencies
Maintainers
16
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hashicorp/react-vertical-text-block-list - npm Package Compare versions

Comparing version 1.1.1 to 1.2.0

6

dist/index.js

@@ -8,2 +8,3 @@ 'use strict';

var LinkWrap = _interopDefault(require('@hashicorp/react-link-wrap'));
var Image = _interopDefault(require('@hashicorp/react-image'));

@@ -26,6 +27,3 @@ function VerticalTextBlockList(_ref) {

className: "header"
}, item.logo ? React.createElement("img", {
src: item.logo.url,
alt: item.logo.alt
}) : React.createElement("h6", null, item.header)), React.createElement("div", {
}, item.logo ? React.createElement(Image, item.logo) : React.createElement("h6", null, item.header)), React.createElement("div", {
className: "body-text",

@@ -32,0 +30,0 @@ dangerouslySetInnerHTML: {

import React from 'react'
import marked from 'marked'
import LinkWrap from '@hashicorp/react-link-wrap'
import Image from '@hashicorp/react-image'

@@ -13,7 +14,3 @@ export default function VerticalTextBlockList({ data, centerText, Link }) {

<div className="header">
{item.logo ? (
<img src={item.logo.url} alt={item.logo.alt} />
) : (
<h6>{item.header}</h6>
)}
{item.logo ? <Image {...item.logo} /> : <h6>{item.header}</h6>}
</div>

@@ -20,0 +17,0 @@ <div

{
"name": "@hashicorp/react-vertical-text-block-list",
"description": "Vertical block list of links",
"version": "1.1.1",
"version": "1.2.0",
"author": "Hashicorp - Mike Wickett",
"dependencies": {
"@hashicorp/react-image": "^2.0.0",
"@hashicorp/react-link-wrap": "^0.0.2",

@@ -21,3 +22,3 @@ "marked": "^0.7.0"

},
"gitHead": "5e68e058130d4c2fa54017babdae06568acff6be"
"gitHead": "2820c17206084ce62de83b43a65d4f407418e519"
}
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