fix(deps): update dependency type-plus to v7 #145
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^6.0.0
->^7.0.0
Release Notes
unional/type-plus (type-plus)
v7.6.2
Compare Source
Fixed excessive stack depth error around
Zeros
type #427 by @ehoogeveen-medwebSimplify
Omit
type as the simpler code is working with typescript 5.4v7.6.1
Compare Source
v7.6.0
Compare Source
Minor Changes
036094b
: SupportDelete
andInsert
forSplitAt
.Patch Changes
e76c689
: Add keywordsv7.5.0
Compare Source
Minor Changes
4f1e6e8
: AddUnionType
andIsUnion
1bee392
: ImproveFindFirst
andArrayPlus.Find
to supportunion_miss
andnever
cases,and some bug fixes.
b3d0af0
: Export the improvedRequired
type.bc535d4
: Support customization forHead
andTail
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 byMergeOptions
at the moment)94bb1c0
: ImproveFindFirst
,add
ArrayPlus.Find
andTuplePlus.Find
4e7e310
: Clean upCommonPropKeys
.Add
ArrayPlus.CommonPropKeys
andTuplePlus.CommonPropKeys
.Add support of
caseNever
.7a647ca
: Support overridenever
case forTupleType
,IsTuple
,IsNotTuple
, andNotTupleType
Patch Changes
91211c9
: RenamecaseNoMatch
tocaseNotMatch
.Rename
caseUnionMiss
tocaseUnionNotMatch
.Change
caseUnionNotMatch
default fromundefined
tonever
,making it defaults to the type behavior instead of JavaScript behavior.
8a60488
: Move TestType undertestType
so that it is exportedv7.4.0
Compare Source
Minor Changes
b55a61d
: Deprecatedrop()
as it does not sufficiently support the needed types.cb2c686
: Addextends()
,union()
,intersect()
,union_*
,intersect_*
toInspectedType
.Patch Changes
8115873
: SeparateFilter
andPadStart
for array and tuple9f08f56
: ImproveHead
andLast
to support empty_tuple override9f08f56
: ImproveIntersectOfProps
to work with array just for completeness.8101816
: ImproveDropFirst
andDropLast
to support overriding cases.58da4b3
: Update export field to export./package.json
.2454ab2
: ImproveCommonPropKeys
v7.3.1
Compare Source
Patch Changes
90eb2a4
: Update package.json try fixing readme referencesv7.3.0
Compare Source
Minor Changes
e8547eb
: AddIsOptionalKey<T, K>
.bd6c695
: AddOptionalProps<T>
.Improve
OptionalKeys<T>
andIsOptionalKey<T, K>
d3faa0b
: AddOptionalKeys<T>
Patch Changes
d214ce6
: ImprovetestType.inspect<T>(fn)
to provide more information aboutT
.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
: ImproveIsLiteral
type to supportboolean
,bigint
, andsymbol
.0f0b9f8
: ImproveLeftJoin
type behavior.v7.2.0
Compare Source
Minor Changes
a52cce0
: AddtestType.inspect<T>(fn)
for easy type inspection.v7.1.1
Compare Source
Patch Changes
26537d8
: ImproveRecursivePartial
to work with function type.Also add
| undefined
to make it compliant withexactOptionalPropertyTypes
.v7.1.0
Compare Source
Minor Changes
aacb1ff
: AddAnyOrNeverType
for parity.Update some code's JSDocs.
Patch Changes
ede34c2
: Improveexports
field74a71e3
: remove extra empty{}
forLeftJoin
2d74ff0
: SupportverbatimModuleSyntax
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
: RemoveDigit
andDigitArray
.They are internal types to begin with.
They were exported probably to fix the "type cannot be named" error.
469c8bd
: Fix arrayPadStart
/PadLeft
that triggers an infinite loop.Change default
PadWith
fromany
tounknown
(breaking).Minor Changes
Update
Add
,Subtract
, and addedMultiply
which now works withnumber
,bigint
, positive, negative, and floating point.e11d43c
: ExposeFindLast
also asArrayPlus.FindList
.Improved its handling of array.
25e5fcb
: addNumericPlus
ee14247
: AddArrayPlus.SplitAt
a49abe2
: Mark the following code as deprecated:isType.t()
isType.f()
isType.never()
4352d51
: AddStringToNumber
,StringToBigint
, andStringToNumeric
e93e366
: Add alternativePartial<T>
type that works withexactOptionalPropertyTypes
.10af363
: AddArrayPlus.Reverse<A>
82ffd7d
: AddNumericToString
72aca9d
: AddMathPlus.ToNegative
09495be
: AddArrayPlus.Entries<A>
.3e0e199
: Add remaining types totestType.*
.testType
is changed to a proxy to simplify implementation.73bbcf0
: AddPadStart
, deprecasePadLeft
65e84c4
: ExposeFindFirst
also asArrayPlus.Find
.Improved its handling of array.
d2997de
: DeprecateEqual
andNotEqual
. They are renamed toIsEqual
andIsNotEqual
.Equal
andNotEqual
will be changed tofilter
variant (a.k.a.parse
variant) in the future.180a455
: AddTuplePlus.PadStart
.7bf5d39
: AddStrictCanAssign<A,B>
andtestType.strictCanAssign()
010a788
: DeprecateassertType(subject constructor)
.Add
T/F
toExtendable
andNotExtendable
.74cc654
: AliasSome
underArrayPlus.Some
.4054c64
:GreaterThan
andMax
now support floating point and negative numbers, andbigint
Patch Changes
8461752
:At
should returnV | undefined
for tuple whenN
isnumber
(orany
which includesnumber
).aaffd23
: fixSome<Array<number | string>, number>
to returnboolean
.This is because besides
Array<number | string>
can be[1, 'a']
,it can also be:
So
Some<Array<number | string>, number>
should distribute and returnboolean
.4878eb0
:At
should returnV | undefined
for array.afc1840
: AddUpper
andLower
forIndexAt
.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
: ImproveAbs
to work withbigint
v6.8.1
Compare Source
Patch Changes
caa70e9
: Support isolated stub.builder use case.v6.8.0
Compare Source
Minor Changes
38b59e9
: Addstub.builder()
c2b6f37
: Add moretestType.*
:testType.undefined()
testType.null()
testType.bigint()
testType.strictBigint()
testType.string()
testType.strictString()
Patch Changes
38b59e9
:stub.build()
should not accept noinit
value.v6.7.1
Compare Source
Patch Changes
963f8a4
: Pass stub value to init function forstub()
v6.7.0
Compare Source
Minor Changes
cf32375
: AddNoInfer<T>
and improvestub()
v6.6.0
Compare Source
Minor Changes
e098b7c
: AddStringSplit
6a4bfd7
: AddStringIncludes
type.Patch Changes
a9825e6
: Update JSDocs7496bba
: Remove extra unique symbol.f52c794
: FixEqual<A, B>
to handle optional param.v6.5.0
Compare Source
Minor Changes
99afa70
: AddFailed
andFailedT
error type.Patch Changes
c741e86
: ImproveBrand
andFlavor
to handle all types.Added
Branded
andFlavored
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
andassertType
.Improve:
Equal
: to support all known scenarios.v6.3.0
Compare Source
Minor Changes
1168aca
: AddTupleType
Patch Changes
97888e9
:Equal
handles tuplev6.2.0
Compare Source
Minor Changes
bc82e90
: Fix number types to supportnever
correctly.Add
IsInteger
,Positive
.Patch Changes
23fd42a
: FixNumberType
to handleany
and union.v6.1.0
Compare Source
Minor Changes
b640352
: AddArrayType<A>
569ff77
: ExportConcat
underArrayPlus
.15257ec
: AddArrayPlus.IsIndexOutOfBound<A, N>
82bed0e
: AddArrayPlus.IndexAt
.Update
At
to useIndexAt
to get consistent results.015d046
: FixIsAny
and add toAnyType
.Now using the same mechanism from
ts-essentials
.3ff303c
: AddNumberType<T>
Patch Changes
812949b
: DefaultCreateTuple<_, T>
tounknown
.With TypeScript 5.0, the tuple size limit is now 9999.
52d6200
: Clean up type imports.Use
Awaited
instead ofPromiseValue
.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.
This PR was generated by Mend Renovate. View the repository job log.