@monstermann/map 0.1.1 → 0.1.2
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/dist/Map/{compact.d.ts → compact.d.mts} +1 -1
- package/dist/Map/{compact.js → compact.mjs} +1 -1
- package/dist/Map/{filter.d.ts → filter.d.mts} +1 -1
- package/dist/Map/{forEach.d.ts → forEach.d.mts} +1 -1
- package/dist/Map/{getOr.d.ts → getOr.d.mts} +1 -1
- package/dist/Map/{getOrElse.d.ts → getOrElse.d.mts} +1 -1
- package/dist/Map/{getOrThrow.d.ts → getOrThrow.d.mts} +1 -1
- package/dist/Map/index.d.mts +36 -0
- package/dist/Map/index.mjs +63 -0
- package/dist/Map/{map.d.ts → map.d.mts} +1 -1
- package/dist/Map/{mapEach.d.ts → mapEach.d.mts} +1 -1
- package/dist/Map/{mapOr.d.ts → mapOr.d.mts} +1 -1
- package/dist/Map/{mapOrElse.d.ts → mapOrElse.d.mts} +1 -1
- package/dist/Map/{mapOrThrow.d.ts → mapOrThrow.d.mts} +1 -1
- package/dist/Map/{reject.d.ts → reject.d.mts} +1 -1
- package/dist/Map/{removeOrElse.d.ts → removeOrElse.d.mts} +1 -1
- package/dist/index.d.mts +2 -0
- package/dist/index.mjs +3 -0
- package/package.json +1 -1
- package/dist/Map/index.d.ts +0 -36
- package/dist/Map/index.js +0 -63
- package/dist/index.d.ts +0 -2
- package/dist/index.js +0 -3
- /package/dist/Map/{clone.d.ts → clone.d.mts} +0 -0
- /package/dist/Map/{clone.js → clone.mjs} +0 -0
- /package/dist/Map/{create.d.ts → create.d.mts} +0 -0
- /package/dist/Map/{create.js → create.mjs} +0 -0
- /package/dist/Map/{filter.js → filter.mjs} +0 -0
- /package/dist/Map/{forEach.js → forEach.mjs} +0 -0
- /package/dist/Map/{get.d.ts → get.d.mts} +0 -0
- /package/dist/Map/{get.js → get.mjs} +0 -0
- /package/dist/Map/{getOr.js → getOr.mjs} +0 -0
- /package/dist/Map/{getOrElse.js → getOrElse.mjs} +0 -0
- /package/dist/Map/{getOrThrow.js → getOrThrow.mjs} +0 -0
- /package/dist/Map/{has.d.ts → has.d.mts} +0 -0
- /package/dist/Map/{has.js → has.mjs} +0 -0
- /package/dist/Map/{hasAll.d.ts → hasAll.d.mts} +0 -0
- /package/dist/Map/{hasAll.js → hasAll.mjs} +0 -0
- /package/dist/Map/{hasAny.d.ts → hasAny.d.mts} +0 -0
- /package/dist/Map/{hasAny.js → hasAny.mjs} +0 -0
- /package/dist/Map/{hasNone.d.ts → hasNone.d.mts} +0 -0
- /package/dist/Map/{hasNone.js → hasNone.mjs} +0 -0
- /package/dist/Map/internals/{types.d.ts → types.d.mts} +0 -0
- /package/dist/Map/{is.d.ts → is.d.mts} +0 -0
- /package/dist/Map/{is.js → is.mjs} +0 -0
- /package/dist/Map/{isEmpty.d.ts → isEmpty.d.mts} +0 -0
- /package/dist/Map/{isEmpty.js → isEmpty.mjs} +0 -0
- /package/dist/Map/{isShallowEqual.d.ts → isShallowEqual.d.mts} +0 -0
- /package/dist/Map/{isShallowEqual.js → isShallowEqual.mjs} +0 -0
- /package/dist/Map/{map.js → map.mjs} +0 -0
- /package/dist/Map/{mapEach.js → mapEach.mjs} +0 -0
- /package/dist/Map/{mapOr.js → mapOr.mjs} +0 -0
- /package/dist/Map/{mapOrElse.js → mapOrElse.mjs} +0 -0
- /package/dist/Map/{mapOrThrow.js → mapOrThrow.mjs} +0 -0
- /package/dist/Map/{reject.js → reject.mjs} +0 -0
- /package/dist/Map/{remove.d.ts → remove.d.mts} +0 -0
- /package/dist/Map/{remove.js → remove.mjs} +0 -0
- /package/dist/Map/{removeAll.d.ts → removeAll.d.mts} +0 -0
- /package/dist/Map/{removeAll.js → removeAll.mjs} +0 -0
- /package/dist/Map/{removeOr.d.ts → removeOr.d.mts} +0 -0
- /package/dist/Map/{removeOr.js → removeOr.mjs} +0 -0
- /package/dist/Map/{removeOrElse.js → removeOrElse.mjs} +0 -0
- /package/dist/Map/{removeOrThrow.d.ts → removeOrThrow.d.mts} +0 -0
- /package/dist/Map/{removeOrThrow.js → removeOrThrow.mjs} +0 -0
- /package/dist/Map/{set.d.ts → set.d.mts} +0 -0
- /package/dist/Map/{set.js → set.mjs} +0 -0
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { clone } from "./clone.mjs";
|
|
2
|
+
import { compact } from "./compact.mjs";
|
|
3
|
+
import { create } from "./create.mjs";
|
|
4
|
+
import { filter } from "./filter.mjs";
|
|
5
|
+
import { forEach } from "./forEach.mjs";
|
|
6
|
+
import { get } from "./get.mjs";
|
|
7
|
+
import { getOr } from "./getOr.mjs";
|
|
8
|
+
import { getOrElse } from "./getOrElse.mjs";
|
|
9
|
+
import { getOrThrow } from "./getOrThrow.mjs";
|
|
10
|
+
import { has } from "./has.mjs";
|
|
11
|
+
import { hasAll } from "./hasAll.mjs";
|
|
12
|
+
import { hasAny } from "./hasAny.mjs";
|
|
13
|
+
import { hasNone } from "./hasNone.mjs";
|
|
14
|
+
import { is } from "./is.mjs";
|
|
15
|
+
import { isEmpty } from "./isEmpty.mjs";
|
|
16
|
+
import { isShallowEqual } from "./isShallowEqual.mjs";
|
|
17
|
+
import { map } from "./map.mjs";
|
|
18
|
+
import { mapEach } from "./mapEach.mjs";
|
|
19
|
+
import { mapOr } from "./mapOr.mjs";
|
|
20
|
+
import { mapOrElse } from "./mapOrElse.mjs";
|
|
21
|
+
import { mapOrThrow } from "./mapOrThrow.mjs";
|
|
22
|
+
import { reject } from "./reject.mjs";
|
|
23
|
+
import { remove } from "./remove.mjs";
|
|
24
|
+
import { removeAll } from "./removeAll.mjs";
|
|
25
|
+
import { removeOr } from "./removeOr.mjs";
|
|
26
|
+
import { removeOrElse } from "./removeOrElse.mjs";
|
|
27
|
+
import { removeOrThrow } from "./removeOrThrow.mjs";
|
|
28
|
+
import { set } from "./set.mjs";
|
|
29
|
+
|
|
30
|
+
//#region src/Map/index.d.ts
|
|
31
|
+
|
|
32
|
+
declare namespace Map {
|
|
33
|
+
export { clone, compact, create, filter, forEach, get, getOr, getOrElse, getOrThrow, has, hasAll, hasAny, hasNone, is, isEmpty, isShallowEqual, map, mapEach, mapOr, mapOrElse, mapOrThrow, reject, remove, removeAll, removeOr, removeOrElse, removeOrThrow, set };
|
|
34
|
+
}
|
|
35
|
+
//#endregion
|
|
36
|
+
export { Map };
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { clone } from "./clone.mjs";
|
|
2
|
+
import { filter } from "./filter.mjs";
|
|
3
|
+
import { compact } from "./compact.mjs";
|
|
4
|
+
import { create } from "./create.mjs";
|
|
5
|
+
import { forEach } from "./forEach.mjs";
|
|
6
|
+
import { get } from "./get.mjs";
|
|
7
|
+
import { getOr } from "./getOr.mjs";
|
|
8
|
+
import { getOrElse } from "./getOrElse.mjs";
|
|
9
|
+
import { getOrThrow } from "./getOrThrow.mjs";
|
|
10
|
+
import { has } from "./has.mjs";
|
|
11
|
+
import { hasAll } from "./hasAll.mjs";
|
|
12
|
+
import { hasAny } from "./hasAny.mjs";
|
|
13
|
+
import { hasNone } from "./hasNone.mjs";
|
|
14
|
+
import { is } from "./is.mjs";
|
|
15
|
+
import { isEmpty } from "./isEmpty.mjs";
|
|
16
|
+
import { isShallowEqual } from "./isShallowEqual.mjs";
|
|
17
|
+
import { map } from "./map.mjs";
|
|
18
|
+
import { mapEach } from "./mapEach.mjs";
|
|
19
|
+
import { mapOr } from "./mapOr.mjs";
|
|
20
|
+
import { mapOrElse } from "./mapOrElse.mjs";
|
|
21
|
+
import { mapOrThrow } from "./mapOrThrow.mjs";
|
|
22
|
+
import { reject } from "./reject.mjs";
|
|
23
|
+
import { remove } from "./remove.mjs";
|
|
24
|
+
import { removeAll } from "./removeAll.mjs";
|
|
25
|
+
import { removeOr } from "./removeOr.mjs";
|
|
26
|
+
import { removeOrElse } from "./removeOrElse.mjs";
|
|
27
|
+
import { removeOrThrow } from "./removeOrThrow.mjs";
|
|
28
|
+
import { set } from "./set.mjs";
|
|
29
|
+
|
|
30
|
+
//#region src/Map/index.js
|
|
31
|
+
const Map = {
|
|
32
|
+
clone,
|
|
33
|
+
compact,
|
|
34
|
+
create,
|
|
35
|
+
filter,
|
|
36
|
+
forEach,
|
|
37
|
+
get,
|
|
38
|
+
getOr,
|
|
39
|
+
getOrElse,
|
|
40
|
+
getOrThrow,
|
|
41
|
+
has,
|
|
42
|
+
hasAll,
|
|
43
|
+
hasAny,
|
|
44
|
+
hasNone,
|
|
45
|
+
is,
|
|
46
|
+
isEmpty,
|
|
47
|
+
isShallowEqual,
|
|
48
|
+
map,
|
|
49
|
+
mapEach,
|
|
50
|
+
mapOr,
|
|
51
|
+
mapOrElse,
|
|
52
|
+
mapOrThrow,
|
|
53
|
+
reject,
|
|
54
|
+
remove,
|
|
55
|
+
removeAll,
|
|
56
|
+
removeOr,
|
|
57
|
+
removeOrElse,
|
|
58
|
+
removeOrThrow,
|
|
59
|
+
set
|
|
60
|
+
};
|
|
61
|
+
|
|
62
|
+
//#endregion
|
|
63
|
+
export { Map };
|
package/dist/index.d.mts
ADDED
package/dist/index.mjs
ADDED
package/package.json
CHANGED
package/dist/Map/index.d.ts
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { clone } from "./clone.js";
|
|
2
|
-
import { compact } from "./compact.js";
|
|
3
|
-
import { create } from "./create.js";
|
|
4
|
-
import { filter } from "./filter.js";
|
|
5
|
-
import { forEach } from "./forEach.js";
|
|
6
|
-
import { get } from "./get.js";
|
|
7
|
-
import { getOr } from "./getOr.js";
|
|
8
|
-
import { getOrElse } from "./getOrElse.js";
|
|
9
|
-
import { getOrThrow } from "./getOrThrow.js";
|
|
10
|
-
import { has } from "./has.js";
|
|
11
|
-
import { hasAll } from "./hasAll.js";
|
|
12
|
-
import { hasAny } from "./hasAny.js";
|
|
13
|
-
import { hasNone } from "./hasNone.js";
|
|
14
|
-
import { is } from "./is.js";
|
|
15
|
-
import { isEmpty } from "./isEmpty.js";
|
|
16
|
-
import { isShallowEqual } from "./isShallowEqual.js";
|
|
17
|
-
import { map } from "./map.js";
|
|
18
|
-
import { mapEach } from "./mapEach.js";
|
|
19
|
-
import { mapOr } from "./mapOr.js";
|
|
20
|
-
import { mapOrElse } from "./mapOrElse.js";
|
|
21
|
-
import { mapOrThrow } from "./mapOrThrow.js";
|
|
22
|
-
import { reject } from "./reject.js";
|
|
23
|
-
import { remove } from "./remove.js";
|
|
24
|
-
import { removeAll } from "./removeAll.js";
|
|
25
|
-
import { removeOr } from "./removeOr.js";
|
|
26
|
-
import { removeOrElse } from "./removeOrElse.js";
|
|
27
|
-
import { removeOrThrow } from "./removeOrThrow.js";
|
|
28
|
-
import { set } from "./set.js";
|
|
29
|
-
|
|
30
|
-
//#region src/Map/index.d.ts
|
|
31
|
-
|
|
32
|
-
declare namespace Map {
|
|
33
|
-
export { clone, compact, create, filter, forEach, get, getOr, getOrElse, getOrThrow, has, hasAll, hasAny, hasNone, is, isEmpty, isShallowEqual, map, mapEach, mapOr, mapOrElse, mapOrThrow, reject, remove, removeAll, removeOr, removeOrElse, removeOrThrow, set };
|
|
34
|
-
}
|
|
35
|
-
//#endregion
|
|
36
|
-
export { Map };
|
package/dist/Map/index.js
DELETED
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import { clone } from "./clone.js";
|
|
2
|
-
import { filter } from "./filter.js";
|
|
3
|
-
import { compact } from "./compact.js";
|
|
4
|
-
import { create } from "./create.js";
|
|
5
|
-
import { forEach } from "./forEach.js";
|
|
6
|
-
import { get } from "./get.js";
|
|
7
|
-
import { getOr } from "./getOr.js";
|
|
8
|
-
import { getOrElse } from "./getOrElse.js";
|
|
9
|
-
import { getOrThrow } from "./getOrThrow.js";
|
|
10
|
-
import { has } from "./has.js";
|
|
11
|
-
import { hasAll } from "./hasAll.js";
|
|
12
|
-
import { hasAny } from "./hasAny.js";
|
|
13
|
-
import { hasNone } from "./hasNone.js";
|
|
14
|
-
import { is } from "./is.js";
|
|
15
|
-
import { isEmpty } from "./isEmpty.js";
|
|
16
|
-
import { isShallowEqual } from "./isShallowEqual.js";
|
|
17
|
-
import { map } from "./map.js";
|
|
18
|
-
import { mapEach } from "./mapEach.js";
|
|
19
|
-
import { mapOr } from "./mapOr.js";
|
|
20
|
-
import { mapOrElse } from "./mapOrElse.js";
|
|
21
|
-
import { mapOrThrow } from "./mapOrThrow.js";
|
|
22
|
-
import { reject } from "./reject.js";
|
|
23
|
-
import { remove } from "./remove.js";
|
|
24
|
-
import { removeAll } from "./removeAll.js";
|
|
25
|
-
import { removeOr } from "./removeOr.js";
|
|
26
|
-
import { removeOrElse } from "./removeOrElse.js";
|
|
27
|
-
import { removeOrThrow } from "./removeOrThrow.js";
|
|
28
|
-
import { set } from "./set.js";
|
|
29
|
-
|
|
30
|
-
//#region src/Map/index.js
|
|
31
|
-
const Map = {
|
|
32
|
-
clone,
|
|
33
|
-
compact,
|
|
34
|
-
create,
|
|
35
|
-
filter,
|
|
36
|
-
forEach,
|
|
37
|
-
get,
|
|
38
|
-
getOr,
|
|
39
|
-
getOrElse,
|
|
40
|
-
getOrThrow,
|
|
41
|
-
has,
|
|
42
|
-
hasAll,
|
|
43
|
-
hasAny,
|
|
44
|
-
hasNone,
|
|
45
|
-
is,
|
|
46
|
-
isEmpty,
|
|
47
|
-
isShallowEqual,
|
|
48
|
-
map,
|
|
49
|
-
mapEach,
|
|
50
|
-
mapOr,
|
|
51
|
-
mapOrElse,
|
|
52
|
-
mapOrThrow,
|
|
53
|
-
reject,
|
|
54
|
-
remove,
|
|
55
|
-
removeAll,
|
|
56
|
-
removeOr,
|
|
57
|
-
removeOrElse,
|
|
58
|
-
removeOrThrow,
|
|
59
|
-
set
|
|
60
|
-
};
|
|
61
|
-
|
|
62
|
-
//#endregion
|
|
63
|
-
export { Map };
|
package/dist/index.d.ts
DELETED
package/dist/index.js
DELETED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|