helium-animated-pages
helium-animated-pages copied to clipboard
fix(deps): update dependency lit to v2.8.0
This PR contains the following updates:
| Package | Change | Age | Confidence |
|---|---|---|---|
| lit (source) | 2.2.0 -> 2.8.0 |
Release Notes
lit/lit (lit)
v2.8.0
Minor Changes
- #3993
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]:- lit-html@2.8.0
v2.7.6
Patch Changes
-
#3968
5bb40831- Allow undefined to be passed to the ref() directive -
#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.5
Patch Changes
v2.7.4
Patch Changes
v2.7.3
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 props
v2.7.2
Patch Changes
v2.7.1
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.0
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 errors -
Updated dependencies [
4d698430,b95c86e5,e00f6f52,88a40177]:- lit-html@2.7.0
- lit-element@3.3.0
v2.6.1
Patch Changes
-
#3526
65e56655- Disable ShadyDOM noPatch in Node dev build. This fixes the issue of throwing due to undefinedwindow. -
#3561
e5c254e9- Fix built-in shimming ofHTMLElementfor Node build ofreactive-elementto respect existingHTMLElementin global
v2.6.0
Minor Changes
-
#3522
72fcf0d7- When running in Node, Lit now automatically includes minimal DOM shims which are sufficient for most SSR (Server Side Rendering) use-cases, removing the need to import the global DOM shim from@lit-labs/ssr.The new
@lit-labs/ssr-dom-shimpackage has been introduced, which exports anHTMLElement,CustomElementRegistry, and defaultcustomElementssingleton.The existing
@lit-labs/ssrglobal DOM shim can still be used, and is compatible with the new package, because@lit-labs/ssrimports from@lit-labs/ssr-dom-shim. Importing the global DOM shim adds more APIs to the global object, such as a globalHTMLElement,TreeWalker,fetch, and other APIs. It is recommended that users try to remove usage of the@lit-labs/ssrDOM shim, and instead rely on the more minimal, automatic shimming that@lit/reactive-elementnow provides automatically.
Patch Changes
- Updated dependencies [
72fcf0d7]:- @lit/reactive-element@1.6.0
- lit-html@2.6.0
v2.5.0
Minor Changes
- #3507
b152db29-lit-htmlandreactive-elementnow include development Node builds with unminified code and dev warnings.
Patch Changes
- Updated dependencies [
b152db29]:- lit-html@2.5.0
- @lit/reactive-element@1.5.0
v2.4.1
Patch Changes
v2.4.0
Minor Changes
- #3318
21313077- Adds anisServervariable export tolitandlit-html/is-server.jswhich will betruein Node andfalsein the browser. This can be used when authoring components to change behavior based on whether or not the component is executing in an SSR context.
Patch Changes
-
#3320
305852d4- Thelitpackage now specifies and "types" export condition allowing TypeScriptmoduleResolutionto benodenext. -
Updated dependencies [
21313077]:- lit-html@2.4.0
v2.3.1
Patch Changes
-
#3222
486739ec- FixCSSStyleSheet is not definederror that would occur when importing a Lit component in Node when both staticstylesand the@propertydecorator were used.
v2.3.0
Minor Changes
- #3156
ae6f6808- Lit and its underlying libraries can now be imported directly from Node without crashing, without the need to load the @lit-labs/ssr dom-shim library. Note that actually rendering from a Node context still requires the @lit-labs/ssr dom-shim, and the appropriate integration between @lit-labs/ssr and your framework/tool.
Patch Changes
-
#3003
daddeb34- Lit'sasync-directivenow re-exports everything from thedirectivemodule. -
#3120
6361a4b4- Bindthisto custom attribute converter methods -
Updated dependencies [
daddeb34,0725fdb4,3766ae4c,6361a4b4,ae6f6808]:- lit-html@2.3.0
- @lit/reactive-element@1.4.0
v2.2.8
Patch Changes
-
#3130
1f0567f1- Export the underlying type of thekeyeddirective. -
#3132
2fe2053f- Added "types" entry to package exports. This tells newer versions of TypeScript where to look for typings for each module.
v2.2.7
Patch Changes
- #2978
634d4560- Changed the caching behavior of the css`` template literal tag so that same-text styles do not share a CSSStyleSheet. Note that this may be a breaking change in some very unusual scenarios on Chromium and Firefox > 101 only.
v2.2.6
Patch Changes
v2.2.5
Patch Changes
- #2952
a78cc3b7- Fix SSR hydration bug relating to and other void elements having attribute bindings.
v2.2.4
Patch Changes
-
#2847
79d82385- Fix typo in API docs for live() directive. -
#2828
b3b6bc33- Remove private Lit 2 migration helpers:INTERNALandclearContainerForLit2MigrationOnly. This logic is no longer depended on.
v2.2.3
Patch Changes
-
#2732
3e181bcb- Enforce use of file extensions in imports. Fixes an issue with older TypeScript compilers. -
#2688
ef178ef6- Add explicit types to the jsdoc code samples forquery,queryAll, andqueryAsync.
v2.2.2
Patch Changes
-
#2657
a6069c40- Remove readonly restriction fromStyleInfointerface as addition, deletion, and updating of styles is valid. ExpandedstyleMapdocumentation with links to lit.dev. -
#2642
badc532c- Add an additional security brand check to StaticValues; Similar to #2307 -
#2691
171143bd- Fixesrefbug when auto-bound class method used as a callback could incorrectly receiveundefined. -
#2661
9a3a38cd- Give a clearer error message when rendering into null/undefined -
#2646
365cd09a- Clarify that hacking around the template strings array brand error can create security vulnerabilities.
v2.2.1
Patch Changes
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.
- [ ] If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.