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

alit-element

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

alit-element - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

10

package.json
{
"name": "alit-element",
"version": "0.2.0",
"version": "0.2.1",
"description": "A simple wrapper for lit-element with some enhanced functions",

@@ -26,10 +26,10 @@ "main": "dist/alit-element.js",

"dependencies": {
"@polymer/lit-element": "^0.5.1"
"@polymer/lit-element": "^0.5.2"
},
"devDependencies": {
"@webcomponents/webcomponentsjs": "^2.0.0",
"@webcomponents/webcomponentsjs": "^2.1.1",
"reflect-metadata": "^0.1.12",
"tslint": "^5.10.0",
"typescript": "^2.9.1"
"tslint": "^5.11.0",
"typescript": "^2.9.2"
}
}

@@ -31,3 +31,3 @@ import 'reflect-metadata';

if (!this._$[id]) {
const e = this.shadowRoot.querySelector(`#${id}`);
const e = this.shadowRoot!.querySelector(`#${id}`) as HTMLElement;
if (e) {

@@ -45,3 +45,3 @@ this._$[id] = e;

$$(selector: string): HTMLElement {
return this.shadowRoot.querySelector(selector);
return this.shadowRoot!.querySelector(selector) as HTMLElement;
}

@@ -54,3 +54,3 @@

$$All(selector: string): NodeList {
return this.shadowRoot.querySelectorAll(selector);
return this.shadowRoot!.querySelectorAll(selector);
}

@@ -57,0 +57,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