camptocamp / ngeo

Library combining OpenLayers and AngularJS
https://camptocamp.github.io/ngeo/master/examples
MIT License
135 stars 87 forks source link

Update dependency lit-html to v3 (master) #9471

Closed renovate[bot] closed 1 month ago

renovate[bot] commented 1 month ago

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
lit-html (source) 2.8.0 -> 3.2.0 age adoption passing confidence

Release Notes

lit/lit (lit-html) ### [`v3.2.0`](https://redirect.github.com/lit/lit/blob/HEAD/packages/lit-html/CHANGELOG.md#320) [Compare Source](https://redirect.github.com/lit/lit/compare/lit-html@3.1.4...lit-html@3.2.0) ##### Minor Changes - [#​4637](https://redirect.github.com/lit/lit/pull/4637) [`feccc1ba`](https://redirect.github.com/lit/lit/commit/feccc1ba8e82b36d07a0e2576381bf2819926b98) - Add MathML support with the `mathml` template tag ### [`v3.1.4`](https://redirect.github.com/lit/lit/blob/HEAD/packages/lit-html/CHANGELOG.md#314) [Compare Source](https://redirect.github.com/lit/lit/compare/lit-html@3.1.3...lit-html@3.1.4) ##### Patch Changes - [#​4646](https://redirect.github.com/lit/lit/pull/4646) [`abf30b3e`](https://redirect.github.com/lit/lit/commit/abf30b3e895ea5d833f6d9559612e2b1ba47580d) - The value provided by the `ref()` directive will always be `undefined` when the element is disconnected. ### [`v3.1.3`](https://redirect.github.com/lit/lit/blob/HEAD/packages/lit-html/CHANGELOG.md#313) [Compare Source](https://redirect.github.com/lit/lit/compare/lit-html@3.1.2...lit-html@3.1.3) ##### Patch Changes - [#​4570](https://redirect.github.com/lit/lit/pull/4570) [`bd881370`](https://redirect.github.com/lit/lit/commit/bd881370b83d366f7654dd510731242a68949a20) - Fix the lit-html marker length to be consistently 9 characters. ### [`v3.1.2`](https://redirect.github.com/lit/lit/blob/HEAD/packages/lit-html/CHANGELOG.md#312) [Compare Source](https://redirect.github.com/lit/lit/compare/lit-html@3.1.1...lit-html@3.1.2) ##### Patch Changes - [#​4523](https://redirect.github.com/lit/lit/pull/4523) [`1a32b61e`](https://redirect.github.com/lit/lit/commit/1a32b61ecf09c2c2e6efac2735c2c627af793286) - Add a DEV_MODE error to catch duplicate attribute bindings that otherwise create silent errors. - [#​4485](https://redirect.github.com/lit/lit/pull/4485) [`57b00630`](https://redirect.github.com/lit/lit/commit/57b006306c269bd835979935dae3062599c4fccf) - 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](https://redirect.github.com/lit/lit/pull/4515) [`dca963f7`](https://redirect.github.com/lit/lit/commit/dca963f7f5d2f7be91f2f073ebabe92d033b3a25) - Fix a memory leak when patching directive constructors for SSR. ### [`v3.1.1`](https://redirect.github.com/lit/lit/blob/HEAD/packages/lit-html/CHANGELOG.md#311) [Compare Source](https://redirect.github.com/lit/lit/compare/lit-html@3.1.0...lit-html@3.1.1) ##### Patch Changes - [#​4409](https://redirect.github.com/lit/lit/pull/4409) [`1af7991c`](https://redirect.github.com/lit/lit/commit/1af7991c27456c7e6073a3ee6f18f102c2adc026) - asyncReplace correctly re-renders when value is unchanged ([#​4408](https://redirect.github.com/lit/lit/issues/4408)) ### [`v3.1.0`](https://redirect.github.com/lit/lit/blob/HEAD/packages/lit-html/CHANGELOG.md#310) [Compare Source](https://redirect.github.com/lit/lit/compare/lit-html@3.0.2...lit-html@3.1.0) ##### Minor Changes - [#​4309](https://redirect.github.com/lit/lit/pull/4309) [`949a5467`](https://redirect.github.com/lit/lit/commit/949a54677748a1f83ec4d166bd40e244de3afda7) - 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.2`](https://redirect.github.com/lit/lit/blob/HEAD/packages/lit-html/CHANGELOG.md#302) [Compare Source](https://redirect.github.com/lit/lit/compare/lit-html@3.0.1...lit-html@3.0.2) ##### Patch Changes - [#​4345](https://redirect.github.com/lit/lit/pull/4345) [`02b8d620`](https://redirect.github.com/lit/lit/commit/02b8d62003a16075ce3873ac3e40db43c0254ecf) - Add a dev mode warning if a static value such as `literal` or `unsafeStatic` is detected within the non-static `html` tag function. These should only be used with the static `html` tag function imported from `lit-html/static.js` or `lit/static-html.js`. ### [`v3.0.1`](https://redirect.github.com/lit/lit/blob/HEAD/packages/lit-html/CHANGELOG.md#301) [Compare Source](https://redirect.github.com/lit/lit/compare/lit-html@3.0.0...lit-html@3.0.1) ##### Patch Changes - [#​4240](https://redirect.github.com/lit/lit/pull/4240) [`edf998c9`](https://redirect.github.com/lit/lit/commit/edf998c9fe34183888ffc781dd330dc8a962dd7a) Thanks [@​remziatay](https://redirect.github.com/remziatay)! - Improved the type inferece of the `choose()` 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 your `value` might be missing a valid case in the union. - [#​4310](https://redirect.github.com/lit/lit/pull/4310) [`8f674ab3`](https://redirect.github.com/lit/lit/commit/8f674ab319e4eadbf5b028f1c0bd15d276c02d0e) Thanks [@​megheaiulian](https://redirect.github.com/megheaiulian)! - The `when()` 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.0`](https://redirect.github.com/lit/lit/blob/HEAD/packages/lit-html/CHANGELOG.md#300) [Compare Source](https://redirect.github.com/lit/lit/compare/lit-html@2.8.0...lit-html@3.0.0) ##### Major Changes - [#​3756](https://redirect.github.com/lit/lit/pull/3756) [`f06f7972`](https://redirect.github.com/lit/lit/commit/f06f7972a027d2937fe2c68ab5af0274dec57cf4) - Drop IE11 support - [#​3759](https://redirect.github.com/lit/lit/pull/3759) [`1db01376`](https://redirect.github.com/lit/lit/commit/1db0137699b35d7e7bfac9b2ab274af4100fd7cf) - Use replaceWith() for SVG templates - [#​3765](https://redirect.github.com/lit/lit/pull/3765) [`92cedaa2`](https://redirect.github.com/lit/lit/commit/92cedaa2c8cd8a306be3fe25d52e0e47bb044020) - Remove experimental hydrate modules. These are available from `@lit-labs/ssr-client`. - [#​3751](https://redirect.github.com/lit/lit/pull/3751) [`dfd747cf`](https://redirect.github.com/lit/lit/commit/dfd747cf4f7239e0c3bb7134f8acb967d0157654) - Simplify lit-html attribute handling for standards-compliant browsers that iterate attributes in source order - [#​3750](https://redirect.github.com/lit/lit/pull/3750) [`c3e473b4`](https://redirect.github.com/lit/lit/commit/c3e473b499ff029b5e1aff01ca8799daf1ca1bbe) - Use toggleAttribute() to simplify boolean attribute parts ##### Patch Changes - [#​4141](https://redirect.github.com/lit/lit/pull/4141) [`6b515e43`](https://redirect.github.com/lit/lit/commit/6b515e43c3a24cc8a593247d3aa72d81bcc724d5) - Update TypeScript to ~5.2.0 - [#​3762](https://redirect.github.com/lit/lit/pull/3762) [`23c404fd`](https://redirect.github.com/lit/lit/commit/23c404fdec0cd7be834221b6ddf9b659c24ca8a2) - Remove Lit 1 -> Lit 2 migration warnings

Configuration

📅 Schedule: Branch creation - "after 5pm on the first day of the month" in timezone Europe/Zurich, Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, 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.