From ef3b4e21f66894be14bf3c5f871c7fccf8513c42 Mon Sep 17 00:00:00 2001 From: Patrick Kissling Date: Wed, 15 Nov 2023 16:21:15 +0100 Subject: [PATCH] Downgrade from lit 3 to 2 --- package.json | 10 +++++----- yarn.lock | 48 ++++++++++++++++++++++++------------------------ 2 files changed, 29 insertions(+), 29 deletions(-) diff --git a/package.json b/package.json index 42980f3f..f91a483c 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ "@lit-labs/scoped-registry-mixin": "^1.0.0", "custom-card-helpers": "^1.8.0", "home-assistant-js-websocket": "^9.0.0", - "lit": "^3.0.0", + "lit": "^2.0.0", "luxon": "^3.4.3" }, "devDependencies": { @@ -47,10 +47,10 @@ "typescript": "*" }, "resolutions": { - "lit": "^3.0.0", - "lit-html": "3.0.2", - "lit-element": "4.0.1", - "@lit/reactive-element": "2.0.1" + "lit": "^2.8.0", + "lit-html": "2.8.0", + "lit-element": "3.3.3", + "@lit/reactive-element": "1.6.3" }, "scripts": { "start": "rollup -c rollup.config.dev.js --watch", diff --git a/yarn.lock b/yarn.lock index b655a379..267f7cf1 100644 --- a/yarn.lock +++ b/yarn.lock @@ -422,17 +422,17 @@ "@lit/reactive-element" "^1.0.0 || ^2.0.0" lit "^2.0.0 || ^3.0.0" -"@lit-labs/ssr-dom-shim@^1.1.2": +"@lit-labs/ssr-dom-shim@^1.0.0", "@lit-labs/ssr-dom-shim@^1.1.0": version "1.1.2" resolved "https://registry.yarnpkg.com/@lit-labs/ssr-dom-shim/-/ssr-dom-shim-1.1.2.tgz#d693d972974a354034454ec1317eb6afd0b00312" integrity sha512-jnOD+/+dSrfTWYfSXBXlo5l5f0q1UuJo3tkbMDCYA2lKUYq79jaxqtGEvnRoh049nt1vdo1+45RinipU6FGY2g== -"@lit/reactive-element@2.0.1", "@lit/reactive-element@^1.0.0 || ^2.0.0", "@lit/reactive-element@^2.0.0": - version "2.0.1" - resolved "https://registry.yarnpkg.com/@lit/reactive-element/-/reactive-element-2.0.1.tgz#b17d8818d9c72ccc489f44e35d87cfa18a9c8c93" - integrity sha512-eu50SQXHRthFwWJMp0oAFg95Rvm6MTPjxSXWuvAu7It90WVFLFpNBoIno7XOXSDvVgTrtKnUV4OLJqys2Svn4g== +"@lit/reactive-element@1.6.3", "@lit/reactive-element@^1.0.0 || ^2.0.0", "@lit/reactive-element@^1.3.0", "@lit/reactive-element@^1.6.0": + version "1.6.3" + resolved "https://registry.yarnpkg.com/@lit/reactive-element/-/reactive-element-1.6.3.tgz#25b4eece2592132845d303e091bad9b04cdcfe03" + integrity sha512-QuTgnG52Poic7uM1AN5yJ09QMe0O28e10XzSvWDz02TJiiKee4stsiownEIadWm8nYzyDAyT+gKzUoZmiWQtsQ== dependencies: - "@lit-labs/ssr-dom-shim" "^1.1.2" + "@lit-labs/ssr-dom-shim" "^1.0.0" "@nodelib/fs.scandir@2.1.5": version "2.1.5" @@ -1871,30 +1871,30 @@ levn@^0.4.1: prelude-ls "^1.2.1" type-check "~0.4.0" -lit-element@4.0.1, lit-element@^4.0.0: - version "4.0.1" - resolved "https://registry.yarnpkg.com/lit-element/-/lit-element-4.0.1.tgz#fe9d82e2d034f819156f561f6f23b0ed0c9d19dc" - integrity sha512-OxRMJem4HKZt0320HplLkBPoi4KHiEHoPHKd8Lzf07ZQVAOKIjZ32yPLRKRDEolFU1RgrQBfSHQMoxKZ72V3Kw== +lit-element@3.3.3, lit-element@^3.3.0: + version "3.3.3" + resolved "https://registry.yarnpkg.com/lit-element/-/lit-element-3.3.3.tgz#10bc19702b96ef5416cf7a70177255bfb17b3209" + integrity sha512-XbeRxmTHubXENkV4h8RIPyr8lXc+Ff28rkcQzw3G6up2xg5E8Zu1IgOWIwBLEQsu3cOVFqdYwiVi0hv0SlpqUA== dependencies: - "@lit-labs/ssr-dom-shim" "^1.1.2" - "@lit/reactive-element" "^2.0.0" - lit-html "^3.0.0" + "@lit-labs/ssr-dom-shim" "^1.1.0" + "@lit/reactive-element" "^1.3.0" + lit-html "^2.8.0" -lit-html@3.0.2, lit-html@^3.0.0: - version "3.0.2" - resolved "https://registry.yarnpkg.com/lit-html/-/lit-html-3.0.2.tgz#25d2718b1e095a148a54c63bcd780c7550bb82f8" - integrity sha512-Q1A5lHza3bnmxoWJn6yS6vQZQdExl4fghk8W1G+jnAEdoFNYo5oeBBb/Ol7zSEdKd3TR7+r0zsJQyuWEVguiyQ== +lit-html@2.8.0, lit-html@^2.8.0: + version "2.8.0" + resolved "https://registry.yarnpkg.com/lit-html/-/lit-html-2.8.0.tgz#96456a4bb4ee717b9a7d2f94562a16509d39bffa" + integrity sha512-o9t+MQM3P4y7M7yNzqAyjp7z+mQGa4NS4CxiyLqFPyFWyc4O+nodLrkrxSaCTrla6M5YOLaT3RpbbqjszB5g3Q== dependencies: "@types/trusted-types" "^2.0.2" -"lit@^2.0.0 || ^3.0.0", lit@^2.1.1, lit@^3.0.0: - version "3.0.2" - resolved "https://registry.yarnpkg.com/lit/-/lit-3.0.2.tgz#e22e90c2cbcc3f37bf3c2558df66f3af4331c9cf" - integrity sha512-ZoVUPGgXOQocP4OvxehEOBmC4rWB4cRYDPaz7aFmH8DFytsCi/NeACbr4C6vNPGDEC07BrhUos7uVNayDKLQ2Q== +lit@^2.0.0, "lit@^2.0.0 || ^3.0.0", lit@^2.1.1, lit@^2.8.0: + version "2.8.0" + resolved "https://registry.yarnpkg.com/lit/-/lit-2.8.0.tgz#4d838ae03059bf9cafa06e5c61d8acc0081e974e" + integrity sha512-4Sc3OFX9QHOJaHbmTMk28SYgVxLN3ePDjg7hofEft2zWlehFL3LiAuapWc4U/kYwMYJSh2hTCPZ6/LIC7ii0MA== dependencies: - "@lit/reactive-element" "^2.0.0" - lit-element "^4.0.0" - lit-html "^3.0.0" + "@lit/reactive-element" "^1.6.0" + lit-element "^3.3.0" + lit-html "^2.8.0" locate-path@^5.0.0: version "5.0.0"