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.13.1 to 2.16.6 #3013

Merged
merged 1 commit into from
Aug 1, 2024

Conversation

snyk-io[bot]
Copy link
Contributor

@snyk-io snyk-io bot commented Jul 2, 2024

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


![snyk-top-banner](https://github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123)

Snyk has created this PR to upgrade fp-ts from 2.13.1 to 2.16.6.

ℹ️ 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 10 versions ahead of your current version.

  • The recommended version was released on a month ago.

Release notes
Package name: fp-ts
  • 2.16.6 - 2024-05-19
  • 2.16.5 - 2024-03-25

    Polish

    Resolved a RangeError where the maximum call stack size was exceeded when invoking chainWithIndex, #1931

  • 2.16.4 - 2024-03-18
  • 2.16.3 - 2024-03-11
  • 2.16.2 - 2024-01-03
  • 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
from fp-ts GitHub release notes

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.

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:

Snyk has created this PR to upgrade fp-ts from 2.13.1 to 2.16.6.

See this package in npm:
fp-ts

See this project in Snyk:
https://app.snyk.io/org/oph-snyk/project/982b997c-be02-4596-b028-951d3f042fef?utm_source=github-cloud-app&utm_medium=referral&page=upgrade-pr
@hruoho hruoho merged commit ef19cc0 into master Aug 1, 2024
35 checks passed
@hruoho hruoho deleted the snyk-upgrade-b225b7ebc4c873bbd0b4228193f509a7 branch August 1, 2024 08:16
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.

readonlyRecord.fromEntries returns mutable Record
1 participant