Packages

@preact/signals-core

1.14.5 · 27 Oct 2026MIT17.2M / weekRepositoryHomepagenpmAtom feed

Your version

1.8.0

4 Aug 2024Where it was published

1.14.5 is the newest release of 1.x.

In short

1 new

Release note

Minor Changes

  • Adjust the ReadOnlySignal type to not inherit from Signal
    this way the type can't be widened without noticing, i.e. when
    we'd have

    const sig: Signal = useComputed(() => x);

    We would have widened the type to be mutable again, which for
    a computed is not allowed. We want to provide the tools to our
    users to avoid these footguns hence we are correcting this type
    in a minor version.

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.