fp-toolkit
Advanced tools
Comparing version 1.3.0 to 1.3.1
@@ -5,2 +5,4 @@ # Changelog | ||
### [1.3.1](https://github.com/fp-toolkit/fp-toolkit/compare/v1.3.0...v1.3.1) (2023-08-28) | ||
## [1.3.0](https://github.com/fp-toolkit/fp-toolkit/compare/v1.2.3...v1.3.0) (2023-03-30) | ||
@@ -7,0 +9,0 @@ |
@@ -22,3 +22,3 @@ { | ||
], | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
"main": "./src/index.ts", | ||
@@ -25,0 +25,0 @@ "scripts": { |
@@ -260,3 +260,3 @@ # fp-toolkit ⚒️ | ||
In other words, if you open an issue that just says, "there is a bug with this thing," don't exepct that to get much traction. Or if you open a PR that is lacking any test coverage or has no documentation, again—don't expect that to get much traction. | ||
In other words, if you open an issue that just says, "there is a bug with this thing," don't expect that to get much traction. Or if you open a PR that is lacking any test coverage or has no documentation, again—don't expect that to get much traction. | ||
@@ -263,0 +263,0 @@ ## Local development |
@@ -107,3 +107,3 @@ /** | ||
* also returns an AsyncResult, and flattens the result. | ||
* Also commonly known as `flatpMap`. | ||
* Also commonly known as `flatMap`. | ||
* | ||
@@ -110,0 +110,0 @@ * @group Mapping |
@@ -5,3 +5,3 @@ /** | ||
* operation is resolved, it has some data attached to it that represents the | ||
* outcome of the asyncrhonous work. | ||
* outcome of the asynchronous work. | ||
* | ||
@@ -13,3 +13,3 @@ * This type is frequently used with `Result` as the data of the `Resolved` | ||
* This type is especially helpful in Redux stores (or in the React `useReducer` | ||
* state) because it allows you to determinstically model the state of an async | ||
* state) because it allows you to deterministically model the state of an async | ||
* operation as one value. I.e., instead of using separate flags that are | ||
@@ -16,0 +16,0 @@ * _implicitly_ related to each other (e.g., `notStarted`, `loading`, `result`), |
@@ -266,3 +266,3 @@ /** | ||
* - `values` contains the list of valid enum values | ||
* - `parse` is a parser funciton auto-magically created for this enum | ||
* - `parse` is a parser function auto-magically created for this enum | ||
* - `match` is a pipeable function that allows exhaustive pattern matching | ||
@@ -269,0 +269,0 @@ * - `matchOrElse` is a pipeable function that allows inexhaustive pattern matching |
/** | ||
* An `EqualityComparer` is intended to model deterministic or "decideable" equality | ||
* An `EqualityComparer` is intended to model deterministic or "decidable" equality | ||
* between two values. Meaning, it should always give back the same result for the | ||
@@ -79,3 +79,3 @@ * same inputs. | ||
* | ||
* Will perform property-by-property equality comparsion for each property of the object, | ||
* Will perform property-by-property equality comparison for each property of the object, | ||
* using the given `EqualityComparer` instance for each property. | ||
@@ -82,0 +82,0 @@ * |
@@ -152,3 +152,3 @@ /** | ||
* Creates a new empty map. Essentially an alias for `new globalThis.Map()`. | ||
* Provided for convience to avoid having to use `globalThis`. | ||
* Provided for convenience to avoid having to use `globalThis`. | ||
* | ||
@@ -155,0 +155,0 @@ * @group Constructors |
@@ -170,3 +170,3 @@ /** | ||
/** | ||
* Sort the array using the given `OrderingComaparer`, or the default | ||
* Sort the array using the given `OrderingComparer`, or the default | ||
* ASCII-based comparer if not given. | ||
@@ -176,3 +176,3 @@ * | ||
* | ||
* @returns A new non-emty array with elements sorted. | ||
* @returns A new non-empty array with elements sorted. | ||
*/ | ||
@@ -179,0 +179,0 @@ export const sort = |
/** | ||
* An `OrderingComparer` represents the ability to deterministcally sort a set of values. | ||
* An `OrderingComparer` represents the ability to deterministically sort a set of values. | ||
* Meaning, it should always give back the same sort order given the same set of values. | ||
@@ -4,0 +4,0 @@ * |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
198324