Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update dependency type-plus to v7 #232

Merged
merged 1 commit into from
May 30, 2023
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 30, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
type-plus ^6.5.0 -> ^7.0.0 age adoption passing confidence

Release Notes

unional/type-plus

v7.0.1

Compare Source

Patch Changes
  • 946c602: Remove @internal. It is causing those types to be skipped from output (cjs/esm/*.d.ts).

v7.0.0

Compare Source

Major Changes
  • 91c954f: Remove Digit and DigitArray.

    They are internal types to begin with.
    They were exported probably to fix the "type cannot be named" error.

  • 469c8bd: Fix array PadStart/PadLeft that triggers an infinite loop.

    Change default PadWith from any to unknown (breaking).

Minor Changes
  • e11d43c: Expose FindLast also as ArrayPlus.FindList.

    Improved its handling of array.

  • 25e5fcb: add NumericPlus

  • ee14247: Add ArrayPlus.SplitAt

  • a49abe2: Mark the following code as deprecated:

    • isType.t()
    • isType.f()
    • isType.never()
  • 4352d51: Add StringToNumber, StringToBigint, and StringToNumeric

  • e93e366: Add alternative Partial<T> type that works with exactOptionalPropertyTypes.

  • 10af363: Add ArrayPlus.Reverse<A>

  • 82ffd7d: Add NumericToString

  • 72aca9d: Add MathPlus.ToNegative

  • 09495be: Add ArrayPlus.Entries<A>.

  • 3e0e199: Add remaining types to testType.*.

    testType is changed to a proxy to simplify implementation.

  • 73bbcf0: Add PadStart, deprecase PadLeft

  • 65e84c4: Expose FindFirst also as ArrayPlus.Find.

    Improved its handling of array.

  • d2997de: Deprecate Equal and NotEqual. They are renamed to IsEqual and IsNotEqual.

    Equal and NotEqual will be changed to filter variant (a.k.a. parse variant) in the future.

  • 180a455: Add TuplePlus.PadStart.

  • 7bf5d39: Add StrictCanAssign<A,B> and testType.strictCanAssign()

  • 010a788: Deprecate assertType(subject constructor).
    Add T/F to Extendable and NotExtendable.

  • 74cc654: Alias Some under ArrayPlus.Some.

  • 4054c64: GreaterThan and Max now support floating point and negative numbers, and bigint

Patch Changes
  • 8461752: At should return V | undefined for tuple when N is number (or any which includes number).

  • aaffd23: fix Some<Array<number | string>, number> to return boolean.
    This is because besides Array<number | string> can be [1, 'a'],
    it can also be:

    const v: number | string = 123
    
    const a: Array<number | string> = [v]

    So Some<Array<number | string>, number> should distribute and return boolean.

  • 4878eb0: At should return V | undefined for array.

  • afc1840: Add Upper and Lower for IndexAt.

    This allow fine-grained control over the IndexAt behavior,
    when the value is out of bounds.

    This is used in cases where out-of-bounds values are coarsen to the upper and lower bound of the subject array.

  • d31ea31: Improve Abs to work with bigint

v6.8.1

Compare Source

Patch Changes
  • caa70e9: Support isolated stub.builder use case.

v6.8.0

Compare Source

Minor Changes
  • 38b59e9: Add stub.builder()

  • c2b6f37: Add more testType.*:

    testType.undefined()
    testType.null()
    testType.bigint()
    testType.strictBigint()
    testType.string()
    testType.strictString()

Patch Changes
  • 38b59e9: stub.build() should not accept no init value.

v6.7.1

Compare Source

Patch Changes
  • 963f8a4: Pass stub value to init function for stub()

v6.7.0

Compare Source

Minor Changes
  • cf32375: Add NoInfer<T> and improve stub()

v6.6.0

Compare Source

Minor Changes
Patch Changes
  • a9825e6: Update JSDocs
  • 7496bba: Remove extra unique symbol.
  • f52c794: Fix Equal<A, B> to handle optional param.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@changeset-bot
Copy link

changeset-bot bot commented May 30, 2023

⚠️ No Changeset found

Latest commit: 9670c34

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@codecov
Copy link

codecov bot commented May 30, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (e14cd09) 96.24% compared to head (9670c34) 96.24%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #232   +/-   ##
=======================================
  Coverage   96.24%   96.24%           
=======================================
  Files          24       24           
  Lines         346      346           
  Branches       56       56           
=======================================
  Hits          333      333           
  Misses         13       13           

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@mergify mergify bot merged commit 68108a0 into main May 30, 2023
@mergify mergify bot deleted the renovate/type-plus-7.x branch May 30, 2023 10:34
@unional
Copy link
Owner

unional commented May 30, 2023

🎉 This PR is included in version 11.2.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant