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

@vaadin/themable-element

Package Overview
Dependencies
Maintainers
16
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vaadin/themable-element - npm Package Compare versions

Comparing version 0.2.0 to 0.3.0

9

package.json
{
"name": "@vaadin/themable-element",
"version": "0.2.0",
"version": "0.3.0",
"author": "Vaadin Ltd",

@@ -14,3 +14,2 @@ "license": "Apache-2.0",

"files": [
"custom_typings/",
"themable-element.d.ts*",

@@ -20,4 +19,4 @@ "themable-element.js*"

"dependencies": {
"@polymer/polymer": "^3.3.0",
"@vaadin/vaadin-themable-mixin": "^1.5.2",
"@polymer/polymer": "^3.2.0",
"@vaadin/vaadin-themable-mixin": "^1.6.1",
"lit-element": "^2.3.0",

@@ -32,3 +31,3 @@ "lit-html": "^1.0.0"

},
"gitHead": "938c4c73427a160ec1fba1a625352de50faf92b8"
"gitHead": "c83bb8903ef1a84e011035b3ba30a99dfbc98e7f"
}

@@ -12,5 +12,8 @@ # @vaadin/themable-element

registerStyles('my-lit-element', css`
/* Styles which will be included in my-element local scope */
`);
registerStyles(
'my-lit-element',
css`
/* Styles which will be included in my-element local scope */
`
);
```

@@ -17,0 +20,0 @@

@@ -9,4 +9,4 @@ import { DomModule } from '@polymer/polymer/lib/elements/dom-module.js';

const prefixes = ['lumo-', 'material-'];
const vaadinThemeA = prefixes.filter(p => moduleNameA.indexOf(p) === 0).length > 0;
const vaadinThemeB = prefixes.filter(p => moduleNameB.indexOf(p) === 0).length > 0;
const vaadinThemeA = prefixes.filter((p) => moduleNameA.indexOf(p) === 0).length > 0;
const vaadinThemeB = prefixes.filter((p) => moduleNameB.indexOf(p) === 0).length > 0;
let result;

@@ -34,3 +34,3 @@ if (vaadinA !== vaadinB) {

const { modules } = DomModule.prototype;
sortModules(modules).forEach(moduleName => {
sortModules(modules).forEach((moduleName) => {
const themeFor = modules[moduleName].getAttribute('theme-for');

@@ -37,0 +37,0 @@ if (themeFor) {

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