fix(deps): update dependency lit-html to v3 #155
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^2.2.3→^3.0.0Release Notes
lit/lit (lit-html)
v3.3.2Compare Source
Patch Changes
#5044
0d0170e87b06edd8295a31893c820162d0f16a23Thanks @ava-cassiopeia! - Make ClassInfo mutable#5064
bc2926eb99a97ef4efb7eefbe133d6a33f216e18Thanks @brysonbw! - AddSVGElementto therender()container type, allowing SVG elements to be used as render roots without type errors.#5035
c36626b8018ca78a47e61abdfa5b5904bed06843- Make some of our directives generic, so that their DirectiveResult types capture everything needed to infer their render types. This is useful in template type checking.v3.3.1Compare Source
Patch Changes
#4997
aea85e24- Update README#4988
6792b7efThanks @ADNolan! - Adjusted the comparison to use the name property of the _$resolve function and the resolveOverrideFn in private ssr support to prevent duplicated patching of the directive class.#4975
43a3f4dc- Remove some redundant code from removePart()v3.3.0Compare Source
Minor Changes
c9160405Thanks @maxpatiiuk! - Dev mode warnings are now emitted on the next microtask after package import, allowing for a wider opportunity to suppress the warnings by consumers.Patch Changes
0a9bc720Thanks @louis-bompart! - Import barrels explicitly for compatibility with modern Node resolution w/ ESMv3.2.1Compare Source
Patch Changes
99703a03- Revert the Terser plugin for Rollup torollup-plugin-terserfrom@rollup/plugin-terserdue to a bug that prevented our minified name prefixing from working.
v3.2.0Compare Source
Minor Changes
feccc1ba- Add MathML support with themathmltemplate tagv3.1.4Compare Source
Patch Changes
abf30b3e- The value provided by theref()directive will always beundefinedwhen the element is disconnected.v3.1.3Compare Source
Patch Changes
bd881370- Fix the lit-html marker length to be consistently 9 characters.v3.1.2Compare Source
Patch Changes
#4523
1a32b61e- Add a DEV_MODE error to catch duplicate attribute bindings that otherwise create silent errors.#4485
57b00630- Add "browser" export condition entrypoints to any package.json files with "node"export conditions. This fixes Node test runners emulating browser environments that were incorrectly loading the
"node" entrypoints instead of the browser code.
#4515
dca963f7- Fix a memory leak when patching directive constructors for SSR.v3.1.1Compare Source
Patch Changes
1af7991c- asyncReplace correctly re-renders when value is unchanged (#4408)v3.1.0Compare Source
Minor Changes
949a5467- Adds two new types: UncompiledTemplateResult and MaybeCompiledTemplateResult. Currently UncompiledTemplateResult is the same as TemplateResult, and MaybeCompiledTemplateResult is the union of the compiled and uncompiled types.v3.0.2Compare Source
Patch Changes
02b8d620- Add a dev mode warning if a static value such asliteralorunsafeStaticis detected within the non-statichtmltag function. These should only be used with the statichtmltag function imported fromlit-html/static.jsorlit/static-html.js.v3.0.1Compare Source
Patch Changes
#4240
edf998c9Thanks @remziatay! - Improved the type inferece of thechoose()directive to properly restrict the case type inferred from provided value. Note: If this change creates a type error in your code, there must have been an unreachable case that can be removed, or the type of yourvaluemight be missing a valid case in the union.#4310
8f674ab3Thanks @megheaiulian! - Thewhen()directive now calls the case functions with the provided condition value as an argument. This allows the narrowing of types for the condition value based on its truthiness when used as a parameter for the case function.v3.0.0Compare Source
Major Changes
#3756
f06f7972- Drop IE11 support#3759
1db01376- Use replaceWith() for SVG templates#3765
92cedaa2- Remove experimental hydrate modules. These are available from@lit-labs/ssr-client.#3751
dfd747cf- Simplify lit-html attribute handling for standards-compliant browsers that iterate attributes in source order#3750
c3e473b4- Use toggleAttribute() to simplify boolean attribute partsPatch Changes
#4141
6b515e43- Update TypeScript to ~5.2.0#3762
23c404fd- Remove Lit 1 -> Lit 2 migration warningsConfiguration
📅 Schedule: Branch creation - "before 4am on monday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.