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

lit-element

Package Overview
Dependencies
Maintainers
1
Versions
84
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lit-element - npm Package Compare versions

Comparing version 0.4.8 to 0.4.9

2

lit-element-extended.d.ts

@@ -26,3 +26,3 @@ import { svg, TemplateResult } from '../lit-html/lit-html.js';

refresh(callback?: () => any): Promise<void>;
render(): TemplateResult;
render(data?: object): TemplateResult;
readonly $: HTMLCollectionByID;

@@ -29,0 +29,0 @@ accessKey: string;

@@ -25,3 +25,3 @@ import { html, svg, TemplateResult } from '../lit-html/lit-html.js';

refresh(callback?: () => any): Promise<void>;
render(): TemplateResult;
render(data?: object): TemplateResult;
readonly $: HTMLCollectionByID;

@@ -28,0 +28,0 @@ accessKey: string;

@@ -67,3 +67,3 @@ import { TemplateResult, TemplateFactory } from '../lit-html/lit-html.js';

refresh(callback?: () => any): Promise<void>;
render(): TemplateResult;
render(data?: object): TemplateResult;
readonly $: HTMLCollectionByID;

@@ -70,0 +70,0 @@ accessKey: string;

@@ -130,3 +130,3 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {

*/
renderFunction(this.render(), this.shadowRoot);
renderFunction(this.render(Object.assign({}, this.__data)), this.shadowRoot);
}

@@ -224,3 +224,3 @@ /**

postponedRender() {
renderFunction(this.render(), this.shadowRoot);
renderFunction(this.render(Object.assign({}, this.__data)), this.shadowRoot);
for (let callback of this.__renderCallbacks) {

@@ -270,3 +270,3 @@ callback();

*/
render() {
render(data) {
return html ``;

@@ -273,0 +273,0 @@ }

@@ -6,3 +6,3 @@ {

"name": "lit-element",
"version": "0.4.8",
"version": "0.4.9",
"description": "Implements lit-html via a LitElement class. Made for custom Elements.",

@@ -9,0 +9,0 @@ "main": "lit-element.js",

@@ -170,3 +170,3 @@ import { TemplateResult, TemplateFactory } from '../node_modules/lit-html/lit-html.js';

*/
renderFunction(this.render(), this.shadowRoot)
renderFunction(this.render({...this.__data}), this.shadowRoot)
}

@@ -272,3 +272,3 @@

postponedRender() {
renderFunction(this.render(), this.shadowRoot)
renderFunction(this.render({...this.__data}), this.shadowRoot)

@@ -320,3 +320,3 @@ for (let callback of this.__renderCallbacks) {

*/
render(): TemplateResult {
render(data?: object): TemplateResult {
return html``;

@@ -323,0 +323,0 @@ }

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