Comparing version
@@ -121,3 +121,3 @@ import type { Option } from "fp-ts/Option"; | ||
*/ | ||
export declare const omit: (ks: Array<string>) => <A>(y: Record<string, A>) => Record<string, A>; | ||
export declare const omit: (ks: ReadonlyArray<string>) => <A>(y: Record<string, A>) => Record<string, A>; | ||
//# sourceMappingURL=ReadonlyRecord.d.ts.map |
@@ -105,3 +105,6 @@ /** | ||
/** | ||
* Build a `URLPath` from a relative or absolute string containing any parts. | ||
* Build a `URLPath` from a string containing any parts. | ||
* | ||
* Absolute URL strings will be parsed as if they were relative URL strings. | ||
* | ||
* Consider also `fromPathname` where only a pathname needs to be parsed. | ||
@@ -114,7 +117,7 @@ * | ||
* | ||
* const expected = pipe('/foo', fromPathname, setHash('bar')) | ||
* assert.deepStrictEqual( | ||
* fromString('/foo#bar'), | ||
* pipe('/foo', fromPathname, setHash('bar')), | ||
* ) | ||
* | ||
* assert.deepStrictEqual(fromString('/foo#bar'), expected) | ||
* assert.deepStrictEqual(fromString('https://samhh.com/foo#bar'), expected) | ||
* | ||
* @category 3 Functions | ||
@@ -121,0 +124,0 @@ * @since 0.17.0 |
{ | ||
"name": "fp-ts-std", | ||
"description": "The missing pseudo-standard library for fp-ts.", | ||
"version": "0.20.0-beta.1", | ||
"version": "1.0.0", | ||
"license": "MIT", | ||
@@ -6,0 +6,0 @@ "author": "Sam A. Horvath-Hunt <hello@samhh.com>", |
@@ -7,2 +7,5 @@ # fp-ts-std | ||
> [!NOTE] | ||
> fp-ts-std is no longer actively developed as the fp-ts ecosystem is broadly migrating to [Effect](https://effect.website). It is still maintained with respect to bug fixes and accepting contributions. | ||
## Installation | ||
@@ -12,5 +15,5 @@ | ||
fp-ts, [newtype-ts](https://gcanti.github.io/newtype-ts/), and [monocle-ts](https://gcanti.github.io/monocle-ts/) are listed as peer dependencies. | ||
fp-ts, [newtype-ts](https://gcanti.github.io/newtype-ts/), and [monocle-ts](https://gcanti.github.io/monocle-ts/) are peer dependencies. | ||
fp-ts-std is published with both ES2015 and CJS modules, the former of which should tree shake well. Modern ES modules are not yet supported. | ||
fp-ts-std is published with both ES2015 and CJS modules, the former of which should tree shake well. Modern ES modules are not supported as per fp-ts. | ||
@@ -17,0 +20,0 @@ Node LTS, Bun, and recent evergreen browsers are supported. |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
539089
0.03%11967
0.03%0
-100%46
6.98%