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

@forter/avatar

Package Overview
Dependencies
Maintainers
3
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@forter/avatar - npm Package Compare versions

Comparing version 3.0.3 to 3.0.4

8

CHANGELOG.md

@@ -6,2 +6,10 @@ # Change Log

## [3.0.4](https://github.com/forter/web-components/compare/@forter/avatar@3.0.3...@forter/avatar@3.0.4) (2019-11-28)
**Note:** Version bump only for package @forter/avatar
## [3.0.3](https://github.com/forter/web-components/compare/@forter/avatar@3.0.2...@forter/avatar@3.0.3) (2019-11-27)

@@ -8,0 +16,0 @@

4

FcAvatar.js

@@ -112,3 +112,3 @@ import { decorate as _decorate } from './_virtual/_rollupPluginBabelHelpers.js';

if (src) {
return html`<button>
return html`<button aria-label="${alt}">
<img alt="${alt}" src="${src}"></img>

@@ -120,3 +120,3 @@ </button>

return html`
<button>
<button aria-label="${alt}">
<div id="abbr">${initial(abbr)}</div>

@@ -123,0 +123,0 @@ </button>

{
"name": "@forter/avatar",
"version": "3.0.3",
"version": "3.0.4",
"description": "Avatar from Forter Components",

@@ -54,3 +54,3 @@ "main": "index.js",

},
"gitHead": "26a81b071f7d326de0472263bfd092842d61a9f8"
"gitHead": "3892455c25a8e3295c4c78c18c145e051774367f"
}

@@ -76,5 +76,5 @@ import { chaiDomDiff } from '@open-wc/semantic-dom-diff/chai-dom-diff';

const element = await fixture(`<${Avatar}></${Avatar}>`);
expect(element).shadowDom.to.equal('<button><div id="abbr"></div></button>');
expect(element).shadowDom.to.equal('<button aria-label="User Avatar"><div id="abbr"></div></button>');
});
});
});

@@ -56,3 +56,3 @@ import { LitElement, html, property } from 'lit-element';

if (src) {
return html`<button>
return html`<button aria-label="${alt}">
<img alt="${alt}" src="${src}"></img>

@@ -64,3 +64,3 @@ </button>

return html`
<button>
<button aria-label="${alt}">
<div id="abbr">${initial(abbr)}</div>

@@ -67,0 +67,0 @@ </button>

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