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 #145

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 30, 2023

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
type-plus (source) ^6.0.0 -> ^7.0.0 age adoption passing confidence

Release Notes

unional/type-plus (type-plus)

v7.6.2

Compare Source

Fixed excessive stack depth error around Zeros type #​427 by @​ehoogeveen-medweb

Simplify Omit type as the simpler code is working with typescript 5.4

v7.6.1

Compare Source

v7.6.0

Compare Source

Minor Changes
  • 036094b: Support Delete and Insert for SplitAt.
Patch Changes

v7.5.0

Compare Source

Minor Changes
  • 4f1e6e8: Add UnionType and IsUnion

  • 1bee392: Improve FindFirst and ArrayPlus.Find to support union_miss and never cases,
    and some bug fixes.

  • b3d0af0: Export the improved Required type.

  • bc535d4: Support customization for Head and Tail

  • d2f97ca: Add options support for:

    • TupleType, IsTuple, NotTupleType, IsNotTuple
    • DropFirst, DropLast,
    • FindFirst, ArrayPlus.FindFirst, TuplePlus.FindFirst

    Add MergeOptions.
    Add NotUnknownOr (all use cases are handled by MergeOptions at the moment)

  • 94bb1c0: Improve FindFirst,
    add ArrayPlus.Find and TuplePlus.Find

  • 4e7e310: Clean up CommonPropKeys.

    Add ArrayPlus.CommonPropKeys and TuplePlus.CommonPropKeys.
    Add support of caseNever.

  • 7a647ca: Support override never case for TupleType, IsTuple, IsNotTuple, and NotTupleType

Patch Changes
  • 91211c9: Rename caseNoMatch to caseNotMatch.
    Rename caseUnionMiss to caseUnionNotMatch.

    Change caseUnionNotMatch default from undefined to never,
    making it defaults to the type behavior instead of JavaScript behavior.

  • 8a60488: Move TestType under testType so that it is exported

v7.4.0

Compare Source

Minor Changes
  • b55a61d: Deprecate drop() as it does not sufficiently support the needed types.
  • cb2c686: Add extends(), union(), intersect(), union_*, intersect_* to InspectedType.
Patch Changes
  • 8115873: Separate Filter and PadStart for array and tuple
  • 9f08f56: Improve Head and Last to support empty_tuple override
  • 9f08f56: Improve IntersectOfProps to work with array just for completeness.
  • 8101816: Improve DropFirst and DropLast to support overriding cases.
  • 58da4b3: Update export field to export ./package.json.
  • 2454ab2: Improve CommonPropKeys

v7.3.1

Compare Source

Patch Changes
  • 90eb2a4: Update package.json try fixing readme references

v7.3.0

Compare Source

Minor Changes
  • e8547eb: Add IsOptionalKey<T, K>.
  • bd6c695: Add OptionalProps<T>.
    Improve OptionalKeys<T> and IsOptionalKey<T, K>
  • d3faa0b: Add OptionalKeys<T>
Patch Changes
  • d214ce6: Improve testType.inspect<T>(fn) to provide more information about T.

    Not consider as breaking change as the function is not expected to be use in any code.

v7.2.1

Compare Source

Patch Changes
  • 6be5fa7: Improve IsLiteral type to support boolean, bigint, and symbol.
  • 0f0b9f8: Improve LeftJoin type behavior.

v7.2.0

Compare Source

Minor Changes
  • a52cce0: Add testType.inspect<T>(fn) for easy type inspection.

v7.1.1

Compare Source

Patch Changes
  • 26537d8: Improve RecursivePartial to work with function type.
    Also add | undefined to make it compliant with exactOptionalPropertyTypes.

v7.1.0

Compare Source

Minor Changes
  • aacb1ff: Add AnyOrNeverType for parity.

    Update some code's JSDocs.

Patch Changes
  • ede34c2: Improve exports field
  • 74a71e3: remove extra empty {} for LeftJoin
  • 2d74ff0: Support verbatimModuleSyntax

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
  • Update Add, Subtract, and added Multiply which now works with number, bigint, positive, negative, and floating point.

  • 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.

v6.5.0

Compare Source

Minor Changes
  • 99afa70: Add Failed and FailedT error type.
Patch Changes
  • c741e86: Improve Brand and Flavor to handle all types.
    Added Branded and Flavored interface to improve their rendering in IDE.

v6.4.0

Compare Source

Minor Changes
  • bcc4b09: Adding a new set of types for type-level programming.

    • IsAnyOrNever
    • AnyType, IsAny, NotAnyType, IsNotAny
    • NeverType, IsNever, NotNeverType, IsNotNever
    • StrictBooleanType, IsStrictBoolean, NotStrictBooleanType, IsNotStrictBoolean
    • BooleanType, NotBooleanType, IsNotBoolean
    • TrueType, IsTrue, NotTrueType, IsNotTrue
    • FalseType, IsFalse, NotFalseType, IsNotFalse
    • ObjectType, IsObject, NotObjectType, IsNotObject
    • StrictFunctionType, IsStrictFunction, NotStrictFunctionType, IsNotStrictFunction
    • FunctionType, IsFunction, NotFunctionType, IsNotFunction
    • UndefinedType, IsUndefined, NotUndefinedType, IsNotUndefined
    • NumberType, IsNumber, NotNumberType, IsNotNumber
    • StrictNumberType, IsStrictNumber, NotStrictNumberType, IsNotStrictNumber
    • StringType, IsString, NotStringType, IsNotString
    • StrictStringType, IsStrictString, NotStrictStringType, IsNotStrictString
    • SymbolType, IsSymbol, NotSymbolType, IsNotSymbol
    • BigIntType, IsBigInt, NotBigIntType, IsNotBigInt
    • StrictBigIntType, IsStrictBigInt, NotStrictBigIntType, IsNotStrictBigInt
    • VoidType, IsVoid, NotVoidType, IsNotVoid
    • UnknownType, IsUnknown, NotUnknownType, IsNotUnknown
    • Positive, IsPositive, NotPositive, IsNotPositive

    Adding a new testType for testing.
    It provides better testing support compares to isType and assertType.

    Improve:

    • Equal: to support all known scenarios.

v6.3.0

Compare Source

Minor Changes
Patch Changes

v6.2.0

Compare Source

Minor Changes
  • bc82e90: Fix number types to support never correctly.

    Add IsInteger, Positive.

Patch Changes
  • 23fd42a: Fix NumberType to handle any and union.

v6.1.0

Compare Source

Minor Changes
  • b640352: Add ArrayType<A>

  • 569ff77: Export Concat under ArrayPlus.

  • 15257ec: Add ArrayPlus.IsIndexOutOfBound<A, N>

  • 82bed0e: Add ArrayPlus.IndexAt.

    Update At to use IndexAt to get consistent results.

  • 015d046: Fix IsAny and add to AnyType.
    Now using the same mechanism from ts-essentials.

  • 3ff303c: Add NumberType<T>

Patch Changes
  • 812949b: Default CreateTuple<_, T> to unknown.

    With TypeScript 5.0, the tuple size limit is now 9999.

  • 52d6200: Clean up type imports.
    Use Awaited instead of PromiseValue.


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 is behind base branch, 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 was generated by Mend Renovate. View the repository job log.

@changeset-bot
Copy link

changeset-bot bot commented May 30, 2023

⚠️ No Changeset found

Latest commit: 99e00c7

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

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

Successfully merging this pull request may close these issues.

0 participants