@rotorsoft/act 1.23.21 → 1.23.23
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/.tsbuildinfo +1 -1
- package/dist/@types/adapters/in-memory-store.d.ts.map +1 -1
- package/dist/@types/internal/autoclose-reaction.d.ts.map +1 -1
- package/dist/{chunk-T722JHPU.js → chunk-4JK4QJIT.js} +4 -4
- package/dist/{chunk-T722JHPU.js.map → chunk-4JK4QJIT.js.map} +1 -1
- package/dist/index.cjs +6 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +4 -3
- package/dist/index.js.map +1 -1
- package/dist/test/index.cjs +3 -3
- package/dist/test/index.cjs.map +1 -1
- package/dist/test/index.js +1 -1
- package/package.json +2 -2
package/dist/test/index.cjs
CHANGED
|
@@ -963,7 +963,7 @@ var InMemoryStore = class {
|
|
|
963
963
|
await sleep();
|
|
964
964
|
let count = 0;
|
|
965
965
|
if (Array.isArray(input)) {
|
|
966
|
-
for (const name of input) {
|
|
966
|
+
for (const name of new Set(input)) {
|
|
967
967
|
const s = this._streams.get(name);
|
|
968
968
|
if (s) {
|
|
969
969
|
s.defer(deferred_at);
|
|
@@ -1017,7 +1017,7 @@ var InMemoryStore = class {
|
|
|
1017
1017
|
await sleep();
|
|
1018
1018
|
let count = 0;
|
|
1019
1019
|
if (Array.isArray(input)) {
|
|
1020
|
-
for (const name of input) {
|
|
1020
|
+
for (const name of new Set(input)) {
|
|
1021
1021
|
const s = this._streams.get(name);
|
|
1022
1022
|
if (s) {
|
|
1023
1023
|
s.reset();
|
|
@@ -1222,7 +1222,7 @@ var InMemoryStore = class {
|
|
|
1222
1222
|
a.names[n] = (a.names[n] ?? 0) + 1;
|
|
1223
1223
|
}
|
|
1224
1224
|
}
|
|
1225
|
-
const ordered = [...acc.keys()].sort(
|
|
1225
|
+
const ordered = [...acc.keys()].sort();
|
|
1226
1226
|
const out = /* @__PURE__ */ new Map();
|
|
1227
1227
|
for (const stream of ordered) {
|
|
1228
1228
|
if (after !== void 0 && stream <= after) continue;
|