Releases: cyberuni/unpartial
Release list
v1.0.8
Patch Changes
-
a123600: Pin
type-plus(devDependency) to the exact8.0.0-beta.10.type-plusis used only in this package's test file (assertType,isType.equal),
never re-exported or referenced fromts/index.ts, so it does not appear in the
published.d.ts. No source change was needed and no runtime dependency exists
between this package and type-plus, so consumers see nothing.
v1.0.7
Patch Changes
-
b1938e2: Rebuild with tsdown instead of
tsc+buddy ts build cjs.The published paths are unchanged —
cjs/index.js,esm/index.jsand their
.d.ts/.mapsiblings are all still emitted at the same locations, and the tarball
file list is identical to 1.0.6. What changes is the emitted JavaScript: both builds
now target ES2022, where the CommonJS output was previously downlevelled to ES5.engines.nodemoves from>=6to>= 20to match. The>=6value has been wrong
since this package became"type": "module"with anexportsmap, neither of which
Node 6 understands.
v1.0.6
Patch Changes
- 40bc7b3: Point repository metadata at
cyberuni/unpartialand publish through npm trusted
publishing (OIDC) with provenance.
v1.0.5
v1.0.4
v1.0.3
Patch Changes
-
afa4606: Improve
unpartial(base, partial)type.The type for
unpartial(parent, base, partial)is marked as deprecated.
The type is loosened now similar torequired(parent, base, partial)to make it more flexible.
But note that it is incorrect as the values are not deeply merged.
v1.0.2
v1.0.1
Patch Changes
- fa5dce0: fix cjs package.json
Major Changes
-
dabbde0: The
unpartial()is rewritten to improve its type management,
and ignoreundefinedandnullproperties.While this can be considered as a fix,
it is better to release it as a breaking change this change might accidentally break consuming code.