Skip to content

Releases: cyberuni/unpartial

v1.0.8

Choose a tag to compare

@github-actions github-actions released this 07 Sep 05:20
b2aa8c8

Patch Changes

  • a123600: Pin type-plus (devDependency) to the exact 8.0.0-beta.10.

    type-plus is used only in this package's test file (assertType, isType.equal),
    never re-exported or referenced from ts/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

Choose a tag to compare

@github-actions github-actions released this 01 Sep 08:14
e195d68

Patch Changes

  • b1938e2: Rebuild with tsdown instead of tsc + buddy ts build cjs.

    The published paths are unchanged — cjs/index.js, esm/index.js and their
    .d.ts/.map siblings 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.node moves from >=6 to >= 20 to match. The >=6 value has been wrong
    since this package became "type": "module" with an exports map, neither of which
    Node 6 understands.

v1.0.6

Choose a tag to compare

@github-actions github-actions released this 24 Aug 03:03
a18479e

Patch Changes

  • 40bc7b3: Point repository metadata at cyberuni/unpartial and publish through npm trusted
    publishing (OIDC) with provenance.

v1.0.5

Choose a tag to compare

@unional unional released this 03 Jun 03:40

Patch Changes

  • cac4c5d: Improve exports/main/module fields

v1.0.4

Choose a tag to compare

@unional unional released this 23 Sep 11:17

Patch Changes

  • 4e3eba3: Omit Pick when it is not needed.

v1.0.3

Choose a tag to compare

@unional unional released this 13 Sep 19:50

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 to required(parent, base, partial) to make it more flexible.
    But note that it is incorrect as the values are not deeply merged.

v1.0.2

Choose a tag to compare

@unional unional released this 02 Sep 19:22

Patch Changes

  • 6070a75: Update types to fix some use cases.
    It is now based on the type from required() but make some improvements.

    • Result now honors | undefined property
    • Type is constructed instead of intersect, making it easier to read

v1.0.1

Choose a tag to compare

@github-actions github-actions released this 01 Sep 09:26

Patch Changes

Major Changes

  • dabbde0: The unpartial() is rewritten to improve its type management,
    and ignore undefined and null properties.

    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.

v0.7.5

Choose a tag to compare

@unional unional released this 11 Jun 10:11

0.7.5 (2022-06-11)

Bug Fixes

v0.7.4

Choose a tag to compare

@unional unional released this 04 Jun 08:19

0.7.4 (2022-06-04)

Bug Fixes