This repository has been archived by the owner on Jun 15, 2023. It is now read-only.
[Snyk] Upgrade fp-ts from 2.10.5 to 2.15.0 #213
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.10.5 to 2.15.0.
ℹ️ 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.
Release notes
Package name: fp-ts
New 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)How to install:
ReaderTask
ReaderIO
constructors/combinators, #1773 (@ thewilkybarkid)ReaderTaskEither
ReaderIO
constructors/combinators, #1774 (@ thewilkybarkid)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:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs