|
| 1 | +diff --git a/Users/brendonovich/github.com/anomalyco/opencode/node_modules/solid-js/.bun-tag-6fcb6b48d6947d2c b/.bun-tag-6fcb6b48d6947d2c |
| 2 | +new file mode 100644 |
| 3 | +index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 |
| 4 | +diff --git a/Users/brendonovich/github.com/anomalyco/opencode/node_modules/solid-js/.bun-tag-b272f631c12927b0 b/.bun-tag-b272f631c12927b0 |
| 5 | +new file mode 100644 |
| 6 | +index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 |
| 7 | +diff --git a/dist/dev.cjs b/dist/dev.cjs |
| 8 | +index 7104749486e4361e8c4ee7836a8046582cec7aa1..0501eb1ec5d13b81ecb13a5ac1a82db42502b976 100644 |
| 9 | +--- a/dist/dev.cjs |
| 10 | ++++ b/dist/dev.cjs |
| 11 | +@@ -764,6 +764,8 @@ function runComputation(node, value, time) { |
| 12 | + if (node.updatedAt != null && "observers" in node) { |
| 13 | + writeSignal(node, nextValue, true); |
| 14 | + } else if (Transition && Transition.running && node.pure) { |
| 15 | ++ // On first computation during transition, also set committed value #2046 |
| 16 | ++ if (!Transition.sources.has(node)) node.value = nextValue; |
| 17 | + Transition.sources.add(node); |
| 18 | + node.tValue = nextValue; |
| 19 | + } else node.value = nextValue; |
| 20 | +diff --git a/dist/dev.js b/dist/dev.js |
| 21 | +index ea5e4bc2fd4f0b3922a73d9134439529dc81339f..4b3ec07e624d20fdd23d6941a4fdde6d3a78cca3 100644 |
| 22 | +--- a/dist/dev.js |
| 23 | ++++ b/dist/dev.js |
| 24 | +@@ -762,6 +762,8 @@ function runComputation(node, value, time) { |
| 25 | + if (node.updatedAt != null && "observers" in node) { |
| 26 | + writeSignal(node, nextValue, true); |
| 27 | + } else if (Transition && Transition.running && node.pure) { |
| 28 | ++ // On first computation during transition, also set committed value #2046 |
| 29 | ++ if (!Transition.sources.has(node)) node.value = nextValue; |
| 30 | + Transition.sources.add(node); |
| 31 | + node.tValue = nextValue; |
| 32 | + } else node.value = nextValue; |
| 33 | +diff --git a/dist/solid.cjs b/dist/solid.cjs |
| 34 | +index 7c133a2b254678a84fd61d719fbeffad766e1331..2f68c99f2698210cc0bac62f074cc8cd3beb2881 100644 |
| 35 | +--- a/dist/solid.cjs |
| 36 | ++++ b/dist/solid.cjs |
| 37 | +@@ -717,6 +717,8 @@ function runComputation(node, value, time) { |
| 38 | + if (node.updatedAt != null && "observers" in node) { |
| 39 | + writeSignal(node, nextValue, true); |
| 40 | + } else if (Transition && Transition.running && node.pure) { |
| 41 | ++ // On first computation during transition, also set committed value #2046 |
| 42 | ++ if (!Transition.sources.has(node)) node.value = nextValue; |
| 43 | + Transition.sources.add(node); |
| 44 | + node.tValue = nextValue; |
| 45 | + } else node.value = nextValue; |
| 46 | +diff --git a/dist/solid.js b/dist/solid.js |
| 47 | +index 656fd26e7e5c794aa22df19c2377ff5c0591fc29..f08e9f5a7157c3506e5b6922fe2ef991335a80be 100644 |
| 48 | +--- a/dist/solid.js |
| 49 | ++++ b/dist/solid.js |
| 50 | +@@ -715,6 +715,8 @@ function runComputation(node, value, time) { |
| 51 | + if (node.updatedAt != null && "observers" in node) { |
| 52 | + writeSignal(node, nextValue, true); |
| 53 | + } else if (Transition && Transition.running && node.pure) { |
| 54 | ++ // On first computation during transition, also set committed value #2046 |
| 55 | ++ if (!Transition.sources.has(node)) node.value = nextValue; |
| 56 | + Transition.sources.add(node); |
| 57 | + node.tValue = nextValue; |
| 58 | + } else node.value = nextValue; |
0 commit comments