Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

fp-ts-std

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fp-ts-std - npm Package Versions

1345

0.18.0-beta.1

Diff

samhh
published 0.18.0-beta.0 •

samhh
published 0.17.1 •

Changelog

Source

0.17.1 (2023-06-17)

  • Fix widening of additional type arguments in pass.
samhh
published 0.17.0 •

Changelog

Source

0.17.0 (2023-06-17)

  • Add URLPath module.
  • Add pass to Applicative, IO, IOOption, IOEither, Task, TaskOption, and TaskEither.
  • Add Bounded instance to Boolean.
  • Add match2, getBounded, and getOrd to Either.
  • Add applyN and some do notation helpers to Function.
  • Add the do notation helper let to Lazy.
  • Add includes, size, and split to NonEmptyString.
  • Add digits and alternative "Safe" Bounded instance to Number.
  • Add match2 and getBounded to Option.
  • Add get to Struct and ReadonlyStruct.
  • Add getEq, getOrd, and getBounded to Tuple.
  • Add clone to URL.
  • Add toRecord, toString, and toTuples to URLSearchParams.
  • Unsafe unwrapping and expectation functions now wrap all thrown values in an Error object, providing a stack trace.
  • Return a cleanup function in addEventListener, and add addEventListener_. Narrow the event type/target of each.
  • Remove index module. It's unfriendly to tree-shaking and less flexible than the facades pattern.
  • Remove mapBoth from IOEither and TaskEither as they're superceded by fp-ts/IOEither::mapBoth and fp-ts/TaskEither::mapBoth respectively.
  • Remove tap from IO as it's superceded by fp-ts/IO::tap.
  • Improve safety and inference of isInstanceOf.
  • Adjust the input type of fromRecord in URLSearchParams.
  • Narrow return type of getParamNonEmpty in Env to NonEmptyString.
  • Add flatMap aliases.
  • Support TypeScript's node16/nodenext module resolutions.
  • Fix symbol property name of JSONString newtype.
  • Bump minimum supported fp-ts version to 2.16.0.
  • Add experimental Enum module.
samhh
published 0.17.0-beta.0 •

samhh
published 0.16.0 •

Changelog

Source

0.16.0 (2023-04-10)

  • Add IOOption module.
  • Add ReaderIO module.
  • Add separateNE to Array and ReadonlyArray.
  • Add traceShowWithValue to Debug.
  • Add unsafeExpect and unsafeExpectLeft to Either.
  • Add unsafeExpect and unsafeExpectLeft to IOEither.
  • Add whenM and unlessM to Monad.
  • Add unsafeExpect to Option.
  • Add asksEither to ReaderEither.
  • Add asksTask to ReaderTask.
  • Add asksEither, asksTask, and asksTaskEither to ReaderTaskEither.
  • Add pick and omit to Record and ReadonlyRecord.
  • Add unsafeExpect and unsafeExpectLeft to TaskEither.
  • Add unsafeExpect to TaskOption.
  • Add getAllForParam and isEmpty to URLSearchParams.
  • Remove flip. fp-ts/function::flip is now curried.
  • Fix statefulness of Str.test.
  • Throw upon attempting to unsafely lift an empty string to NonEmptyString.
  • Improve merge type inferrence.
  • Bump minimum supported fp-ts version to 2.13.1.
  • Rename is in Function to isInstanceOf for readability.
  • Bump minimum supported Node LTS to v18.
samhh
published 0.15.1 •

Changelog

Source

0.15.1 (2022-11-18)

  • Fix symbol property name of NonEmptyString newtype.
samhh
published 0.15.0 •

Changelog

Source

0.15.0 (2022-09-11)

  • Add IOEither module.
  • Add Monad module.
  • Add Newtype module.
  • Add NonEmptyString module.
  • Add Reader module.
  • Add ReaderEither module.
  • Add ReaderTask module.
  • Add ReaderTaskEither module.
  • Add TaskOption module.
  • Add altAllBy to Alternative and Option.
  • Add allM and anyM to Array and ReadonlyArray.
  • Add omitFrom, renameKey, and withDefaults to Struct and ReadonlyStruct.
  • Add fanout to Tuple.
  • Add various voided sequencing functions.
  • Add Functor, Applicative, and Monad instances to Function.
  • Lazily evaluate the values in memptyWhen, memptyUnless, and pureIf.
  • Stop permitting unknown keys in omit, reverting a change in 0.5.1.
  • Add missing re-exports to index module.
  • Bump minimum supported TypeScript version to 4.7.0.
samhh
published 0.14.2 •

Changelog

Source

0.14.2 (2022-05-11)

  • Fix previous release, which was mistakenly identical to 0.14.0.
samhh
published 0.14.1 •

Changelog

Source

0.14.1 (2022-05-11)

  • Extend various functions' type definitions to support subtyping.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc