@thi.ng/rstream 7.2.45 → 7.2.46
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 +7 -1
- package/README.md +1 -1
- package/checks.d.ts +1 -1
- package/debounce.d.ts +1 -1
- package/event.js +1 -1
- package/interval.d.ts +1 -1
- package/iterable.d.ts +1 -1
- package/merge.d.ts +1 -1
- package/metastream.d.ts +1 -1
- package/metastream.js +1 -1
- package/nodejs.d.ts +1 -1
- package/object.d.ts +1 -1
- package/package.json +14 -14
- package/promise.d.ts +1 -1
- package/pubsub.d.ts +1 -1
- package/sidechain-partition.d.ts +1 -1
- package/sidechain-toggle.d.ts +1 -1
- package/stream.d.ts +1 -1
- package/subscription.d.ts +2 -3
- package/sync.d.ts +1 -1
- package/timeout.d.ts +1 -1
- package/tween.d.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
-
- **Last updated**: 2023-03-
|
|
3
|
+
- **Last updated**: 2023-03-27T19:05:48Z
|
|
4
4
|
- **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
|
|
5
5
|
|
|
6
6
|
All notable changes to this project will be documented in this file.
|
|
@@ -9,6 +9,12 @@ See [Conventional Commits](https://conventionalcommits.org/) for commit guidelin
|
|
|
9
9
|
**Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
|
|
10
10
|
and/or version bumps of transitive dependencies.
|
|
11
11
|
|
|
12
|
+
### [7.2.46](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream@7.2.46) (2023-03-27)
|
|
13
|
+
|
|
14
|
+
#### ♻️ Refactoring
|
|
15
|
+
|
|
16
|
+
- update imports (TS5.0) ([562e1af](https://github.com/thi-ng/umbrella/commit/562e1af))
|
|
17
|
+
|
|
12
18
|
### [7.2.31](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream@7.2.31) (2022-12-16)
|
|
13
19
|
|
|
14
20
|
#### 🩹 Bug fixes
|
package/README.md
CHANGED
package/checks.d.ts
CHANGED
package/debounce.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MetaStreamOpts } from "./metastream.js";
|
|
1
|
+
import { type MetaStreamOpts } from "./metastream.js";
|
|
2
2
|
/**
|
|
3
3
|
* Returns a subscription which buffers any intermediate inputs arriving faster
|
|
4
4
|
* than given `delay` time period, then emits last received value after `delay`
|
package/event.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { __optsWithID } from "./idgen.js";
|
|
2
|
-
import { stream } from "./stream.js";
|
|
2
|
+
import { stream, Stream } from "./stream.js";
|
|
3
3
|
/**
|
|
4
4
|
* Creates a {@link Stream} of events attached to given element / event
|
|
5
5
|
* target and using given event listener options (same as supported by
|
package/interval.d.ts
CHANGED
package/iterable.d.ts
CHANGED
package/merge.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ISubscribable, ISubscription, TransformableOpts } from "./api.js";
|
|
1
|
+
import { type ISubscribable, type ISubscription, type TransformableOpts } from "./api.js";
|
|
2
2
|
import { Subscription } from "./subscription.js";
|
|
3
3
|
export interface StreamMergeOpts<A, B> extends TransformableOpts<A, B> {
|
|
4
4
|
/**
|
package/metastream.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Fn, Nullable } from "@thi.ng/api";
|
|
2
|
-
import { CommonOpts, ISubscription } from "./api.js";
|
|
2
|
+
import { type CommonOpts, type ISubscription } from "./api.js";
|
|
3
3
|
import { Subscription } from "./subscription.js";
|
|
4
4
|
export interface MetaStreamOpts extends CommonOpts {
|
|
5
5
|
/**
|
package/metastream.js
CHANGED
package/nodejs.d.ts
CHANGED
package/object.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Keys, Predicate2 } from "@thi.ng/api";
|
|
2
2
|
import type { CommonOpts } from "./api.js";
|
|
3
|
-
import { Subscription } from "./subscription.js";
|
|
3
|
+
import { type Subscription } from "./subscription.js";
|
|
4
4
|
export type KeyStreams<T, K extends Keys<T>> = {
|
|
5
5
|
[id in K]-?: Subscription<T[id], T[id]>;
|
|
6
6
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/rstream",
|
|
3
|
-
"version": "7.2.
|
|
3
|
+
"version": "7.2.46",
|
|
4
4
|
"description": "Reactive streams & subscription primitives for constructing dataflow graphs / pipelines",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -38,22 +38,22 @@
|
|
|
38
38
|
"test": "testament test"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@thi.ng/api": "^8.7.
|
|
42
|
-
"@thi.ng/arrays": "^2.5.
|
|
43
|
-
"@thi.ng/associative": "^6.2.
|
|
44
|
-
"@thi.ng/atom": "^5.1.
|
|
45
|
-
"@thi.ng/checks": "^3.3.
|
|
46
|
-
"@thi.ng/errors": "^2.2.
|
|
47
|
-
"@thi.ng/logger": "^1.4.
|
|
48
|
-
"@thi.ng/transducers": "^8.4.
|
|
41
|
+
"@thi.ng/api": "^8.7.5",
|
|
42
|
+
"@thi.ng/arrays": "^2.5.9",
|
|
43
|
+
"@thi.ng/associative": "^6.2.33",
|
|
44
|
+
"@thi.ng/atom": "^5.1.34",
|
|
45
|
+
"@thi.ng/checks": "^3.3.11",
|
|
46
|
+
"@thi.ng/errors": "^2.2.14",
|
|
47
|
+
"@thi.ng/logger": "^1.4.12",
|
|
48
|
+
"@thi.ng/transducers": "^8.4.1"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"@microsoft/api-extractor": "^7.34.4",
|
|
52
|
-
"@thi.ng/testament": "^0.3.
|
|
53
|
-
"rimraf": "^4.4.
|
|
52
|
+
"@thi.ng/testament": "^0.3.14",
|
|
53
|
+
"rimraf": "^4.4.1",
|
|
54
54
|
"tools": "^0.0.1",
|
|
55
|
-
"typedoc": "^0.23.
|
|
56
|
-
"typescript": "^
|
|
55
|
+
"typedoc": "^0.23.28",
|
|
56
|
+
"typescript": "^5.0.2"
|
|
57
57
|
},
|
|
58
58
|
"keywords": [
|
|
59
59
|
"async",
|
|
@@ -205,5 +205,5 @@
|
|
|
205
205
|
],
|
|
206
206
|
"year": 2017
|
|
207
207
|
},
|
|
208
|
-
"gitHead": "
|
|
208
|
+
"gitHead": "83b15b34326d480cbca0472b20390d4d3bbb792a\n"
|
|
209
209
|
}
|
package/promise.d.ts
CHANGED
package/pubsub.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { Fn, Predicate2 } from "@thi.ng/api";
|
|
2
2
|
import { EquivMap } from "@thi.ng/associative/equiv-map";
|
|
3
3
|
import type { Transducer } from "@thi.ng/transducers";
|
|
4
|
-
import { ISubscriber, ISubscription, TransformableOpts, WithErrorHandlerOpts } from "./api.js";
|
|
4
|
+
import { type ISubscriber, type ISubscription, type TransformableOpts, type WithErrorHandlerOpts } from "./api.js";
|
|
5
5
|
import { Subscription } from "./subscription.js";
|
|
6
6
|
export interface PubSubOpts<A, B, T> {
|
|
7
7
|
/**
|
package/sidechain-partition.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Predicate } from "@thi.ng/api";
|
|
2
|
-
import { CommonOpts, ISubscribable } from "./api.js";
|
|
2
|
+
import { type CommonOpts, type ISubscribable } from "./api.js";
|
|
3
3
|
import { ASidechain } from "./asidechain.js";
|
|
4
4
|
import type { Subscription } from "./subscription.js";
|
|
5
5
|
export interface SidechainPartitionOpts<T> extends CommonOpts {
|
package/sidechain-toggle.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Predicate } from "@thi.ng/api";
|
|
2
|
-
import { CommonOpts, ISubscribable } from "./api.js";
|
|
2
|
+
import { type CommonOpts, type ISubscribable } from "./api.js";
|
|
3
3
|
import { ASidechain } from "./asidechain.js";
|
|
4
4
|
import type { Subscription } from "./subscription.js";
|
|
5
5
|
export interface SidechainToggleOpts<T> extends CommonOpts {
|
package/stream.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CommonOpts, IStream, ISubscriber, ISubscription, StreamCancel, StreamSource, TransformableOpts, WithErrorHandlerOpts } from "./api.js";
|
|
1
|
+
import { type CommonOpts, type IStream, type ISubscriber, type ISubscription, type StreamCancel, type StreamSource, type TransformableOpts, type WithErrorHandlerOpts } from "./api.js";
|
|
2
2
|
import { Subscription } from "./subscription.js";
|
|
3
3
|
/**
|
|
4
4
|
* Creates a new {@link Stream} instance, optionally with given `StreamSource`
|
package/subscription.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import type { Fn } from "@thi.ng/api";
|
|
2
|
-
import type { Reducer, Transducer } from "@thi.ng/transducers";
|
|
3
|
-
import {
|
|
4
|
-
import { CloseMode, CommonOpts, ISubscriber, ISubscription, State, SubscriptionOpts, TransformableOpts, WithErrorHandlerOpts, WithTransform } from "./api.js";
|
|
2
|
+
import type { Reduced, Reducer, Transducer } from "@thi.ng/transducers";
|
|
3
|
+
import { CloseMode, State, type CommonOpts, type ISubscriber, type ISubscription, type SubscriptionOpts, type TransformableOpts, type WithErrorHandlerOpts, type WithTransform } from "./api.js";
|
|
5
4
|
/**
|
|
6
5
|
* Creates a new {@link Subscription} instance, the fundamental datatype and
|
|
7
6
|
* building block provided by this package.
|
package/sync.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Always, Derefed, IObjectOf } from "@thi.ng/api";
|
|
2
|
-
import { PartitionSync } from "@thi.ng/transducers/partition-sync";
|
|
2
|
+
import { type PartitionSync } from "@thi.ng/transducers/partition-sync";
|
|
3
3
|
import type { ISubscribable, ISubscription, TransformableOpts } from "./api.js";
|
|
4
4
|
import { Subscription } from "./subscription.js";
|
|
5
5
|
export type SyncTuple<T extends IObjectOf<ISubscribable<any>>> = {
|
package/timeout.d.ts
CHANGED
package/tween.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Fn2 } from "@thi.ng/api";
|
|
2
|
-
import { ISubscribable } from "./api.js";
|
|
2
|
+
import { type ISubscribable } from "./api.js";
|
|
3
3
|
/**
|
|
4
4
|
* Takes an existing stream/subscription `src` and attaches new
|
|
5
5
|
* subscription which interpolates between incoming values from `src`
|