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

@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.07e91417.0 to 0.26.0-canary.0a492ae8.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.07e91417.0",
"version": "0.26.0-canary.0a492ae8.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.a986df922.0",
"@material/dom": "=14.0.0-canary.a986df922.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.a986df922.0",
"@material/feature-targeting": "=14.0.0-canary.a986df922.0",
"@material/ripple": "=14.0.0-canary.a986df922.0",
"@material/theme": "=14.0.0-canary.a986df922.0"
},

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

},
"gitHead": "9fcacc1890992ebd650dca508478ea3a276a1ebe"
"gitHead": "9f520a49648fd39a7140df761448008fe0fbb492"
}

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc