New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@hashicorp/react-author-byline

Package Overview
Dependencies
Maintainers
28
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hashicorp/react-author-byline - npm Package Compare versions

Comparing version 0.1.0 to 0.2.0-canary-20220418211631

CHANGELOG.md

4

index.test.js

@@ -19,6 +19,6 @@ import { render, screen } from '@testing-library/react'

it('should render variant', () => {
it('should render dark appearance', () => {
render(
<AuthorByline
variant="dark"
appearance="dark"
avatar="https://www.datocms-assets.com/2885/1560891392-cropped0000armon.jpg"

@@ -25,0 +25,0 @@ name="Name"

{
"name": "@hashicorp/react-author-byline",
"version": "0.1.0",
"version": "0.2.0-canary-20220418211631",
"description": "",

@@ -5,0 +5,0 @@ "author": "HashiCorp",

@@ -21,2 +21,7 @@ module.exports = {

},
appearance: {
type: 'string',
options: ['light', 'dark'],
description: 'Render on light or dark backgrounds',
},
}

@@ -17,3 +17,3 @@ export interface AuthorBylineProps {

*/
variant?: 'light' | 'dark'
appearance?: 'light' | 'dark'
}

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