Socket
Socket
Sign inDemoInstall

lit-element

Package Overview
Dependencies
Maintainers
14
Versions
83
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 4.0.6 to 4.1.0

4

development/lit-element.d.ts

@@ -10,7 +10,7 @@ /**

*
* LitElement components can define a template and a set of observed
* LitElement components can define a template and a set of observed
* properties. Changing an observed property triggers a re-render of the
* element.
*
* Import {@linkcode LitElement} and {@linkcode html} from this module to
* Import {@linkcode LitElement} and {@linkcode html} from this module to
* create a component:

@@ -17,0 +17,0 @@ *

@@ -10,7 +10,7 @@ /**

*
* LitElement components can define a template and a set of observed
* LitElement components can define a template and a set of observed
* properties. Changing an observed property triggers a re-render of the
* element.
*
* Import {@linkcode LitElement} and {@linkcode html} from this module to
* Import {@linkcode LitElement} and {@linkcode html} from this module to
* create a component:

@@ -228,3 +228,3 @@ *

// This line will be used in regexes to search for LitElement usage.
(globalThis.litElementVersions ??= []).push('4.0.6');
(globalThis.litElementVersions ??= []).push('4.1.0');
if (DEV_MODE && globalThis.litElementVersions.length > 1) {

@@ -231,0 +231,0 @@ issueWarning('multiple-versions', `Multiple versions of Lit loaded. Loading multiple versions ` +

@@ -10,7 +10,7 @@ /**

*
* LitElement components can define a template and a set of observed
* LitElement components can define a template and a set of observed
* properties. Changing an observed property triggers a re-render of the
* element.
*
* Import {@linkcode LitElement} and {@linkcode html} from this module to
* Import {@linkcode LitElement} and {@linkcode html} from this module to
* create a component:

@@ -17,0 +17,0 @@ *

@@ -1,2 +0,2 @@

import{ReactiveElement as t}from"@lit/reactive-element";export*from"@lit/reactive-element";import{render as e,noChange as i}from"lit-html";export*from"lit-html";
import{ReactiveElement as e}from"@lit/reactive-element";export*from"@lit/reactive-element";import{render as n,noChange as l}from"lit-html";export*from"lit-html";
/**

@@ -6,3 +6,3 @@ * @license

* SPDX-License-Identifier: BSD-3-Clause
*/class s extends t{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const i=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=e(i,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return i}}s._$litElement$=!0,s[("finalized","finalized")]=!0,globalThis.litElementHydrateSupport?.({LitElement:s});const r=globalThis.litElementPolyfillSupport;r?.({LitElement:s});const o={_$AK:(t,e,i)=>{t._$AK(e,i)},_$AL:t=>t._$AL};(globalThis.litElementVersions??=[]).push("4.0.6");export{s as LitElement,o as _$LE};
*/class h extends e{constructor(){super(...arguments),this.renderOptions={host:this},this.o=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this.o=n(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this.o?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this.o?.setConnected(!1)}render(){return l}}h._$litElement$=!0,h["finalized"]=!0,globalThis.litElementHydrateSupport?.({LitElement:h});const f=globalThis.litElementPolyfillSupport;f?.({LitElement:h});const x={_$AK:(t,e,s)=>{t._$AK(e,s)},_$AL:t=>t._$AL};(globalThis.litElementVersions??=[]).push("4.1.0");export{h as LitElement,x as _$LE};
//# sourceMappingURL=lit-element.js.map
{
"name": "lit-element",
"version": "4.0.6",
"version": "4.1.0",
"publishConfig": {

@@ -253,3 +253,3 @@ "access": "public"

"@lit/reactive-element": "^2.0.4",
"lit-html": "^3.1.2"
"lit-html": "^3.2.0"
},

@@ -256,0 +256,0 @@ "devDependencies": {

@@ -1,2 +0,2 @@

import{_$LE as t}from"./lit-element.js";
import{_$LE as v}from"./lit-element.js";
/**

@@ -6,3 +6,3 @@ * @license

* SPDX-License-Identifier: BSD-3-Clause
*/const e={attributeToProperty:t._$AK,changedProperties:t._$AL};export{e as _$LE};
*/const x={attributeToProperty:v._$AK,changedProperties:v._$AL};export{x as _$LE};
//# sourceMappingURL=private-ssr-support.js.map

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