fnts 3.0.4 → 3.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fnts",
3
- "version": "3.0.4",
3
+ "version": "3.0.6",
4
4
  "license": "MIT",
5
5
  "author": "Dmytro Vasylkivskyi",
6
6
  "description": "TypeScript / JavaScript FP utilities",
@@ -31,15 +31,51 @@
31
31
  "./apply": "./apply.js",
32
32
  "./compose": "./compose.js",
33
33
  "./curry": "./curry.js",
34
+ "./either": "./either/index.js",
35
+ "./either/either-sync": "./either/either-sync.js",
36
+ "./either/either": "./either/either.js",
37
+ "./either/left": "./either/left.js",
38
+ "./either/operators": "./either/operators/index.js",
39
+ "./either/operators/bifold": "./either/operators/bifold/index.js",
40
+ "./either/operators/bifold/bifold": "./either/operators/bifold/bifold.js",
41
+ "./either/operators/bifold/bifoldl": "./either/operators/bifold/bifoldl.js",
42
+ "./either/operators/bifold/bifoldr": "./either/operators/bifold/bifoldr.js",
43
+ "./either/operators/bifold-map": "./either/operators/bifold-map/index.js",
44
+ "./either/operators/bifold-map/bifold-map": "./either/operators/bifold-map/bifold-map.js",
45
+ "./either/operators/bifold-map/bifoldl-map": "./either/operators/bifold-map/bifoldl-map.js",
46
+ "./either/operators/bifold-map/bifoldr-map": "./either/operators/bifold-map/bifoldr-map.js",
47
+ "./either/operators/bimap": "./either/operators/bimap/index.js",
48
+ "./either/operators/bimap/bimap": "./either/operators/bimap/bimap.js",
49
+ "./either/operators/bimap/first": "./either/operators/bimap/first.js",
50
+ "./either/operators/bimap/second": "./either/operators/bimap/second.js",
51
+ "./either/operators/bindr": "./either/operators/bindr.js",
52
+ "./either/operators/guards": "./either/operators/guards.js",
53
+ "./either/right": "./either/right.js",
34
54
  "./guard": "./guard.js",
35
55
  "./identity": "./identity.js",
36
56
  "./inject": "./inject.js",
57
+ "./lens": "./lens/index.js",
58
+ "./lens/get": "./lens/get.js",
59
+ "./lens/lens": "./lens/lens.js",
60
+ "./lens/set": "./lens/set.js",
61
+ "./maybe": "./maybe/index.js",
62
+ "./maybe/just": "./maybe/just.js",
63
+ "./maybe/maybe": "./maybe/maybe.js",
64
+ "./maybe/nothing": "./maybe/nothing.js",
65
+ "./maybe/operators": "./maybe/operators/index.js",
66
+ "./maybe/operators/bind": "./maybe/operators/bind.js",
67
+ "./maybe/operators/fmap": "./maybe/operators/fmap.js",
68
+ "./maybe/operators/fold-map": "./maybe/operators/fold-map.js",
69
+ "./maybe/operators/fold": "./maybe/operators/fold.js",
70
+ "./maybe/operators/guards": "./maybe/operators/guards.js",
71
+ "./permutation": "./permutation/index.js",
72
+ "./permutation/permutation-2": "./permutation/permutation-2.js",
73
+ "./permutation/permutation-3": "./permutation/permutation-3.js",
37
74
  "./pipe": "./pipe.js",
38
75
  "./rethrow": "./rethrow.js",
39
76
  "./tap": "./tap.js",
40
- "./either": "./either/index.js",
41
- "./lens": "./lens/index.js",
42
- "./maybe": "./maybe/index.js",
43
- "./permutation": "./permutation/index.js"
77
+ "./types": {
78
+ "types": "./types/index.d.ts"
79
+ }
44
80
  }
45
81
  }
package/types/effect.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * @module Types
3
3
  */
4
4
 
5
- import type { VariadicFunction } from './function'
5
+ import type { VariadicFunction } from './function.js'
6
6
 
7
7
  /**
8
8
  * A simple side effect function descriptor.
package/types/index.d.ts CHANGED
@@ -1,10 +1,10 @@
1
- export type * from './map'
2
- export type * from './last'
3
- export type * from './trim'
4
- export type * from './slice'
5
- export type * from './tuple'
6
- export type * from './effect'
7
- export type * from './gradual'
8
- export type * from './unshift'
9
- export type * from './flatten'
10
- export type * from './function'
1
+ export type * from './map.js'
2
+ export type * from './last.js'
3
+ export type * from './trim.js'
4
+ export type * from './slice.js'
5
+ export type * from './tuple.js'
6
+ export type * from './effect.js'
7
+ export type * from './gradual.js'
8
+ export type * from './unshift.js'
9
+ export type * from './flatten.js'
10
+ export type * from './function.js'
package/types/slice.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * @module Types
3
3
  */
4
4
 
5
- import type { Tuple } from './tuple'
5
+ import type { Tuple } from './tuple.js'
6
6
 
7
7
  /**
8
8
  * Removes `C` amount of `T` elements from the **start**.
package/types/trim.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * @module Types
3
3
  */
4
4
 
5
- import { Tuple } from './tuple'
5
+ import { Tuple } from './tuple.js'
6
6
 
7
7
  /**
8
8
  * Removes `C` amount of `T` elements from the **end**.
@@ -2,8 +2,8 @@
2
2
  * @module Types
3
3
  */
4
4
 
5
- import { Trim } from './trim'
6
- import { Slice } from './slice'
5
+ import { Trim } from './trim.js'
6
+ import { Slice } from './slice.js'
7
7
 
8
8
  /**
9
9
  * Replaces `T` element on specified index `I` with `E`.