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
479
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.1.0-alpha2 to 23.1.0-alpha3

6

package.json
{
"name": "@vaadin/vaadin-themable-mixin",
"version": "23.1.0-alpha2",
"version": "23.1.0-alpha3",
"publishConfig": {

@@ -41,5 +41,5 @@ "access": "public"

"@vaadin/testing-helpers": "^0.3.2",
"sinon": "^9.2.4"
"sinon": "^13.0.2"
},
"gitHead": "6842dcb8b163d4512fae8d3d12a6559077a4aee6"
"gitHead": "8c9e64e8dfa158dd52a9bf6da351ff038c88ca85"
}

@@ -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