Socket
Socket
Sign inDemoInstall

@assecosolutions/fox-avatar

Package Overview
Dependencies
Maintainers
4
Versions
100
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@assecosolutions/fox-avatar - npm Package Compare versions

Comparing version 1.11.5 to 1.11.6-beta-0.1-beta.0

8

index.js

@@ -1607,2 +1607,3 @@ import { css, LitElement, html as html$2 } from 'lit';

render() {
if (this.image) this.checkImage();
return html$2(_t || (_t = _` ${0} `), this.image ? this.renderImage() : this.renderLabel());

@@ -1632,2 +1633,9 @@ }

}
checkImage() {
const img = new Image();
img.src = this.image;
img.onerror = () => {
this.image = '';
};
}
}

@@ -1634,0 +1642,0 @@ FoxAvatar.styles = [styles];

4

package.json
{
"name": "@assecosolutions/fox-avatar",
"version": "1.11.5",
"version": "1.11.6-beta-0.1-beta.0",
"public": true,

@@ -24,4 +24,4 @@ "publishConfig": {

"peerDependencies": {
"lit": "^2.0.0"
"lit": "^2.5.0"
}
}

@@ -52,4 +52,5 @@ import { LitElement } from 'lit';

protected renderInitials(): import("lit-html").TemplateResult<1>;
protected checkImage(): void;
}
declare const name = "fox-avatar";
export {};
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