Socket
Socket
Sign inDemoInstall

lit-element

Package Overview
Dependencies
Maintainers
11
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 3.0.0-rc.2 to 3.0.0-rc.3

8

development/lit-element.d.ts

@@ -75,3 +75,3 @@ /**

protected static ['finalized']: boolean;
static _$litElement$: boolean;
static ['_$litElement$']: boolean;
/**

@@ -85,3 +85,3 @@ * @category rendering

*/
protected createRenderRoot(): ShadowRoot | Element;
protected createRenderRoot(): Element | ShadowRoot;
/**

@@ -120,3 +120,3 @@ * Updates the element. This method reflects property values to attributes

* to keep a number of (otherwise private) top-level exports mangled in the
* client side code, we export a _Φ object containing those members (or
* client side code, we export a _$LE object containing those members (or
* helper methods for accessing private fields of those members), and then

@@ -131,3 +131,3 @@ * re-export them for use in lit-ssr. This keeps lit-ssr agnostic to whether the

*/
export declare const _Φ: {
export declare const _$LE: {
_$attributeToProperty: (el: LitElement, name: string, value: string | null) => void;

@@ -134,0 +134,0 @@ _$changedProperties: (el: LitElement) => any;

@@ -58,7 +58,2 @@ /**

const DEV_MODE = true;
// IMPORTANT: do not change the property name or the assignment expression.
// This line will be used in regexes to search for LitElement usage.
// TODO(justinfagnani): inject version number at build time
// eslint-disable-next-line @typescript-eslint/no-explicit-any
((_a = (_f = globalThis)['litElementVersions']) !== null && _a !== void 0 ? _a : (_f['litElementVersions'] = [])).push('3.0.0-rc.2');
/**

@@ -149,9 +144,10 @@ * Base element class that manages element properties and attributes, and

LitElement['finalized'] = true;
LitElement._$litElement$ = true;
// This property needs to remain unminified.
LitElement['_$litElement$'] = true;
// Install hydration if available
// eslint-disable-next-line @typescript-eslint/no-explicit-any
(_c = (_b = globalThis)['litElementHydrateSupport']) === null || _c === void 0 ? void 0 : _c.call(_b, { LitElement });
(_b = (_a = globalThis)['litElementHydrateSupport']) === null || _b === void 0 ? void 0 : _b.call(_a, { LitElement });
// Apply polyfills if available
// eslint-disable-next-line @typescript-eslint/no-explicit-any
(_e = (_d = globalThis)['litElementPlatformSupport']) === null || _e === void 0 ? void 0 : _e.call(_d, { LitElement });
(_d = (_c = globalThis)['litElementPlatformSupport']) === null || _d === void 0 ? void 0 : _d.call(_c, { LitElement });
// DEV mode warnings

@@ -195,3 +191,3 @@ if (DEV_MODE) {

* to keep a number of (otherwise private) top-level exports mangled in the
* client side code, we export a _Φ object containing those members (or
* client side code, we export a _$LE object containing those members (or
* helper methods for accessing private fields of those members), and then

@@ -206,3 +202,3 @@ * re-export them for use in lit-ssr. This keeps lit-ssr agnostic to whether the

*/
export const _Φ = {
export const _$LE = {
_$attributeToProperty: (el, name, value) => {

@@ -215,2 +211,7 @@ // eslint-disable-next-line

};
// IMPORTANT: do not change the property name or the assignment expression.
// This line will be used in regexes to search for LitElement usage.
// TODO(justinfagnani): inject version number at build time
// eslint-disable-next-line @typescript-eslint/no-explicit-any
((_e = (_f = globalThis)['litElementVersions']) !== null && _e !== void 0 ? _e : (_f['litElementVersions'] = [])).push('3.0.0-rc.3');
//# sourceMappingURL=lit-element.js.map

@@ -11,3 +11,3 @@ /**

* to keep a number of (otherwise private) top-level exports mangled in the
* client side code, we export a _Φ object containing those members (or
* client side code, we export a _$LE object containing those members (or
* helper methods for accessing private fields of those members), and then

@@ -19,3 +19,3 @@ * re-export them for use in lit-ssr. This keeps lit-ssr agnostic to whether the

*/
export declare const _Φ: {
export declare const _$LE: {
attributeToProperty: (el: import("./lit-element.js").LitElement, name: string, value: string | null) => void;

@@ -22,0 +22,0 @@ changedProperties: (el: import("./lit-element.js").LitElement) => any;

@@ -6,3 +6,3 @@ /**

*/
import { _Φ as p } from './lit-element.js';
import { _$LE as p } from './lit-element.js';
/**

@@ -13,3 +13,3 @@ * END USERS SHOULD NOT RELY ON THIS OBJECT.

* to keep a number of (otherwise private) top-level exports mangled in the
* client side code, we export a _Φ object containing those members (or
* client side code, we export a _$LE object containing those members (or
* helper methods for accessing private fields of those members), and then

@@ -21,3 +21,3 @@ * re-export them for use in lit-ssr. This keeps lit-ssr agnostic to whether the

*/
export const _Φ = {
export const _$LE = {
attributeToProperty: p._$attributeToProperty,

@@ -24,0 +24,0 @@ changedProperties: p._$changedProperties,

@@ -296,3 +296,3 @@ /**

render(id) {
log.push(`render-${id}`);
log.push(`render-${id}-${this.isConnected}`);
return (this.id = id);

@@ -319,4 +319,5 @@ }

get child() {
var _a;
// Cast to child so we can access .prop off of the div
return this.shadowRoot.firstElementChild;
return (_a = this.shadowRoot) === null || _a === void 0 ? void 0 : _a.firstElementChild;
}

@@ -343,10 +344,12 @@ }

var _a, _b;
let child = host.child;
const child = host.child;
assert.equal(child.getAttribute('attr'), 'host-attr');
assert.equal(child.prop, 'host-prop');
assert.equal((_a = child.textContent) === null || _a === void 0 ? void 0 : _a.trim(), 'host-node');
child = child.child;
assert.equal(child.getAttribute('attr'), 'child-attr');
assert.equal(child.prop, 'child-prop');
assert.equal((_b = child.textContent) === null || _b === void 0 ? void 0 : _b.trim(), 'child-node');
const grandChild = child.child;
if (grandChild) {
assert.equal(grandChild.getAttribute('attr'), 'child-attr');
assert.equal(grandChild.prop, 'child-prop');
assert.equal((_b = grandChild.textContent) === null || _b === void 0 ? void 0 : _b.trim(), 'child-node');
}
};

@@ -367,8 +370,8 @@ setup(() => {

assert.deepEqual(log, [
'render-host-attr',
'render-host-prop',
'render-host-node',
'render-child-attr',
'render-child-prop',
'render-child-node',
'render-host-attr-true',
'render-host-prop-true',
'render-host-node-true',
'render-child-attr-true',
'render-child-prop-true',
'render-child-node-true',
]);

@@ -452,10 +455,23 @@ });

assert.deepEqual(log, [
'render-host-attr',
'render-host-prop',
'render-host-node',
'render-child-attr',
'render-child-prop',
'render-child-node',
'render-host-attr-true',
'render-host-prop-true',
'render-host-node-true',
'render-child-attr-true',
'render-child-prop-true',
'render-child-node-true',
]);
});
// TODO(kschaaf): render does not currently support rendering to an
// initially disconnected ChildPart (https://github.com/lit/lit/issues/2051)
test.skip('directives render with isConnected: false if first render is while element is disconnected', async () => {
container.appendChild(host);
container.remove();
await nextFrame();
assertRendering(host);
assert.deepEqual(log, [
'render-host-attr-false',
'render-host-prop-false',
'render-host-node-false',
]);
});
});

@@ -462,0 +478,0 @@ });

@@ -7,3 +7,3 @@ import{render as t}from"lit-html";import{hydrate as i}from"lit-html/experimental-hydrate.js";

*/
globalThis.litElementHydrateSupport=({LitElement:s})=>{const e=Object.getOwnPropertyDescriptor(Object.getPrototypeOf(s),"observedAttributes").get;Object.defineProperty(s,"observedAttributes",{get(){return[...e.call(this),"defer-hydration"]}});const h=s.prototype.attributeChangedCallback;s.prototype.attributeChangedCallback=function(t,i,s){"defer-hydration"===t&&null===s&&n.call(this),h.call(this,t,i,s)};const n=s.prototype.connectedCallback;s.prototype.connectedCallback=function(){this.hasAttribute("defer-hydration")||n.call(this)};const o=s.prototype.createRenderRoot;s.prototype.createRenderRoot=function(){return this.shadowRoot?(this.G=!0,this.shadowRoot):o.call(this)};const r=Object.getPrototypeOf(s.prototype).update;s.prototype.update=function(s){const e=this.render();r.call(this,s),this.G?(this.G=!1,i(e,this.renderRoot,this.renderOptions)):t(e,this.renderRoot,this.renderOptions)}};
globalThis.litElementHydrateSupport=({LitElement:s})=>{const e=Object.getOwnPropertyDescriptor(Object.getPrototypeOf(s),"observedAttributes").get;Object.defineProperty(s,"observedAttributes",{get(){return[...e.call(this),"defer-hydration"]}});const h=s.prototype.attributeChangedCallback;s.prototype.attributeChangedCallback=function(t,i,s){"defer-hydration"===t&&null===s&&n.call(this),h.call(this,t,i,s)};const n=s.prototype.connectedCallback;s.prototype.connectedCallback=function(){this.hasAttribute("defer-hydration")||n.call(this)};const o=s.prototype.createRenderRoot;s.prototype.createRenderRoot=function(){return this.shadowRoot?(this._$AG=!0,this.shadowRoot):o.call(this)};const r=Object.getPrototypeOf(s.prototype).update;s.prototype.update=function(s){const e=this.render();r.call(this,s),this._$AG?(this._$AG=!1,i(e,this.renderRoot,this.renderOptions)):t(e,this.renderRoot,this.renderOptions)}};
//# sourceMappingURL=experimental-hydrate-support.js.map

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

export*from"@lit/reactive-element";export*from"lit-html";export{LitElement,UpdatingElement,_Φ}from"./lit-element.js";export*from"@lit/reactive-element/decorators/base.js";export*from"@lit/reactive-element/decorators/custom-element.js";export*from"@lit/reactive-element/decorators/property.js";export*from"@lit/reactive-element/decorators/state.js";export*from"@lit/reactive-element/decorators/event-options.js";export*from"@lit/reactive-element/decorators/query.js";export*from"@lit/reactive-element/decorators/query-all.js";export*from"@lit/reactive-element/decorators/query-async.js";export*from"@lit/reactive-element/decorators/query-assigned-nodes.js";
export*from"@lit/reactive-element";export*from"lit-html";export{LitElement,UpdatingElement,_$LE}from"./lit-element.js";export*from"@lit/reactive-element/decorators/base.js";export*from"@lit/reactive-element/decorators/custom-element.js";export*from"@lit/reactive-element/decorators/property.js";export*from"@lit/reactive-element/decorators/state.js";export*from"@lit/reactive-element/decorators/event-options.js";export*from"@lit/reactive-element/decorators/query.js";export*from"@lit/reactive-element/decorators/query-all.js";export*from"@lit/reactive-element/decorators/query-async.js";export*from"@lit/reactive-element/decorators/query-assigned-nodes.js";
/**

@@ -3,0 +3,0 @@ * @license

@@ -75,3 +75,3 @@ /**

protected static ['finalized']: boolean;
static _$litElement$: boolean;
static ['_$litElement$']: boolean;
/**

@@ -85,3 +85,3 @@ * @category rendering

*/
protected createRenderRoot(): ShadowRoot | Element;
protected createRenderRoot(): Element | ShadowRoot;
/**

@@ -120,3 +120,3 @@ * Updates the element. This method reflects property values to attributes

* to keep a number of (otherwise private) top-level exports mangled in the
* client side code, we export a _Φ object containing those members (or
* client side code, we export a _$LE object containing those members (or
* helper methods for accessing private fields of those members), and then

@@ -131,3 +131,3 @@ * re-export them for use in lit-ssr. This keeps lit-ssr agnostic to whether the

*/
export declare const _Φ: {
export declare const _$LE: {
_$attributeToProperty: (el: LitElement, name: string, value: string | null) => void;

@@ -134,0 +134,0 @@ _$changedProperties: (el: LitElement) => any;

@@ -6,3 +6,3 @@ import{ReactiveElement as t}from"@lit/reactive-element";export*from"@lit/reactive-element";import{render as e,noChange as r}from"lit-html";export*from"lit-html";

* SPDX-License-Identifier: BSD-3-Clause
*/var i,l,o,s,n,a;const c=t;(null!==(i=(a=globalThis).litElementVersions)&&void 0!==i?i:a.litElementVersions=[]).push("3.0.0-rc.2");class h extends t{constructor(){super(...arguments),this.renderOptions={host:this},this.Φt=void 0}createRenderRoot(){var t,e;const r=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=r.firstChild),r}update(t){const r=this.render();super.update(t),this.Φt=e(r,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this.Φt)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this.Φt)||void 0===t||t.setConnected(!1)}render(){return r}}h.finalized=!0,h._$litElement$=!0,null===(o=(l=globalThis).litElementHydrateSupport)||void 0===o||o.call(l,{LitElement:h}),null===(n=(s=globalThis).litElementPlatformSupport)||void 0===n||n.call(s,{LitElement:h});const u={K:(t,e,r)=>{t.K(e,r)},L:t=>t.L};export{h as LitElement,c as UpdatingElement,u as _Φ};
*/var i,l,o,s,n,a;const c=t;class h extends t{constructor(){super(...arguments),this.renderOptions={host:this},this._$Dt=void 0}createRenderRoot(){var t,e;const r=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=r.firstChild),r}update(t){const r=this.render();super.update(t),this._$Dt=e(r,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Dt)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Dt)||void 0===t||t.setConnected(!1)}render(){return r}}h.finalized=!0,h._$litElement$=!0,null===(l=(i=globalThis).litElementHydrateSupport)||void 0===l||l.call(i,{LitElement:h}),null===(s=(o=globalThis).litElementPlatformSupport)||void 0===s||s.call(o,{LitElement:h});const u={_$AK:(t,e,r)=>{t._$AK(e,r)},_$AL:t=>t._$AL};(null!==(n=(a=globalThis).litElementVersions)&&void 0!==n?n:a.litElementVersions=[]).push("3.0.0-rc.3");export{h as LitElement,c as UpdatingElement,u as _$LE};
//# sourceMappingURL=lit-element.js.map
{
"name": "lit-element",
"version": "3.0.0-rc.2",
"version": "3.0.0-rc.3",
"publishConfig": {

@@ -78,10 +78,7 @@ "access": "public"

"/decorators/",
"/development/",
"/src/",
"!/src/demo/",
"!/src/test/"
"/development/"
],
"dependencies": {
"@lit/reactive-element": "^1.0.0-rc.2",
"lit-html": "^2.0.0-rc.3"
"lit-html": "^2.0.0-rc.4"
},

@@ -94,3 +91,3 @@ "devDependencies": {

"@webcomponents/template": "^1.4.4",
"@webcomponents/webcomponentsjs": "^2.5.0",
"@webcomponents/webcomponentsjs": "^2.6.0",
"chokidar-cli": "^2.1.0",

@@ -97,0 +94,0 @@ "downlevel-dts": "^0.6.0",

@@ -7,3 +7,3 @@ !function(i){"function"==typeof define&&define.amd?define(i):i()}((function(){"use strict";var i,n,o;i=function(){

*/
var i,n,o="__scoped";null!==(i=(n=globalThis).reactiveElementPlatformSupport)&&void 0!==i||(n.reactiveElementPlatformSupport=function(i){var n=i.ReactiveElement;if(void 0!==window.ShadyCSS&&(!window.ShadyCSS.nativeShadow||window.ShadyCSS.ApplyShim)){var t=n.prototype;window.ShadyDOM&&window.ShadyDOM.inUse&&!0===window.ShadyDOM.noPatch&&window.ShadyDOM.patchElementProto(t);var d=t.createRenderRoot;t.createRenderRoot=function(){var i,n,t,e=this.localName;if(window.ShadyCSS.nativeShadow)return d.call(this);if(!this.constructor.hasOwnProperty(o)){this.constructor[o]=!0;var v=this.constructor.elementStyles.map((function(i){return i instanceof CSSStyleSheet?Array.from(i.cssRules).reduce((function(i,n){return i+n.cssText}),""):i.cssText}));null===(n=null===(i=window.ShadyCSS)||void 0===i?void 0:i.ScopingShim)||void 0===n||n.prepareAdoptedCssText(v,e),void 0===this.constructor.J&&window.ShadyCSS.prepareTemplateStyles(document.createElement("template"),e)}return null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions)};var e=t.connectedCallback;t.connectedCallback=function(){e.call(this),this.hasUpdated&&window.ShadyCSS.styleElement(this)};var v=t.E;t.E=function(i){var n=!this.hasUpdated;v.call(this,i),n&&window.ShadyCSS.styleElement(this)}}})},"function"==typeof define&&define.amd?define(i):i(),function(i){"function"==typeof define&&define.amd?define(i):i()}((function(){
var i,n,o="__scoped";null!==(i=(n=globalThis).reactiveElementPlatformSupport)&&void 0!==i||(n.reactiveElementPlatformSupport=function(i){var n=i.ReactiveElement;if(void 0!==window.ShadyCSS&&(!window.ShadyCSS.nativeShadow||window.ShadyCSS.ApplyShim)){var t=n.prototype;window.ShadyDOM&&window.ShadyDOM.inUse&&!0===window.ShadyDOM.noPatch&&window.ShadyDOM.patchElementProto(t);var d=t.createRenderRoot;t.createRenderRoot=function(){var i,n,t,e=this.localName;if(window.ShadyCSS.nativeShadow)return d.call(this);if(!this.constructor.hasOwnProperty(o)){this.constructor[o]=!0;var u=this.constructor.elementStyles.map((function(i){return i instanceof CSSStyleSheet?Array.from(i.cssRules).reduce((function(i,n){return i+n.cssText}),""):i.cssText}));null===(n=null===(i=window.ShadyCSS)||void 0===i?void 0:i.ScopingShim)||void 0===n||n.prepareAdoptedCssText(u,e),void 0===this.constructor._$AJ&&window.ShadyCSS.prepareTemplateStyles(document.createElement("template"),e)}return null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions)};var e=t.connectedCallback;t.connectedCallback=function(){e.call(this),this.hasUpdated&&window.ShadyCSS.styleElement(this)};var u=t._$AE;t._$AE=function(i){this.hasUpdated||window.ShadyCSS.styleElement(this),u.call(this,i)}}})},"function"==typeof define&&define.amd?define(i):i(),function(i){"function"==typeof define&&define.amd?define(i):i()}((function(){
/**

@@ -14,3 +14,3 @@ * @license

*/
var i,n,o=new Set,t=new Map;null!==(i=(n=globalThis).litHtmlPlatformSupport)&&void 0!==i||(n.litHtmlPlatformSupport=function(i,n){if(void 0!==window.ShadyCSS&&(!window.ShadyCSS.nativeShadow||window.ShadyCSS.ApplyShim)){var d=function(i){var n=t.get(i);return void 0===n&&t.set(i,n=[]),n},e=new Map,v=i.createElement;i.createElement=function(n,o){var t=v.call(i,n,o),e=null==o?void 0:o.scope;if(void 0!==e){window.ShadyCSS.nativeShadow||window.ShadyCSS.prepareTemplateDom(t,e);var u=d(e),w=t.content.querySelectorAll("style");u.push.apply(u,Array.from(w).map((function(i){var n;return null===(n=i.parentNode)||void 0===n||n.removeChild(i),i.textContent})))}return t};var u=document.createDocumentFragment(),w=document.createComment(""),r=n.prototype,f=r.I;r.I=function(i,n){var e,v,r;void 0===n&&(n=this);var s,l=this.A.parentNode,a=null===(e=this.options)||void 0===e?void 0:e.scope;if(l instanceof ShadowRoot&&void 0!==(s=a)&&!o.has(s)){var h=this.A,c=this.B;u.appendChild(w),this.A=w,this.B=null,f.call(this,i,n);var y=(null===(v=i)||void 0===v?void 0:v._$litType$)?this.H.D.el:document.createElement("template");if(function(i,n){var e=d(i),v=0!==e.length;if(v){var u=document.createElement("style");u.textContent=e.join("\n"),n.content.appendChild(u)}o.add(i),t.delete(i),window.ShadyCSS.prepareTemplateStyles(n,i),v&&window.ShadyCSS.nativeShadow&&n.content.appendChild(n.content.querySelector("style"))}(a,y),u.removeChild(w),null===(r=window.ShadyCSS)||void 0===r?void 0:r.nativeShadow){var p=y.content.querySelector("style");null!==p&&u.appendChild(p.cloneNode(!0))}l.insertBefore(u,c),this.A=h,this.B=c}else f.call(this,i,n)},r.C=function(n){var o,t=null===(o=this.options)||void 0===o?void 0:o.scope,d=e.get(t);void 0===d&&e.set(t,d=new Map);var v=d.get(n.strings);return void 0===v&&d.set(n.strings,v=new i(n,this.options)),v}}})})),null!==(n=(o=globalThis).litElementPlatformSupport)&&void 0!==n||(o.litElementPlatformSupport=function(i){var n=i.LitElement;if(void 0!==window.ShadyCSS&&(!window.ShadyCSS.nativeShadow||window.ShadyCSS.ApplyShim)){n.J=!0;var o=n.prototype,t=o.createRenderRoot;o.createRenderRoot=function(){return this.renderOptions.scope=this.localName,t.call(this)}}})}));
var i,n,o=new Set,t=new Map;null!==(i=(n=globalThis).litHtmlPlatformSupport)&&void 0!==i||(n.litHtmlPlatformSupport=function(i,n){if(void 0!==window.ShadyCSS&&(!window.ShadyCSS.nativeShadow||window.ShadyCSS.ApplyShim)){var d=function(i){return void 0!==i&&!o.has(i)},e=function(i){var n=t.get(i);return void 0===n&&t.set(i,n=[]),n},u=new Map,v=i.createElement;i.createElement=function(n,o){var t=v.call(i,n,o),u=null==o?void 0:o.scope;if(void 0!==u&&(window.ShadyCSS.nativeShadow||window.ShadyCSS.prepareTemplateDom(t,u),d(u))){var w=e(u),r=t.content.querySelectorAll("style");w.push.apply(w,Array.from(r).map((function(i){var n;return null===(n=i.parentNode)||void 0===n||n.removeChild(i),i.textContent})))}return t};var w=document.createDocumentFragment(),r=document.createComment(""),f=n.prototype,s=f._$AI;f._$AI=function(i,n){var u,v,f;void 0===n&&(n=this);var l=this._$AA.parentNode,a=null===(u=this.options)||void 0===u?void 0:u.scope;if(l instanceof ShadowRoot&&d(a)){var h=this._$AA,c=this._$AB;w.appendChild(r),this._$AA=r,this._$AB=null,s.call(this,i,n);var y=(null===(v=i)||void 0===v?void 0:v._$litType$)?this._$AH._$AD.el:document.createElement("template");if(function(i,n){var d,u=e(i),v=0!==u.length;v&&((d=document.createElement("style")).textContent=u.join("\n"),n.content.appendChild(d)),o.add(i),t.delete(i),window.ShadyCSS.prepareTemplateStyles(n,i),v&&window.ShadyCSS.nativeShadow&&null!==(d=n.content.querySelector("style"))&&n.content.appendChild(d)}(a,y),w.removeChild(r),null===(f=window.ShadyCSS)||void 0===f?void 0:f.nativeShadow){var p=y.content.querySelector("style");null!==p&&w.appendChild(p.cloneNode(!0))}l.insertBefore(w,c),this._$AA=h,this._$AB=c}else s.call(this,i,n)},f._$AC=function(n){var o,t=null===(o=this.options)||void 0===o?void 0:o.scope,d=u.get(t);void 0===d&&u.set(t,d=new Map);var e=d.get(n.strings);return void 0===e&&d.set(n.strings,e=new i(n,this.options)),e}}})})),null!==(n=(o=globalThis).litElementPlatformSupport)&&void 0!==n||(o.litElementPlatformSupport=function(i){var n=i.LitElement;if(void 0!==window.ShadyCSS&&(!window.ShadyCSS.nativeShadow||window.ShadyCSS.ApplyShim)){n._$AJ=!0;var o=n.prototype,t=o.createRenderRoot;o.createRenderRoot=function(){return this.renderOptions.scope=this.localName,t.call(this)}}})}));
//# sourceMappingURL=polyfill-support.js.map

@@ -11,3 +11,3 @@ /**

* to keep a number of (otherwise private) top-level exports mangled in the
* client side code, we export a _Φ object containing those members (or
* client side code, we export a _$LE object containing those members (or
* helper methods for accessing private fields of those members), and then

@@ -19,3 +19,3 @@ * re-export them for use in lit-ssr. This keeps lit-ssr agnostic to whether the

*/
export declare const _Φ: {
export declare const _$LE: {
attributeToProperty: (el: import("./lit-element.js").LitElement, name: string, value: string | null) => void;

@@ -22,0 +22,0 @@ changedProperties: (el: import("./lit-element.js").LitElement) => any;

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

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

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

* SPDX-License-Identifier: BSD-3-Clause
*/const e={attributeToProperty:t.K,changedProperties:t.L};export{e as _Φ};
*/const e={attributeToProperty:t._$AK,changedProperties:t._$AL};export{e 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

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

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

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

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