Socket
Socket
Sign inDemoInstall

@material/mwc-base

Package Overview
Dependencies
10
Maintainers
15
Versions
721
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.26.0-canary.b6fe2a12.0 to 0.26.0-canary.b9d35b69.0

17

aria-property.js

@@ -14,3 +14,3 @@ /**

/**
* lit-element uses internal properties with two leading underscores to
* lit uses internal properties with two leading underscores to
* provide storage for accessors

@@ -31,2 +31,8 @@ */

}
// TODO(b/202853219): Remove this check when internal tooling is
// compatible
// tslint:disable-next-line:no-any bail if applied to internal generated class
if (prototype.dispatchWizEvent) {
return descriptor;
}
const wrappedDescriptor = {

@@ -38,4 +44,5 @@ configurable: true,

const options = constructor.getPropertyOptions(name);
// the attribute will be a string at runtime
attribute = options.attribute;
// if attribute is not a string, use `name` instead
attribute =
typeof options.attribute === 'string' ? options.attribute : name;
}

@@ -79,3 +86,5 @@ if (this.hasAttribute(attribute)) {

*/
export function ariaProperty(protoOrDescriptor, name, descriptor) {
export function ariaProperty(protoOrDescriptor, name,
// tslint:disable-next-line:no-any any is required as a return type from decorators
descriptor) {
if (name !== undefined) {

@@ -82,0 +91,0 @@ return tsDecorator(protoOrDescriptor, name, descriptor);

@@ -7,3 +7,3 @@ /**

import { MDCFoundation } from '@material/base';
import { LitElement } from 'lit-element';
import { LitElement } from 'lit';
import { Constructor } from './utils';

@@ -10,0 +10,0 @@ export { CustomEventListener, EventType, SpecificEventListener } from '@material/base/types';

@@ -6,3 +6,3 @@ /**

*/
import { LitElement } from 'lit-element';
import { LitElement } from 'lit';
export { addHasRemoveClass } from './utils';

@@ -9,0 +9,0 @@ /** @soyCompatible */

@@ -10,3 +10,3 @@ /**

// tslint:disable:strip-private-property-underscore
import { property } from 'lit-element';
import { property } from 'lit/decorators.js';
import { addHasRemoveClass, BaseElement } from './base-element';

@@ -13,0 +13,0 @@ export { addHasRemoveClass, BaseElement };

{
"name": "@material/mwc-base",
"version": "0.26.0-canary.b6fe2a12.0",
"version": "0.26.0-canary.b9d35b69.0",
"description": "",

@@ -15,12 +15,12 @@ "main": "base-element.js",

"@lit/reactive-element": "1.0.0-rc.4",
"@material/base": "=13.0.0-canary.65125b3a6.0",
"@material/dom": "=13.0.0-canary.65125b3a6.0",
"lit-element": "^3.0.0",
"@material/base": "=14.0.0-canary.c047f7c19.0",
"@material/dom": "=14.0.0-canary.c047f7c19.0",
"lit": "^2.0.0",
"tslib": "^2.0.1"
},
"devDependencies": {
"@material/elevation": "=13.0.0-canary.65125b3a6.0",
"@material/feature-targeting": "=13.0.0-canary.65125b3a6.0",
"@material/ripple": "=13.0.0-canary.65125b3a6.0",
"@material/theme": "=13.0.0-canary.65125b3a6.0"
"@material/elevation": "=14.0.0-canary.c047f7c19.0",
"@material/feature-targeting": "=14.0.0-canary.c047f7c19.0",
"@material/ripple": "=14.0.0-canary.c047f7c19.0",
"@material/theme": "=14.0.0-canary.c047f7c19.0"
},

@@ -30,3 +30,3 @@ "publishConfig": {

},
"gitHead": "06feede8e75d655952f3a43b5c971276c26fe92e"
"gitHead": "8ee41fe865471367787d08d3f94d1800c5712d3b"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc