Socket
Socket
Sign inDemoInstall

@material/mwc-base

Package Overview
Dependencies
Maintainers
21
Versions
721
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@material/mwc-base - npm Package Compare versions

Comparing version 0.26.0-canary.c3aa844c.0 to 0.26.0-canary.ca0a674f.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);

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

@@ -29,3 +29,3 @@ "main": "base-element.js",

},
"gitHead": "a792c732afb00bf097879fdcd7a1ac2a0c5d9506"
"gitHead": "b8e99d19dfc1b6d5062ada3345d461e9a77f18f1"
}

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