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

[Snyk] Upgrade fp-ts from 2.12.2 to 2.16.1 #24

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

Conversation

DeFiTON
Copy link
Contributor

@DeFiTON DeFiTON commented Sep 28, 2023

This PR was automatically created by Snyk using the credentials of a real user.


Snyk has created this PR to upgrade fp-ts from 2.12.2 to 2.16.1.

ℹ️ 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 14 versions ahead of your current version.
  • The recommended version was released 2 months ago, on 2023-07-27.
Release notes
Package name: fp-ts
  • 2.16.1 - 2023-07-27
  • 2.16.0 - 2023-05-25
    • tapEither (dual) (aka chainFirstEitherK / chainFirstEitherKW) #1864
    • tapIO (dual) (aka chainFirstIOK) #1865
    • as / asUnit #1867
    • tapTask (dual) (aka chainFirstTaskK) #1869
    • mapError (dual) (aka mapLeft) #1870
    • mapBoth (dual) (aka bimap) #1872
    • tapReader (dual) (aka chainFirstReaderK / chainFirstIReaderKW) #1871
    • tapReaderEither (dual) (aka chainFirstReaderEitherK / chainFirstEitherKW) #1873
    • tapReaderIO (dual) (aka chainFirstReaderIOK) #1873
    • tapReaderTask (dual) (aka chainFirstReaderTaskK) #1873
    • tapTaskEither (dual) (aka chainFirstTaskEitherK / chainFirstTaskEitherKW) #1873
    • flatMapReaderTask (dual) (aka chainReaderTaskK / chainReaderTaskKW) #1874
    • flatMapTaskEither (dual) (aka chainTaskEitherK / chainTaskEitherKW) #1874
    • flatMapIO (dual) (aka chainIOK) #1874
    • Option.orElse (dual) (aka alt / altW) #1868
    • flatMapTask (dual) (aka chainTaskK) #1876
    • flatMapReader (dual) (aka chainReaderK / chainReaderKW) #1876
    • flatMapReaderIO (dual) (aka chainReaderIOK / chainReaderIOKW) #1879
    • flatMap* (aka chain*K / chain*KW) #1880
  • 2.15.0 - 2023-05-08

    New Feature

    • function
      • add LazyArg
    • add tap (dual) (aka chainFirst / chainFirstW) to:
      • Either
      • IO
      • IOEither
      • IOOption
      • Option
      • Reader
      • ReaderEither
      • ReaderIO
      • ReaderTask
      • ReaderTaskEither
      • State
      • StateReaderTaskEither
      • Task
      • TaskEither
      • TaskOption
    • add tapError (dual) (aka orElseFirst / orElseFirstW) to:
      • IOEither
      • ReaderEither
      • ReaderTaskEither
      • TaskEither
    • add flatMapNullable (dual) to:
      • Either
      • IOEither
      • ReaderEither
      • ReaderTaskEither
      • StateReaderTaskEither
      • TaskEither
    • add flatMapOption (dual) to:
      • Either
      • IOEither
      • ReaderEither
      • ReaderTaskEither
      • StateReaderTaskEither
      • TaskEither
    • add liftNullable to:
      • Either
      • IOEither
      • ReaderEither
      • ReaderTaskEither
      • StateReaderTaskEither
      • TaskEither
    • add liftOption to:
      • Either
      • IOEither
      • ReaderEither
      • ReaderTaskEither
      • StateReaderTaskEither
      • TaskEither
    • add flatMapEither (dual) to:
      • IOEither
      • ReaderEither
      • ReaderTaskEither
      • TaskEither
    • Array
      • add index to flatMap
    • NonEmptyArray
      • add index to flatMap
    • ReadonlyArray
      • add index to flatMap
    • ReadonlyNonEmptyArray
      • add index to flatMap
  • 2.14.0 - 2023-04-20

    New Feature

    • add flatMap to
      • Either
      • IOEither
      • Reader
      • ReaderEither
      • ReaderIO
      • ReaderTask
      • ReaderTaskEither
      • StateReaderTaskEither
      • TaskEither
      • NonEmptyArray
      • ReadonlyNonEmptyArray
      • Tree
      • Array
      • Identity
      • IO
      • IOOption
      • Option
      • ReadonlyArray
      • State
      • Task
      • TaskOption

    the gist is:

    • you can replace chain / chainW with flatMap
    • you can call flatMap in 2 ways: pipe(ma, flatMap(f)) (data-last, aka pipeable) or flatMap(ma, f) (data-first)
  • 2.13.2 - 2023-04-19
  • 2.13.1 - 2022-10-17
    • New Feature
      • new modules:
      • do notation:
      • Alternative
      • function
      • pipeable
        • add pipeable helpers, #1764 (@ gcanti)
          • 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
      • ReaderTaskEither
      • TaskEither
    • Polish
      • backport from v3 some handy defaults defined in natural transformations/combinators/constructors (@ gcanti)
      • fix wrong type parameter order:
        • 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
      • Either
        • remove useless type parameter in exists (@ gcanti)
      • ReadonlyRecord
      • TaskEither
        • fix fromPredicate signature (@ gcanti)
      • These
        • add missing fromPredicate (@ gcanti)
        • remove useless type parameter in exists (@ gcanti)
      • Traversable
        • add more overloadings to traverse / sequence helpers, #1758 (@ gcanti)
      • Writer
        • getChain requires a Semigroup instead of a Monoid (@ gcanti)
    • Deprecation
  • 2.13.0 - 2022-10-17
    Read more
  • 2.13.0-rc.6 - 2022-09-20
    Read more
  • 2.13.0-rc.5 - 2022-09-20

    add exports field accordingly with the build pipeline

  • 2.13.0-rc.4 - 2022-09-19
    Read more
  • 2.13.0-rc.3 - 2022-09-17
    Read more
  • 2.13.0-rc.2 - 2022-09-15
  • 2.13.0-rc.1 - 2022-09-15
  • 2.12.3 - 2022-08-31
  • 2.12.2 - 2022-07-25
from fp-ts GitHub release notes
Commit messages
Package name: fp-ts
  • 01b8661 version 2.16.1
  • 0c158fa Fix type signature of RTE.tapReaderIO
  • ff7af35 docs: update broken link
  • 8c4e31d version 2.16.0
  • a02b14b docs: remaining flatMap functions
  • b307e5b feat: flatMapNullable
  • ad59cb9 feat: flatMapTaskOption
  • 8c7bbe9 feat: flatMapState
  • 3b992ad feat: flatMapReaderTaskEither
  • 19b7134 feat: flatMapOption
  • 6469ea0 feat: flatMapEither
  • fcbfbc1 feat: flatMapReaderEither
  • edf6fad feat: flatMapIOEither
  • e2a3878 feat: flatMapReaderIO
  • 3e17b34 chore: fix signatures (since tag and type parameters order)
  • 56b0a62 chore: add aliases for orElse
  • 9ba16df docs: flatMapReader, flatMapTask
  • 8be1186 feat: flatMapReader
  • b970b80 feat: flatMapTask
  • 63aaccd Backport Option.orElse from effect
  • b497f02 chore: fix signatures (dual order, type parameter order)
  • c95947c docs: flatMapReaderTask, flatMapTaskEither, flatMapIO
  • c72b082 feat: flatMapIO
  • a330b69 feat: flatMapReaderTask

Compare


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

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.

2 participants