stable-store@1.0.0-beta.2
Pre-releaseMinor Changes
-
93304c7: Drop support of
MissingInit<>.
It now allows creating store with type specified but not initial value.
In that case, the resulting store will add| undefinedto the value type.This change is made to accommodate the usage of
options. -
5d3a0e2:
getStore()takes an object instead.
Patch Changes
-
66c0578: Pin
type-plusto the exact version8.0.0-beta.10.type-plusis a devDependency in both packages and its types do not leak into the
emitted declarations (the only imports live in*.spec.ts, whichfilesexcludes
from the published tarball). Consumers therefore inherit nothing from the upgrade —
no newtypescript >= 5.6.0peer, no runtime dependency change — so this is a patch.The version is pinned rather than caret-ranged because
^8.0.0-beta.10resolves to
>=8.0.0-beta.10 <9.0.0-0, which admits every later8.0.0prerelease as well as
8.0.0and8.1.0. The 8 line is a prerelease line where breaking changes land
between betas (beta.10 -> beta.11 changedEqual's signature and removed
isType.f). An exact version makes each bump a reviewable PR instead of something a
lockfile refresh can do silently. -
998833b: Update TypeScript to 5.4.5.
Adjust type to supportexactOptionalPropertyTypes.