chore(deps): update devdependency lit to v3 - autoclosed #284
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.8.0
->^3.0.2
Release Notes
lit/lit (lit)
v3.0.2
Compare Source
Patch Changes
02b8d620
- Add a dev mode warning if a static value such asliteral
orunsafeStatic
is detected within the non-statichtml
tag function. These should only be used with the statichtml
tag function imported fromlit-html/static.js
orlit/static-html.js
.v3.0.1
Compare Source
Patch Changes
#4240
edf998c9
Thanks @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 yourvalue
might be missing a valid case in the union.#4310
8f674ab3
Thanks @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.#4284
89a5b088
- Allownull
to be in the type of@query()
decorated fieldsv3.0.0
Compare Source
Major Changes
#3756
f06f7972
- Drop IE11 support#4146
0f6878dc
- Generated accessor for reactive properties now wrap user accessors and automatically callthis.requestUpdate()
in the setter. As in previous versions, users can still specifynoAccessor: true
, in which case they should callthis.requestUpdate()
themselves in the setter if they want to trigger a reactive update.#3765
92cedaa2
- Remove experimental hydrate modules. These are available from@lit-labs/ssr-client
.#3850
7e8491d4
- Delete deprecated queryAssignedNodes behavior and arguments.Migrate deprecated usage with a selector argument to use
@queryAssignedElements
. E.g.:@queryAssignedNodes('list', true, '.item')
to@queryAssignedElements({slot: '', flatten: false, selector: '.item'})
.#4254
1040f758
- Change the type ofReactiveElement.renderRoot
and return type ofReactiveElement.createRenderRoot()
to beHTMLElement | DocumentFragment
to match each other and lit-html'srender()
method.#3759
1db01376
- Use replaceWith() for SVG templates#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 parts#3896
2eba6997
- Warn on async overrides of performUpdate()Patch Changes
#4183
6470807f
- Make the decorators work with theaccessor
keyword whenexperimentalDecorators
is true.#4141
6b515e43
- Update TypeScript to ~5.2.0#3710
09949234
- Addundefined
to the return type of PropertyValues.get()#3762
23c404fd
- Remove Lit 1 -> Lit 2 migration warnings#3918
2a01471a
- Some code golf on ReactiveElement#3809
6f2833fd
- Use for/of loops in more placesUpdated dependencies:
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), 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 has been generated by Mend Renovate. View repository job log here.