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

@hashicorp/hashi-callouts

Package Overview
Dependencies
Maintainers
16
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hashicorp/hashi-callouts - npm Package Compare versions

Comparing version 2.1.1-fonts.0 to 2.1.2-fonts.0

19

dist/index.js

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

var data = reshapePreactComponents.decode(this.props._data);
var markedOptions = this.generateMarkedOptions();

@@ -80,2 +81,3 @@ var getCalloutContent = function getCalloutContent(item) {

preact.h('h3', {
'class': 'g-type-display-3',
dangerouslySetInnerHTML: {

@@ -88,3 +90,3 @@ __html: marked.inlineLexer(item.title, [])

dangerouslySetInnerHTML: {
__html: item.description ? marked(item.description) : ''
__html: item.description ? marked(item.description, markedOptions) : ''
}

@@ -99,3 +101,5 @@ })

'div',
{ 'class': 'callout-button ' + (theme || '') },
{
'class': 'g-type-buttons-and-standlone-links callout-button ' + (theme || '')
},
preact.h(

@@ -137,2 +141,13 @@ 'span',

}
}, {
key: 'generateMarkedOptions',
value: function generateMarkedOptions() {
var markedRenderer = new marked.Renderer();
markedRenderer.paragraph = function (text) {
return '<p class="g-type-body-small">' + text + '</p>';
};
return { renderer: markedRenderer };
}
}]);

@@ -139,0 +154,0 @@

4

package.json
{
"name": "@hashicorp/hashi-callouts",
"description": "a set of three horizontally-aligned images paired with a short title and descriptive text.",
"version": "2.1.1-fonts.0",
"version": "2.1.2-fonts.0",
"author": "Hashicorp - Jeff Escalante",

@@ -21,3 +21,3 @@ "main": "dist",

},
"gitHead": "6dd619e0dab746f5b78f983f8f2afaff7dccd394"
"gitHead": "c1a627e45f3a8773fe95eb71961eaabcf5388e4a"
}

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