@thi.ng/api 8.0.0 → 8.0.4
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/CHANGELOG.md +32 -0
- package/README.md +3 -2
- package/assoc.d.ts +1 -1
- package/compare.d.ts +1 -1
- package/deref.d.ts +1 -1
- package/dissoc.d.ts +1 -1
- package/event.d.ts +2 -2
- package/index.d.ts +48 -48
- package/index.js +48 -48
- package/keyval.d.ts +1 -1
- package/mixins/ienable.js +2 -2
- package/mixins/inotify.d.ts +1 -1
- package/mixins/inotify.js +2 -2
- package/mixins/iterable.js +1 -1
- package/mixins/iwatch.js +1 -1
- package/package.json +6 -3
- package/path.d.ts +3 -3
- package/predicate.d.ts +1 -1
- package/set.d.ts +1 -1
- package/tuple.d.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,38 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [8.0.4](https://github.com/thi-ng/umbrella/compare/@thi.ng/api@8.0.3...@thi.ng/api@8.0.4) (2021-10-25)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @thi.ng/api
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [8.0.3](https://github.com/thi-ng/umbrella/compare/@thi.ng/api@8.0.2...@thi.ng/api@8.0.3) (2021-10-15)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @thi.ng/api
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
## [8.0.2](https://github.com/thi-ng/umbrella/compare/@thi.ng/api@8.0.1...@thi.ng/api@8.0.2) (2021-10-15)
|
|
23
|
+
|
|
24
|
+
**Note:** Version bump only for package @thi.ng/api
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
## [8.0.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/api@8.0.0...@thi.ng/api@8.0.1) (2021-10-13)
|
|
31
|
+
|
|
32
|
+
**Note:** Version bump only for package @thi.ng/api
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
6
38
|
# [8.0.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/api@7.2.0...@thi.ng/api@8.0.0) (2021-10-12)
|
|
7
39
|
|
|
8
40
|
|
package/README.md
CHANGED
|
@@ -51,10 +51,11 @@ ES module import:
|
|
|
51
51
|
|
|
52
52
|
[Skypack documentation](https://docs.skypack.dev/)
|
|
53
53
|
|
|
54
|
-
For
|
|
54
|
+
For Node.js REPL:
|
|
55
55
|
|
|
56
56
|
```text
|
|
57
|
-
|
|
57
|
+
# with flag only for < v16
|
|
58
|
+
node --experimental-repl-await
|
|
58
59
|
|
|
59
60
|
> const api = await import("@thi.ng/api");
|
|
60
61
|
```
|
package/assoc.d.ts
CHANGED
package/compare.d.ts
CHANGED
package/deref.d.ts
CHANGED
package/dissoc.d.ts
CHANGED
package/event.d.ts
CHANGED
package/index.d.ts
CHANGED
|
@@ -1,49 +1,49 @@
|
|
|
1
|
-
export * from "./assoc";
|
|
2
|
-
export * from "./bind";
|
|
3
|
-
export * from "./buffered";
|
|
4
|
-
export * from "./clear";
|
|
5
|
-
export * from "./compare";
|
|
6
|
-
export * from "./contains";
|
|
7
|
-
export * from "./copy";
|
|
8
|
-
export * from "./deref";
|
|
9
|
-
export * from "./dissoc";
|
|
10
|
-
export * from "./empty";
|
|
11
|
-
export * from "./enable";
|
|
12
|
-
export * from "./equiv";
|
|
13
|
-
export * from "./event";
|
|
14
|
-
export * from "./fn";
|
|
15
|
-
export * from "./get";
|
|
16
|
-
export * from "./hash";
|
|
17
|
-
export * from "./hiccup";
|
|
18
|
-
export * from "./id";
|
|
19
|
-
export * from "./indexed";
|
|
20
|
-
export * from "./into";
|
|
21
|
-
export * from "./keyval";
|
|
22
|
-
export * from "./length";
|
|
23
|
-
export * from "./meta";
|
|
24
|
-
export * from "./null";
|
|
25
|
-
export * from "./object";
|
|
26
|
-
export * from "./path";
|
|
27
|
-
export * from "./predicate";
|
|
28
|
-
export * from "./prim";
|
|
29
|
-
export * from "./range";
|
|
30
|
-
export * from "./release";
|
|
31
|
-
export * from "./reset";
|
|
32
|
-
export * from "./select";
|
|
33
|
-
export * from "./seq";
|
|
34
|
-
export * from "./set";
|
|
35
|
-
export * from "./stack";
|
|
36
|
-
export * from "./tuple";
|
|
37
|
-
export * from "./typedarray";
|
|
38
|
-
export * from "./watch";
|
|
39
|
-
export * from "./api";
|
|
40
|
-
export * from "./mixin";
|
|
41
|
-
export * from "./decorators/configurable";
|
|
42
|
-
export * from "./decorators/deprecated";
|
|
43
|
-
export * from "./decorators/nomixin";
|
|
44
|
-
export * from "./decorators/sealed";
|
|
45
|
-
export * from "./mixins/ienable";
|
|
46
|
-
export * from "./mixins/inotify";
|
|
47
|
-
export * from "./mixins/iterable";
|
|
48
|
-
export * from "./mixins/iwatch";
|
|
1
|
+
export * from "./assoc.js";
|
|
2
|
+
export * from "./bind.js";
|
|
3
|
+
export * from "./buffered.js";
|
|
4
|
+
export * from "./clear.js";
|
|
5
|
+
export * from "./compare.js";
|
|
6
|
+
export * from "./contains.js";
|
|
7
|
+
export * from "./copy.js";
|
|
8
|
+
export * from "./deref.js";
|
|
9
|
+
export * from "./dissoc.js";
|
|
10
|
+
export * from "./empty.js";
|
|
11
|
+
export * from "./enable.js";
|
|
12
|
+
export * from "./equiv.js";
|
|
13
|
+
export * from "./event.js";
|
|
14
|
+
export * from "./fn.js";
|
|
15
|
+
export * from "./get.js";
|
|
16
|
+
export * from "./hash.js";
|
|
17
|
+
export * from "./hiccup.js";
|
|
18
|
+
export * from "./id.js";
|
|
19
|
+
export * from "./indexed.js";
|
|
20
|
+
export * from "./into.js";
|
|
21
|
+
export * from "./keyval.js";
|
|
22
|
+
export * from "./length.js";
|
|
23
|
+
export * from "./meta.js";
|
|
24
|
+
export * from "./null.js";
|
|
25
|
+
export * from "./object.js";
|
|
26
|
+
export * from "./path.js";
|
|
27
|
+
export * from "./predicate.js";
|
|
28
|
+
export * from "./prim.js";
|
|
29
|
+
export * from "./range.js";
|
|
30
|
+
export * from "./release.js";
|
|
31
|
+
export * from "./reset.js";
|
|
32
|
+
export * from "./select.js";
|
|
33
|
+
export * from "./seq.js";
|
|
34
|
+
export * from "./set.js";
|
|
35
|
+
export * from "./stack.js";
|
|
36
|
+
export * from "./tuple.js";
|
|
37
|
+
export * from "./typedarray.js";
|
|
38
|
+
export * from "./watch.js";
|
|
39
|
+
export * from "./api.js";
|
|
40
|
+
export * from "./mixin.js";
|
|
41
|
+
export * from "./decorators/configurable.js";
|
|
42
|
+
export * from "./decorators/deprecated.js";
|
|
43
|
+
export * from "./decorators/nomixin.js";
|
|
44
|
+
export * from "./decorators/sealed.js";
|
|
45
|
+
export * from "./mixins/ienable.js";
|
|
46
|
+
export * from "./mixins/inotify.js";
|
|
47
|
+
export * from "./mixins/iterable.js";
|
|
48
|
+
export * from "./mixins/iwatch.js";
|
|
49
49
|
//# sourceMappingURL=index.d.ts.map
|
package/index.js
CHANGED
|
@@ -1,48 +1,48 @@
|
|
|
1
|
-
export * from "./assoc";
|
|
2
|
-
export * from "./bind";
|
|
3
|
-
export * from "./buffered";
|
|
4
|
-
export * from "./clear";
|
|
5
|
-
export * from "./compare";
|
|
6
|
-
export * from "./contains";
|
|
7
|
-
export * from "./copy";
|
|
8
|
-
export * from "./deref";
|
|
9
|
-
export * from "./dissoc";
|
|
10
|
-
export * from "./empty";
|
|
11
|
-
export * from "./enable";
|
|
12
|
-
export * from "./equiv";
|
|
13
|
-
export * from "./event";
|
|
14
|
-
export * from "./fn";
|
|
15
|
-
export * from "./get";
|
|
16
|
-
export * from "./hash";
|
|
17
|
-
export * from "./hiccup";
|
|
18
|
-
export * from "./id";
|
|
19
|
-
export * from "./indexed";
|
|
20
|
-
export * from "./into";
|
|
21
|
-
export * from "./keyval";
|
|
22
|
-
export * from "./length";
|
|
23
|
-
export * from "./meta";
|
|
24
|
-
export * from "./null";
|
|
25
|
-
export * from "./object";
|
|
26
|
-
export * from "./path";
|
|
27
|
-
export * from "./predicate";
|
|
28
|
-
export * from "./prim";
|
|
29
|
-
export * from "./range";
|
|
30
|
-
export * from "./release";
|
|
31
|
-
export * from "./reset";
|
|
32
|
-
export * from "./select";
|
|
33
|
-
export * from "./seq";
|
|
34
|
-
export * from "./set";
|
|
35
|
-
export * from "./stack";
|
|
36
|
-
export * from "./tuple";
|
|
37
|
-
export * from "./typedarray";
|
|
38
|
-
export * from "./watch";
|
|
39
|
-
export * from "./api";
|
|
40
|
-
export * from "./mixin";
|
|
41
|
-
export * from "./decorators/configurable";
|
|
42
|
-
export * from "./decorators/deprecated";
|
|
43
|
-
export * from "./decorators/nomixin";
|
|
44
|
-
export * from "./decorators/sealed";
|
|
45
|
-
export * from "./mixins/ienable";
|
|
46
|
-
export * from "./mixins/inotify";
|
|
47
|
-
export * from "./mixins/iterable";
|
|
48
|
-
export * from "./mixins/iwatch";
|
|
1
|
+
export * from "./assoc.js";
|
|
2
|
+
export * from "./bind.js";
|
|
3
|
+
export * from "./buffered.js";
|
|
4
|
+
export * from "./clear.js";
|
|
5
|
+
export * from "./compare.js";
|
|
6
|
+
export * from "./contains.js";
|
|
7
|
+
export * from "./copy.js";
|
|
8
|
+
export * from "./deref.js";
|
|
9
|
+
export * from "./dissoc.js";
|
|
10
|
+
export * from "./empty.js";
|
|
11
|
+
export * from "./enable.js";
|
|
12
|
+
export * from "./equiv.js";
|
|
13
|
+
export * from "./event.js";
|
|
14
|
+
export * from "./fn.js";
|
|
15
|
+
export * from "./get.js";
|
|
16
|
+
export * from "./hash.js";
|
|
17
|
+
export * from "./hiccup.js";
|
|
18
|
+
export * from "./id.js";
|
|
19
|
+
export * from "./indexed.js";
|
|
20
|
+
export * from "./into.js";
|
|
21
|
+
export * from "./keyval.js";
|
|
22
|
+
export * from "./length.js";
|
|
23
|
+
export * from "./meta.js";
|
|
24
|
+
export * from "./null.js";
|
|
25
|
+
export * from "./object.js";
|
|
26
|
+
export * from "./path.js";
|
|
27
|
+
export * from "./predicate.js";
|
|
28
|
+
export * from "./prim.js";
|
|
29
|
+
export * from "./range.js";
|
|
30
|
+
export * from "./release.js";
|
|
31
|
+
export * from "./reset.js";
|
|
32
|
+
export * from "./select.js";
|
|
33
|
+
export * from "./seq.js";
|
|
34
|
+
export * from "./set.js";
|
|
35
|
+
export * from "./stack.js";
|
|
36
|
+
export * from "./tuple.js";
|
|
37
|
+
export * from "./typedarray.js";
|
|
38
|
+
export * from "./watch.js";
|
|
39
|
+
export * from "./api.js";
|
|
40
|
+
export * from "./mixin.js";
|
|
41
|
+
export * from "./decorators/configurable.js";
|
|
42
|
+
export * from "./decorators/deprecated.js";
|
|
43
|
+
export * from "./decorators/nomixin.js";
|
|
44
|
+
export * from "./decorators/sealed.js";
|
|
45
|
+
export * from "./mixins/ienable.js";
|
|
46
|
+
export * from "./mixins/inotify.js";
|
|
47
|
+
export * from "./mixins/iterable.js";
|
|
48
|
+
export * from "./mixins/iwatch.js";
|
package/keyval.d.ts
CHANGED
package/mixins/ienable.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { EVENT_DISABLE, EVENT_ENABLE } from "../api";
|
|
2
|
-
import { mixin } from "../mixin";
|
|
1
|
+
import { EVENT_DISABLE, EVENT_ENABLE } from "../api.js";
|
|
2
|
+
import { mixin } from "../mixin.js";
|
|
3
3
|
/**
|
|
4
4
|
* Mixin class decorator, injects IEnable default implementation, incl.
|
|
5
5
|
* a `_enabled` property. If the target also implements the
|
package/mixins/inotify.d.ts
CHANGED
package/mixins/inotify.js
CHANGED
package/mixins/iterable.js
CHANGED
package/mixins/iwatch.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/api",
|
|
3
|
-
"version": "8.0.
|
|
3
|
+
"version": "8.0.4",
|
|
4
4
|
"description": "Common, generic types, interfaces & mixins",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"test": "testament test"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"@thi.ng/testament": "^0.1.
|
|
37
|
+
"@thi.ng/testament": "^0.1.4"
|
|
38
38
|
},
|
|
39
39
|
"keywords": [
|
|
40
40
|
"assert",
|
|
@@ -53,6 +53,9 @@
|
|
|
53
53
|
"process": false,
|
|
54
54
|
"setTimeout": false
|
|
55
55
|
},
|
|
56
|
+
"engines": {
|
|
57
|
+
"node": ">=12.7"
|
|
58
|
+
},
|
|
56
59
|
"files": [
|
|
57
60
|
"*.js",
|
|
58
61
|
"*.d.ts",
|
|
@@ -208,5 +211,5 @@
|
|
|
208
211
|
"import": "./watch.js"
|
|
209
212
|
}
|
|
210
213
|
},
|
|
211
|
-
"gitHead": "
|
|
214
|
+
"gitHead": "9ff00a103f76cc4917ef3f244132e218f2300a05"
|
|
212
215
|
}
|
package/path.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { NumOrString } from "./prim";
|
|
2
|
-
import type { Keys, Keys1, Keys2, Keys3, Keys4, Keys5, Keys6, Keys7, ValN } from "./keyval";
|
|
3
|
-
import type { Head, Tail, IsEmpty } from "./tuple";
|
|
1
|
+
import type { NumOrString } from "./prim.js";
|
|
2
|
+
import type { Keys, Keys1, Keys2, Keys3, Keys4, Keys5, Keys6, Keys7, ValN } from "./keyval.js";
|
|
3
|
+
import type { Head, Tail, IsEmpty } from "./tuple.js";
|
|
4
4
|
/**
|
|
5
5
|
* Unchecked lookup path for nested data structures.
|
|
6
6
|
*/
|
package/predicate.d.ts
CHANGED
package/set.d.ts
CHANGED
package/tuple.d.ts
CHANGED