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

@vaadin/vaadin-themable-mixin

Package Overview
Dependencies
Maintainers
14
Versions
482
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vaadin/vaadin-themable-mixin - npm Package Compare versions

Comparing version 23.0.6 to 23.0.7

4

package.json
{
"name": "@vaadin/vaadin-themable-mixin",
"version": "23.0.6",
"version": "23.0.7",
"publishConfig": {

@@ -43,3 +43,3 @@ "access": "public"

},
"gitHead": "82ca8522e24a63343fb28bcb4c686e55d25c8858"
"gitHead": "005c2d85db8f50cd3b239dd89ac467add6a71049"
}

@@ -182,3 +182,11 @@ /**

function hasThemes(tagName) {
const elementClass = customElements.get(tagName);
return classHasThemes(customElements.get(tagName));
}
/**
* Check if the custom element type has themes applied.
* @param {Function} elementClass
* @returns {boolean}
*/
function classHasThemes(elementClass) {
return elementClass && Object.prototype.hasOwnProperty.call(elementClass, '__themes');

@@ -201,3 +209,3 @@ }

const template = this.prototype._template;
if (!template || hasThemes(this.is)) {
if (!template || classHasThemes(this)) {
return;

@@ -204,0 +212,0 @@ }

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