From 281af58b56cf1088caf3f3d077fcdabeaebdeba5 Mon Sep 17 00:00:00 2001 From: Joe Pea Date: Tue, 14 May 2024 12:06:35 -0700 Subject: [PATCH] update build --- dist/BehaviorMap.d.ts.map | 2 +- dist/BehaviorMap.js | 2 ++ dist/BehaviorMap.js.map | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/dist/BehaviorMap.d.ts.map b/dist/BehaviorMap.d.ts.map index 6aeac7e..96f91b6 100644 --- a/dist/BehaviorMap.d.ts.map +++ b/dist/BehaviorMap.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"BehaviorMap.d.ts","sourceRoot":"","sources":["../src/BehaviorMap.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAC,wBAAwB,EAAC,MAAM,uBAAuB,CAAA;AAEnE;;;;GAIG;AAEH,qBAAa,WAAY,SAAQ,GAAG,CAAC,MAAM,EAAE,wBAAwB,CAAC;;IAOrE,IAAI,CAAC,SAAS,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,wBAAwB,KAAK,OAAO;IAYpE,GAAG,CAAC,GAAG,EAAE,MAAM,GAAG,wBAAwB,GAAG,SAAS;IAOtD,GAAG,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,wBAAwB,GAAG,IAAI;IAYvD,MAAM,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO;IAS5B,KAAK,IAAI,IAAI;IASb,GAAG,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO;IAUzB,OAAO,IAAI,gBAAgB,CAAC,CAAC,MAAM,EAAE,wBAAwB,CAAC,CAAC;IAQ/D,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,gBAAgB,CAAC,CAAC,MAAM,EAAE,wBAAwB,CAAC,CAAC;IAQzE,OAAO,CACf,UAAU,EAAE,CAAC,KAAK,EAAE,wBAAwB,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,GAAG,CAAC,MAAM,EAAE,wBAAwB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,IAAa,IAAI,CAAC,CAAC,EAAE,MAAM,EAK1B;CACD"} \ No newline at end of file diff --git a/dist/BehaviorMap.js b/dist/BehaviorMap.js index d1c6a48..77ed2ab 100644 --- a/dist/BehaviorMap.js +++ b/dist/BehaviorMap.js @@ -13,6 +13,8 @@ export class BehaviorMap extends Map { #reactivityTriggerObject = createMutable({}); find(predicate) { let result = void undefined; + // Note, this for-of loop accesses Symbol.iterator which makes find() + // reactive. for (const [name, behavior] of this) { if (!predicate(name, behavior)) continue; diff --git a/dist/BehaviorMap.js.map b/dist/BehaviorMap.js.map index b5e7115..cde6fdd 100644 --- a/dist/BehaviorMap.js.map +++ b/dist/BehaviorMap.js.map @@ -1 +1 @@ -{"version":3,"file":"BehaviorMap.js","sourceRoot":"","sources":["../src/BehaviorMap.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,MAAM,EAAC,MAAM,UAAU,CAAA;AAC/B,OAAO,EAAC,aAAa,EAAE,aAAa,EAAE,SAAS,EAAC,MAAM,gBAAgB,CAAA;AAGtE;;;;GAIG;AAEH,MAAM,OAAO,WAAY,SAAQ,GAAqC;IACrE,0EAA0E;IAC1E,0EAA0E;IAC1E,yEAAyE;IACzE,4DAA4D;IAC5D,wBAAwB,GAAG,aAAa,CAA2C,EAAE,CAAC,CAAA;IAEtF,IAAI,CAAC,SAAwE;QAC5E,IAAI,MAAM,GAAyC,KAAK,SAAS,CAAA;QAEjE,KAAK,MAAM,CAAC,IAAI,EAAE,QAAQ,CAAC,IAAI,IAAI,EAAE;YACpC,IAAI,CAAC,SAAS,CAAC,IAAI,EAAE,QAAQ,CAAC;gBAAE,SAAQ;YACxC,MAAM,GAAG,QAAQ,CAAA;YACjB,MAAK;SACL;QAED,OAAO,MAAM,CAAA;IACd,CAAC;IAEQ,GAAG,CAAC,GAAW;QACvB,6CAA6C;QAC7C,IAAI,CAAC,wBAAwB,CAAC,GAAG,CAAC,CAAA;QAElC,OAAO,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC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