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

@hashicorp/hashi-alert-banner

Package Overview
Dependencies
Maintainers
13
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hashicorp/hashi-alert-banner - npm Package Compare versions

Comparing version 1.2.0 to 1.2.1

7

dist/index.js

@@ -124,5 +124,10 @@ 'use strict';

{ 'class': 'text' },
text,
preact.h(
'span',
null,
text
),
' ',
link_text && preact.h(
'span',
{ 'class': 'link-text' },

@@ -129,0 +134,0 @@ link_text

4

index.js

@@ -44,4 +44,4 @@ import { h, Component } from 'preact'

<div class="text">
{text}
<span class="link-text">{link_text}</span>
<span>{text}</span>{' '}
{link_text && <span class="link-text">{link_text}</span>}
</div>

@@ -48,0 +48,0 @@ <span

@@ -39,3 +39,3 @@ import { expect } from 'chai'

.text()
).to.equal(propValue('text') + propValue('link_text'))
).to.equal(propValue('text') + ' ' + propValue('link_text'))
})

@@ -42,0 +42,0 @@

{
"name": "@hashicorp/hashi-alert-banner",
"description": "alert banner with text and a link",
"version": "1.2.0",
"version": "1.2.1",
"main": "dist",

@@ -18,3 +18,3 @@ "peerDependencies": {

},
"gitHead": "263ef7a79695418e81d65ac503bccdf046fd6ba3"
"gitHead": "f51b05c7e65befc97d9d3c872960d6bc19997ab2"
}

Sorry, the diff of this file is not supported yet

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