Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: sveltejs/language-tools
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: svelte-check-4.0.7
Choose a base ref
...
head repository: sveltejs/language-tools
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: svelte-check-4.0.8
Choose a head ref
  • 4 commits
  • 31 files changed
  • 2 contributors

Commits on Nov 12, 2024

  1. fix: fall back to any instead of unknown for untyped $props (#2582

    )
    
    The idea was to be conservative about it, but this causes problems for people not wanting strict type checking but only a basic form of it. Falling back to `any` is the more pragmatic choice
    
    #2556
    dummdidumm authored Nov 12, 2024
    Configuration menu
    Copy the full SHA
    77160ff View commit details
    Browse the repository at this point in the history

Commits on Nov 14, 2024

  1. perf: check for and return promise instead of awaiting (#2586)

    There are some checks in `SvelteDocument` where we do the work once in case it hasn't started yet. But we're potentially doing the work more often than necessary, because we're awaiting the result before assigning it to the "chache" and returning it. That way, if another request would come in while the promise isn't resolve yet, we would kick off another needless compile. This fixes that by assigning the promise to the "cache" instead.
    dummdidumm authored Nov 14, 2024
    Configuration menu
    Copy the full SHA
    1b205c2 View commit details
    Browse the repository at this point in the history

Commits on Nov 15, 2024

  1. fix: robustify and fix file writing

    - throw an error if writing didn't work (ts doesn't throw itself)
    - fix html path logic
    
    #2584
    dummdidumm committed Nov 15, 2024
    Configuration menu
    Copy the full SHA
    b83b665 View commit details
    Browse the repository at this point in the history
  2. fix: hoist types related to $props rune if possible (#2571)

    This allows TypeScript to resolve the type more easily, especialy when in dts mode. The advantage is that now the type would be preserved as written, whereas without it the type would be inlined/infered, i.e. the interface that declares the props would not be kept
    dummdidumm authored Nov 15, 2024
    Configuration menu
    Copy the full SHA
    bf2e459 View commit details
    Browse the repository at this point in the history
Loading
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy