@rotorsoft/act 0.39.0 → 0.41.0
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/builders/act-builder.d.ts.map +1 -1
- package/dist/@types/builders/slice-builder.d.ts.map +1 -1
- package/dist/@types/internal/backoff.d.ts +22 -0
- package/dist/@types/internal/backoff.d.ts.map +1 -0
- package/dist/@types/internal/correlate-cycle.d.ts.map +1 -1
- package/dist/@types/internal/drain-cycle.d.ts +34 -1
- package/dist/@types/internal/drain-cycle.d.ts.map +1 -1
- package/dist/@types/internal/lru-map.d.ts.map +1 -0
- package/dist/@types/internal/reactions.d.ts.map +1 -1
- package/dist/@types/types/action.d.ts +2 -2
- package/dist/@types/types/ports.d.ts +13 -8
- package/dist/@types/types/ports.d.ts.map +1 -1
- package/dist/@types/types/reaction.d.ts +44 -0
- package/dist/@types/types/reaction.d.ts.map +1 -1
- package/dist/{chunk-RHS57BUR.js → chunk-M5YFKVRV.js} +7 -7
- package/dist/chunk-M5YFKVRV.js.map +1 -0
- package/dist/index.cjs +92 -13
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +87 -8
- package/dist/index.js.map +1 -1
- package/dist/test/index.cjs +8 -8
- package/dist/test/index.cjs.map +1 -1
- package/dist/test/index.js +3 -3
- package/dist/test/index.js.map +1 -1
- package/package.json +4 -1
- package/dist/@types/lru-map.d.ts.map +0 -1
- package/dist/chunk-RHS57BUR.js.map +0 -1
- /package/dist/@types/{lru-map.d.ts → internal/lru-map.d.ts} +0 -0
package/dist/test/index.cjs
CHANGED
|
@@ -3831,7 +3831,7 @@ function manageArtifactAttachment(attachment) {
|
|
|
3831
3831
|
}
|
|
3832
3832
|
}
|
|
3833
3833
|
|
|
3834
|
-
// ../../node_modules/.pnpm/vite@7.3.3_@types+node@25.
|
|
3834
|
+
// ../../node_modules/.pnpm/vite@7.3.3_@types+node@25.7.0_jiti@2.6.1_lightningcss@1.32.0_terser@5.46.1_tsx@4.21.0_yaml@2.9.0/node_modules/vite/dist/node/module-runner.js
|
|
3835
3835
|
var SOURCEMAPPING_URL = "sourceMa";
|
|
3836
3836
|
SOURCEMAPPING_URL += "ppingURL";
|
|
3837
3837
|
var isWindows = typeof process < "u" && process.platform === "win32";
|
|
@@ -3876,10 +3876,10 @@ var envProxy = new Proxy({}, { get(_, p) {
|
|
|
3876
3876
|
throw Error(`[module runner] Dynamic access of "import.meta.env" is not supported. Please, use "import.meta.env.${String(p)}" instead.`);
|
|
3877
3877
|
} });
|
|
3878
3878
|
|
|
3879
|
-
// ../../node_modules/.pnpm/vitest@4.1.6_@opentelemetry+api@1.9.0_@types+node@25.
|
|
3879
|
+
// ../../node_modules/.pnpm/vitest@4.1.6_@opentelemetry+api@1.9.0_@types+node@25.7.0_@vitest+coverage-v8@4.1.6_vite_582ee6038b40d7e1fe3c73876076a024/node_modules/vitest/dist/index.js
|
|
3880
3880
|
var import_expect_type = __toESM(require_dist(), 1);
|
|
3881
3881
|
|
|
3882
|
-
// src/lru-map.ts
|
|
3882
|
+
// src/internal/lru-map.ts
|
|
3883
3883
|
var LruMap = class {
|
|
3884
3884
|
constructor(_maxSize) {
|
|
3885
3885
|
this._maxSize = _maxSize;
|
|
@@ -4439,7 +4439,7 @@ var InMemoryStore = class {
|
|
|
4439
4439
|
if (query.stream) {
|
|
4440
4440
|
if (query.stream_exact) {
|
|
4441
4441
|
if (e.stream !== query.stream) return false;
|
|
4442
|
-
} else if (!RegExp(
|
|
4442
|
+
} else if (!RegExp(query.stream).test(e.stream)) return false;
|
|
4443
4443
|
}
|
|
4444
4444
|
if (query.names && !query.names.includes(e.name)) return false;
|
|
4445
4445
|
if (query.correlation && e.meta?.correlation !== query.correlation)
|
|
@@ -4655,8 +4655,8 @@ var InMemoryStore = class {
|
|
|
4655
4655
|
*/
|
|
4656
4656
|
async prioritize(filter, priority) {
|
|
4657
4657
|
await sleep();
|
|
4658
|
-
const streamRe = filter.stream && !filter.stream_exact ? new RegExp(
|
|
4659
|
-
const sourceRe = filter.source && !filter.source_exact ? new RegExp(
|
|
4658
|
+
const streamRe = filter.stream && !filter.stream_exact ? new RegExp(filter.stream) : void 0;
|
|
4659
|
+
const sourceRe = filter.source && !filter.source_exact ? new RegExp(filter.source) : void 0;
|
|
4660
4660
|
let count = 0;
|
|
4661
4661
|
for (const s of this._streams.values()) {
|
|
4662
4662
|
if (filter.stream !== void 0) {
|
|
@@ -4687,8 +4687,8 @@ var InMemoryStore = class {
|
|
|
4687
4687
|
const limit = query?.limit ?? 100;
|
|
4688
4688
|
const after = query?.after;
|
|
4689
4689
|
const blocked = query?.blocked;
|
|
4690
|
-
const streamRe = query?.stream && !query.stream_exact ? new RegExp(
|
|
4691
|
-
const sourceRe = query?.source && !query.source_exact ? new RegExp(
|
|
4690
|
+
const streamRe = query?.stream && !query.stream_exact ? new RegExp(query.stream) : void 0;
|
|
4691
|
+
const sourceRe = query?.source && !query.source_exact ? new RegExp(query.source) : void 0;
|
|
4692
4692
|
const sorted = [...this._streams.values()].sort(
|
|
4693
4693
|
(a, b2) => a.stream.localeCompare(b2.stream)
|
|
4694
4694
|
);
|