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
16
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.3-fonts.0 to 1.2.3

24

dist/index.js

@@ -114,3 +114,3 @@ 'use strict';

'div',
{ 'class': 'tag' },
{ className: 'tag g-type-label' },
preact.h(

@@ -124,3 +124,3 @@ 'span',

'div',
{ 'class': 'text' },
{ className: 'text g-type-body-small-strong' },
preact.h(

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

)
),
preact.h(
'span',
{
'class': 'close',
onClick: function onClick() {
_this2.onClose();
}
},
preact.h(CloseIcon, null)
)
),
preact.h(
'span',
{
'class': 'close',
onClick: function onClick() {
_this2.onClose();
}
},
preact.h(CloseIcon, null)
)

@@ -150,0 +150,0 @@ );

@@ -40,18 +40,18 @@ import { h, Component } from 'preact'

<div class="g-container">
<div class="tag">
<div className="tag g-type-label">
<span>{tag}</span>
</div>
<div class="text">
<div className="text g-type-body-small-strong">
<span>{text}</span>{' '}
{link_text && <span class="link-text">{link_text}</span>}
</div>
<span
class="close"
onClick={() => {
this.onClose()
}}
>
<CloseIcon />
</span>
</div>
<span
class="close"
onClick={() => {
this.onClose()
}}
>
<CloseIcon />
</span>
</div>

@@ -58,0 +58,0 @@ )

{
"name": "@hashicorp/hashi-alert-banner",
"description": "alert banner with text and a link",
"version": "1.2.3-fonts.0",
"version": "1.2.3",
"main": "dist",
"peerDependencies": {
"@hashicorp/hashi-global-styles": "fonts",
"@hashicorp/hashi-global-styles": "^2.0.0",
"js-cookie": "2.2.0",

@@ -18,3 +18,3 @@ "preact": "^8.2.7",

},
"gitHead": "c1a627e45f3a8773fe95eb71961eaabcf5388e4a"
"gitHead": "02692d1903470be9d62f32459d751c6d17cbff65"
}

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