Conversation
🦋 Changeset detectedLatest commit: 353f25a The changes in this PR will be included in the next version bump. This PR includes changesets to release 12 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
📊 Tachometer Benchmark ResultsSummarynop-update
render
update
update-reflect
Resultsthis-change
render
update
update-reflect
this-change, tip-of-tree, previous-release
render
update
nop-update
this-change, tip-of-tree, previous-release
render
update
this-change, tip-of-tree, previous-release
render
update
update-reflect
|
|
Looks like /// <reference types="trusted-types" />That was automatically put there by the typescript compiler, so I'm not sure if we have to manually add it, or if there's a compiler setting that needs to be enabled now. |
|
The size of lit-html.js and lit-core.min.js are as expected. |
|
Interesting that Rollup update, plus this TypeScript update, add 140 bytes to lit-core.min.js in total, meaning that this one reduces the bundle size by 91 bytes. |
|
Looks like we can now import the trusted types… types with something like: import type {...} from '@types/trusted-types/lib';(or maybe it's from |
52c1de5 to
172c4a3
Compare
That's pretty surprising! |
I know! Maybe there's a better emit for nullish coalescing or optional chaining? |
172c4a3 to
65c0845
Compare
65c0845 to
a92fde0
Compare
Hmm. Somehow in a rebase against |
a92fde0 to
247baec
Compare
|
Oh, looking back I think this PR had accidentally reverted some of the Rollup updates. There's now no change in bundle sizes, which makes a little more sense. |
abef13d to
3a7d6cd
Compare
493e0cc to
ed0fc47
Compare
|
In the process of updating TypeScript, and therefore some other dependencies in our wrapper generators, I hit a snag that makes me think we need to stop renaming vue-tsc output files: #4686 It'd be ideal for that to be a separate PR, but I can just add it here to get the update done. |
Also updates trusted-types typings and no longer adds the trusted types to the global object.
ed0fc47 to
353f25a
Compare
Based on #4681
This updates TypeScript to 5.5.
The ElementInternals interface was updated in typescript's lib.dom.d.ts, which required a couple of changes to our SSR DOM shim and revealed a typo in our interface properties.
There's currently a build error due to dependencies of lit-html not finding the definition for TrustedHTML that's in lit-html's public interface. I'm not sure yet if there's a new check in TypeScript, or if a change in the .d.ts emit has caused a type import or reference to
@types/trusted-typesto be omitted. AddingskipLibCheckto dependents of lit-html fixes the problem, but we don't want to require that our dependents do that.Closes #4686