@solidjs/signals 0.10.6 → 0.10.7

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/dev.js CHANGED
@@ -1287,7 +1287,7 @@ function signal(v, options, firewall = null) {
1287
1287
  };
1288
1288
  s._name = options?.name ?? "signal";
1289
1289
  firewall && (firewall._child = s);
1290
- if (snapshotCaptureActive) {
1290
+ if (snapshotCaptureActive && !s._pureWrite) {
1291
1291
  s._snapshotValue = v === undefined ? NO_SNAPSHOT : v;
1292
1292
  snapshotSources.add(s);
1293
1293
  }
package/dist/node.cjs CHANGED
@@ -1216,7 +1216,7 @@ function signal(e, t, n = null) {
1216
1216
  ce: g
1217
1217
  };
1218
1218
  n && (n.C = r);
1219
- if (F) {
1219
+ if (F && !r.Fe) {
1220
1220
  r.ie = e === undefined ? S : e;
1221
1221
  V.add(r);
1222
1222
  }
package/dist/prod.js CHANGED
@@ -1216,7 +1216,7 @@ function signal(e, t, n = null) {
1216
1216
  ae: NOT_PENDING
1217
1217
  };
1218
1218
  n && (n.A = i);
1219
- if (snapshotCaptureActive) {
1219
+ if (snapshotCaptureActive && !i.Me) {
1220
1220
  i.re = e === undefined ? NO_SNAPSHOT : e;
1221
1221
  snapshotSources.add(i);
1222
1222
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@solidjs/signals",
3
- "version": "0.10.6",
3
+ "version": "0.10.7",
4
4
  "description": "SolidJS' standalone reactivity implementation",
5
5
  "author": "Ryan Carniato",
6
6
  "license": "MIT",