[Snyk] Upgrade fp-ts from 2.12.2 to 2.16.8 #113
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.
Snyk has created this PR to upgrade fp-ts from 2.12.2 to 2.16.8.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 21 versions ahead of your current version.
The recommended version was released on 22 days ago.
Release notes
Package name: fp-ts
Polish
Resolved a RangeError where the maximum call stack size was exceeded when invoking
chainWithIndex
, #1931tapEither
(dual) (akachainFirstEitherK
/chainFirstEitherKW
) #1864tapIO
(dual) (akachainFirstIOK
) #1865as
/asUnit
#1867tapTask
(dual) (akachainFirstTaskK
) #1869mapError
(dual) (akamapLeft
) #1870mapBoth
(dual) (akabimap
) #1872tapReader
(dual) (akachainFirstReaderK
/chainFirstIReaderKW
) #1871tapReaderEither
(dual) (akachainFirstReaderEitherK
/chainFirstEitherKW
) #1873tapReaderIO
(dual) (akachainFirstReaderIOK
) #1873tapReaderTask
(dual) (akachainFirstReaderTaskK
) #1873tapTaskEither
(dual) (akachainFirstTaskEitherK
/chainFirstTaskEitherKW
) #1873flatMapReaderTask
(dual) (akachainReaderTaskK
/chainReaderTaskKW
) #1874flatMapTaskEither
(dual) (akachainTaskEitherK
/chainTaskEitherKW
) #1874flatMapIO
(dual) (akachainIOK
) #1874Option.orElse
(dual) (akaalt
/altW
) #1868flatMapTask
(dual) (akachainTaskK
) #1876flatMapReader
(dual) (akachainReaderK
/chainReaderKW
) #1876flatMapReaderIO
(dual) (akachainReaderIOK
/chainReaderIOKW
) #1879flatMap*
(akachain*K
/chain*KW
) #1880New Feature
function
LazyArg
tap
(dual) (akachainFirst
/chainFirstW
) to:Either
IO
IOEither
IOOption
Option
Reader
ReaderEither
ReaderIO
ReaderTask
ReaderTaskEither
State
StateReaderTaskEither
Task
TaskEither
TaskOption
tapError
(dual) (akaorElseFirst
/orElseFirstW
) to:IOEither
ReaderEither
ReaderTaskEither
TaskEither
flatMapNullable
(dual) to:Either
IOEither
ReaderEither
ReaderTaskEither
StateReaderTaskEither
TaskEither
flatMapOption
(dual) to:Either
IOEither
ReaderEither
ReaderTaskEither
StateReaderTaskEither
TaskEither
liftNullable
to:Either
IOEither
ReaderEither
ReaderTaskEither
StateReaderTaskEither
TaskEither
liftOption
to:Either
IOEither
ReaderEither
ReaderTaskEither
StateReaderTaskEither
TaskEither
flatMapEither
(dual) to:IOEither
ReaderEither
ReaderTaskEither
TaskEither
Array
flatMap
NonEmptyArray
flatMap
ReadonlyArray
flatMap
ReadonlyNonEmptyArray
flatMap
New Feature
flatMap
toEither
IOEither
Reader
ReaderEither
ReaderIO
ReaderTask
ReaderTaskEither
StateReaderTaskEither
TaskEither
NonEmptyArray
ReadonlyNonEmptyArray
Tree
Array
Identity
IO
IOOption
Option
ReadonlyArray
State
Task
TaskOption
the gist is:
chain
/chainW
withflatMap
flatMap
in 2 ways:pipe(ma, flatMap(f))
(data-last, aka pipeable) orflatMap(ma, f)
(data-first)chainOptionKW
, #1846 (@ DenisFrezzato)ReaderIO
, #1738 (@ sukovanej)let
helpers, #1725 (@ Punie)Alternative
getAlternativeMonoid
, #1717 (@ willheslam)function
flip
is now curried, #1748 (@ thewilkybarkid)pipeable
alt
ap
bimap
chain
compose
contramap
extend
filter
filterMap
filterMapWithIndex
filterWithIndex
foldMap
foldMapWithIndex
map
mapLeft
mapWithIndex
partition
partitionMap
partitionMapWithIndex
partitionWithIndex
promap
reduce
reduceRight
reduceRightWithIndex
reduceWithIndex
ReaderTask
ReaderIO
constructors/combinators, #1773 (@ thewilkybarkid)ReaderTaskEither
ReaderIO
constructors/combinators, #1774 (@ thewilkybarkid)TaskEither
chainTaskOptionKW
, #1744 (@ AmirabbasJ)FromIO
chainIOK
FromTask
chainTaskK
chainFirstTaskK
Whiterable
FilterE1
TheseT
both
Either
apFirstW
apSecondW
IOEither
apFirstW
apSecondW
Reader
apFirstW
apSecondW
ReaderEither
apFirstW
apSecondW
ReaderTaskEither
apFirstW
apSecondW
StateReaderTaskEither
apFirstW
apSecondW
TaskEither
apFirstW
apSecondW
Apply
ap
overloadings, #1721 (@ waynevanson)Either
exists
(@ gcanti)ReadonlyRecord
fromEntries
return type, closes #1745 (@ gcanti)TaskEither
fromPredicate
signature (@ gcanti)These
fromPredicate
(@ gcanti)exists
(@ gcanti)Traversable
Writer
getChain
requires aSemigroup
instead of aMonoid
(@ gcanti)function
flip
function, #1748 (@ thewilkybarkid)BROKEN RELEASE
exports
field topackage.json
in order to support moduleResolution node12/nodenext, #1765 (@ gcanti)How to install:
exports
field: move./*
to the end, closes #1786 (@ gcanti)add exports field accordingly with the build pipeline
How to install:
of
functions (@ gcanti)Either
exists
(@ gcanti)TaskEither
fromPredicate
signature (@ gcanti)These
fromPredicate
(@ gcanti)exists
(@ gcanti)Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information: