fix(deps): update dependency lit to v3 #35
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.6.1->^3.0.0Release Notes
lit/lit (lit)
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.#4976
a126d8df- Fix minor regression in property converters. fromAttribute may return either null or undefined.v3.3.0Compare Source
Minor Changes
#4901
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.#4934
4824c4ce- Adds property option foruseDefault. When set, the initial default value is not considered a change and does not reflect whenreflectis set. In addition, when the attribute is removed, the default value is restored.Patch Changes
#4949
3e2f87f6- fixes inconsistent initial changed properties values#4956
0a9bc720Thanks @louis-bompart! - Import barrels explicitly for compatibility with modern Node resolution w/ ESMUpdated dependencies [
c9160405,3e2f87f6,4824c4ce,0a9bc720]:v3.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 tagPatch Changes
feccc1ba]:v3.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.
Updated dependencies [
1a32b61e,57b00630,dca963f7]:v3.1.1Compare Source
Patch Changes
#4409
1af7991c- asyncReplace correctly re-renders when value is unchanged (#4408)#4473
9a4d569f- Add a warning in dev mode when binding this.requestUpdate directly as an event listener.#4413
f60a3a2c- Remove unused internal parameters torequestUpdate()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.Patch Changes
#4387
bf551b5b- EnsurerenderRootexists before first update (#4268)#4282
c7922a0cThanks @MaxArt2501! - Fix a bug where accessing a@querydecorated field with thecacheflag set before the first update would result innullbeing cached permanently.nullwill no longer be cached before the first update and inDEV_MODEnow raises a warning.#4388
839ca0f8- Fixes bug where adding or removing controllers during a reactive controller lifecycle would affect the execution of other controllers (#4266). Controllers can now be added/removed during lifecycle without affecting others.Updated dependencies [
949a5467]: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.#4284
89a5b088- Allownullto be in the type of@query()decorated fieldsv3.0.0Compare 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.renderRootand return type ofReactiveElement.createRenderRoot()to beHTMLElement | DocumentFragmentto 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 theaccessorkeyword whenexperimentalDecoratorsis true.#4141
6b515e43- Update TypeScript to ~5.2.0#3710
09949234- Addundefinedto 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:
v2.8.0Compare Source
Minor Changes
e2c50569- Fix return type ofisTemplateResulthelper to include theCompiledTemplateResultand fix thecachedirective to work correctly withCompiledTemplateResults. Also add an explicitisCompiledTemplateResulthelper.Patch Changes
#4031
8057c78d- Rename ReactiveElement._initialize to __initialize, make it private, and remove the @internal annotation. This will help prevent collisions with subclasses that implement their own _initialize method, while using development builds.Updated dependencies [
e2c50569]:v2.7.6Compare Source
Patch Changes
#3968
5bb40831- Allow undefined to be passed to the ref() directive#3969
7d8d4a15- Make RefOrCallback generic like Ref#3987
bb2560f1- Change thehfield ofCompiledTemplates to aTemplateStringsArraypreventing the spoofing ofCompiledTemplates by JSON injection attacks. This should not be a breaking change for most users unless you're using CompiledTemplates. This is a necessary security fix, similar to #2307.v2.7.5Compare Source
Patch Changes
f6387e35- Allow decorators to acceptReactiveElementclass from a different source.v2.7.4Compare Source
Patch Changes
308280eb- remove test directory from npm publicationv2.7.3Compare Source
Patch Changes
#3825
343187b1-static-htmlno longer adds an item toTemplateResult's value array for the last consumed static value. This fixes an error with server-side rendering of static html.#3766
4431cbb8- Fix styleMap initial render of mixed-case custom propsv2.7.2Compare Source
Patch Changes
88fe0390- Allow numbers to be used as values in styleMap()v2.7.1Compare Source
Patch Changes
#3768
7c1191da- Fix styleMap's handling of important flags#3720
575fb578-lit-html/experimental-hydrate.jsandlit-element/experimental-hydrate-support.jshave been moved to@lit-labs/ssr-client.The modules in the original location have been marked deprecated and will be removed in a future version.
v2.7.0Compare Source
Minor Changes
#3677
b95c86e5- [SSR only] Reflect ARIA attributes onto server rendered Lit elements with attached internals during SSR and remove them upon hydration.#3667
e00f6f52- [SSR only] Improved how nodes with attribute/property/event/element bindings are rendered in SSR, to avoid adding comments inside of "raw text elements" like<textarea>. Fixes #3663.Note:
@lit-labs/ssrandlit-htmlmust be updated together.Patch Changes
#3583
88a40177- [SSR only] Add more detail to some hydration errorsUpdated dependencies [
4d698430,b95c86e5,e00f6f52,88a40177]: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 was generated by Mend Renovate. View the repository job log.