mutts 1.0.12 → 1.0.14

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.
Files changed (61) hide show
  1. package/BROWSER_ASYNC_POLYFILL.md +79 -0
  2. package/README.md +7 -4
  3. package/dist/browser.cjs +150 -27
  4. package/dist/browser.cjs.map +1 -1
  5. package/dist/browser.d.ts +1440 -2
  6. package/dist/browser.dev.cjs +17 -3
  7. package/dist/browser.dev.cjs.map +1 -1
  8. package/dist/browser.dev.d.ts +2 -2
  9. package/dist/browser.dev.esm.js +2 -2
  10. package/dist/browser.esm.js +137 -28
  11. package/dist/browser.esm.js.map +1 -1
  12. package/dist/chunks/{index-yK0HVxHv.cjs → index-BnTNC9eC.cjs} +347 -156
  13. package/dist/chunks/index-BnTNC9eC.cjs.map +1 -0
  14. package/dist/chunks/{index-BUop6B2U.esm.js → index-CAWVZL7P.esm.js} +345 -154
  15. package/dist/chunks/index-CAWVZL7P.esm.js.map +1 -0
  16. package/dist/chunks/node-Df_5r_WA.cjs +187 -0
  17. package/dist/chunks/node-Df_5r_WA.cjs.map +1 -0
  18. package/dist/chunks/node-DuIduHw3.esm.js +185 -0
  19. package/dist/chunks/node-DuIduHw3.esm.js.map +1 -0
  20. package/dist/chunks/{proxy-D2C49sXH.esm.js → proxy-C2lnvvbx.esm.js} +943 -272
  21. package/dist/chunks/proxy-C2lnvvbx.esm.js.map +1 -0
  22. package/dist/chunks/{proxy-BvM4yewA.cjs → proxy-HA_QQnd5.cjs} +959 -273
  23. package/dist/chunks/proxy-HA_QQnd5.cjs.map +1 -0
  24. package/dist/debug.cjs +571 -173
  25. package/dist/debug.cjs.map +1 -1
  26. package/dist/debug.d.ts +96 -80
  27. package/dist/debug.esm.js +567 -173
  28. package/dist/debug.esm.js.map +1 -1
  29. package/dist/devtools/panel.js.map +1 -1
  30. package/dist/mutts.umd.js +4351 -3366
  31. package/dist/mutts.umd.js.map +1 -1
  32. package/dist/mutts.umd.min.js +1 -1
  33. package/dist/mutts.umd.min.js.map +1 -1
  34. package/dist/node.cjs +18 -4
  35. package/dist/node.cjs.map +1 -1
  36. package/dist/node.d.ts +2 -2
  37. package/dist/node.dev.cjs +18 -4
  38. package/dist/node.dev.cjs.map +1 -1
  39. package/dist/node.dev.d.ts +2 -2
  40. package/dist/node.dev.esm.js +3 -3
  41. package/dist/node.esm.js +3 -3
  42. package/dist/{types-Bx2PhORg.d.ts → types.d.ts} +42 -15
  43. package/docs/ai/api-reference.md +105 -13
  44. package/docs/ai/manual.md +77 -29
  45. package/docs/debug-getReason.md +161 -0
  46. package/docs/flavored.md +98 -1
  47. package/docs/reactive/advanced.md +184 -12
  48. package/docs/reactive/attend.md +32 -0
  49. package/docs/reactive/core.md +40 -6
  50. package/docs/reactive/debugging.md +40 -15
  51. package/docs/reactive.md +4 -1
  52. package/package.json +13 -9
  53. package/dist/chunks/index-BUop6B2U.esm.js.map +0 -1
  54. package/dist/chunks/index-yK0HVxHv.cjs.map +0 -1
  55. package/dist/chunks/node-Bo7WU5S2.esm.js +0 -96
  56. package/dist/chunks/node-Bo7WU5S2.esm.js.map +0 -1
  57. package/dist/chunks/node-Dd0esp5F.cjs +0 -98
  58. package/dist/chunks/node-Dd0esp5F.cjs.map +0 -1
  59. package/dist/chunks/proxy-BvM4yewA.cjs.map +0 -1
  60. package/dist/chunks/proxy-D2C49sXH.esm.js.map +0 -1
  61. package/dist/index.d.ts +0 -1322
package/dist/node.cjs CHANGED
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
- require('./chunks/node-Dd0esp5F.cjs');
4
- var index = require('./chunks/index-yK0HVxHv.cjs');
5
- var proxy = require('./chunks/proxy-BvM4yewA.cjs');
3
+ require('./chunks/node-Df_5r_WA.cjs');
4
+ var index = require('./chunks/index-BnTNC9eC.cjs');
5
+ var proxy = require('./chunks/proxy-HA_QQnd5.cjs');
6
6
  require('node:async_hooks');
7
7
 
8
8
 
@@ -34,7 +34,6 @@ exports.morph = index.morph;
34
34
  exports.organize = index.organize;
35
35
  exports.organized = index.organized;
36
36
  exports.profileInfo = index.profileInfo;
37
- exports.project = index.morph;
38
37
  exports.resource = index.resource;
39
38
  exports.setAt = index.setAt;
40
39
  exports.throttle = index.throttle;
@@ -42,6 +41,7 @@ exports.unreactive = index.unreactive;
42
41
  exports.watch = index.watch;
43
42
  exports.when = index.when;
44
43
  exports.AZone = proxy.AZone;
44
+ exports.CompareSymbol = proxy.CompareSymbol;
45
45
  exports.DecoratorError = proxy.DecoratorError;
46
46
  exports.IterableWeakMap = proxy.IterableWeakMap;
47
47
  exports.IterableWeakSet = proxy.IterableWeakSet;
@@ -64,6 +64,7 @@ exports.asyncZone = proxy.asyncZone;
64
64
  exports.atom = proxy.atom;
65
65
  exports.atomic = proxy.atomic;
66
66
  exports.biDi = proxy.biDi;
67
+ exports.captioned = proxy.captioned;
67
68
  exports.captured = proxy.captured;
68
69
  exports.caught = proxy.caught;
69
70
  exports.createFlavor = proxy.createFlavor;
@@ -74,6 +75,7 @@ exports.defer = proxy.defer;
74
75
  exports.devPreset = proxy.devPreset;
75
76
  exports.effect = proxy.effect;
76
77
  exports.effectAggregator = proxy.effectAggregator;
78
+ exports.effectContext = proxy.effectContext;
77
79
  exports.flavorOptions = proxy.flavorOptions;
78
80
  exports.flavored = proxy.flavored;
79
81
  exports.formatCleanupReason = proxy.formatCleanupReason;
@@ -81,31 +83,43 @@ exports.getActivationLog = proxy.getActivationLog;
81
83
  exports.getActiveEffect = proxy.getActiveEffect;
82
84
  exports.getState = proxy.getState;
83
85
  exports.hooks = proxy.hooks;
86
+ exports.inert = proxy.inert;
87
+ exports.inheritCaption = proxy.inheritCaption;
84
88
  exports.isConstructor = proxy.isConstructor;
85
89
  exports.isDev = proxy.isDev;
86
90
  exports.isNonReactive = proxy.isNonReactive;
87
91
  exports.isObject = proxy.isObject;
88
92
  exports.isProd = proxy.isProd;
89
93
  exports.isReactive = proxy.isReactive;
94
+ exports.isReactiveBroken = proxy.isReactiveBroken;
90
95
  exports.isTest = proxy.isTest;
91
96
  exports.legacyDecorator = proxy.legacyDecorator;
92
97
  exports.link = proxy.link;
98
+ exports.markRaw = proxy.markRaw;
99
+ exports.markRawProps = proxy.markRawProps;
93
100
  exports.mixin = proxy.mixin;
94
101
  exports.modernDecorator = proxy.modernDecorator;
95
102
  exports.named = proxy.named;
96
103
  exports.objectToProxy = proxy.objectToProxy;
97
104
  exports.onEffectThrow = proxy.onEffectThrow;
105
+ exports.onReactiveBroken = proxy.onReactiveBroken;
106
+ exports.onReactiveReset = proxy.onReactiveReset;
98
107
  exports.prodPreset = proxy.prodPreset;
99
108
  exports.proxyToObject = proxy.proxyToObject;
100
109
  exports.reactive = proxy.reactive;
101
110
  exports.reactiveOptions = proxy.options;
111
+ exports.readonlyReactive = proxy.readonlyReactive;
102
112
  exports.reset = proxy.reset;
103
113
  exports.root = proxy.root;
114
+ exports.shallowReactive = proxy.shallowReactive;
104
115
  exports.tag = proxy.tag;
116
+ exports.toRaw = proxy.toRaw;
105
117
  exports.touched = proxy.touched;
106
118
  exports.touched1 = proxy.touched1;
107
119
  exports.unlink = proxy.unlink;
108
120
  exports.untracked = proxy.untracked;
109
121
  exports.unwrap = proxy.unwrap;
122
+ exports.withEffectContext = proxy.withEffectContext;
123
+ exports.wrapInert = proxy.wrapInert;
110
124
  exports.zip = proxy.zip;
111
125
  //# sourceMappingURL=node.cjs.map
package/dist/node.cjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"node.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"node.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
package/dist/node.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export { ArrayDiffResult, ArrayReadForward, ContextManager, Decorator, DecoratorDescription, DecoratorError, DecoratorFactory, Destroyable, DestructionError, Eventful, EventsBase, GenericClassDecorator, Hook, Indexable, IterableWeakMap, IterableWeakSet, LegacyClassDecorator, LegacyPropertyDecorator, Memoizable, MemoizableArgument, MixinClass, MixinFunction, ModernAccessorDecorator, ModernClassDecorator, ModernGetterDecorator, ModernMethodDecorator, ModernSetterDecorator, PromiseChain, ReactiveBase, Resource, Restorer, addBatchCleanup, addUnreactiveProps, allocated, allocatedValues, arrayDiff, arrayEquals, assertUntracked, asyncHook, asyncHooks, atom, atomic, attend, biDi, cache, cached, callOnGC, captured, caught, chainPromise, createFlavor, debounce, decorator, deepCompare, deepWatch, defer, deprecated, descriptor, destructor, effect, effectAggregator, flavorOptions, flavored, forwardArray, getActivationLog, getActiveEffect, getAt, getState, hooks, isCached, isConstructor, isDev, isNonReactive, isObject, isProd, isTest, legacyDecorator, lift, link, memoize, mixin, modernDecorator, morph, named, onEffectThrow, organize, organized, profileInfo, morph as project, reactive, reset, resource, root, setAt, tag, throttle, touched, touched1, unlink, unreactive, untracked, watch, when, zip } from './index.js';
2
- export { A as AZone, C as CleanupReason, c as EffectAccess, b as EffectCleanup, d as EffectCloser, g as EffectOptions, E as EffectTrigger, a as Evolution, G as GetterWrapper, H as HistoryValue, P as PropTrigger, R as ReactiveError, h as ReactiveErrorCode, S as ScopedCallback, i as Zone, Z as ZoneAggregator, j as ZoneHistory, k as asyncZone, l as debugPreset, m as devPreset, n as formatCleanupReason, o as isReactive, p as objectToProxy, q as prodPreset, r as proxyToObject, s as reactiveOptions, u as unwrap } from './types-Bx2PhORg.js';
1
+ export { ArrayDiffResult, ArrayReadForward, Captioned, CompareSymbol, ContextManager, Decorator, DecoratorDescription, DecoratorError, DecoratorFactory, Destroyable, DestructionError, EffectContext, Eventful, EventsBase, GenericClassDecorator, Hook, Indexable, IterableWeakMap, IterableWeakSet, LegacyClassDecorator, LegacyPropertyDecorator, Memoizable, MemoizableArgument, MixinClass, MixinFunction, ModernAccessorDecorator, ModernClassDecorator, ModernGetterDecorator, ModernMethodDecorator, ModernSetterDecorator, MorphPosition, PromiseChain, ReactiveBase, Resource, Restorer, addBatchCleanup, addUnreactiveProps, allocated, allocatedValues, arrayDiff, arrayEquals, assertUntracked, asyncHook, asyncHooks, atom, atomic, attend, biDi, cache, cached, callOnGC, captioned, captured, caught, chainPromise, createFlavor, debounce, decorator, deepCompare, deepWatch, defer, deprecated, descriptor, destructor, effect, effectAggregator, effectContext, flavorOptions, flavored, forwardArray, getActivationLog, getActiveEffect, getAt, getState, hooks, inert, inheritCaption, isCached, isConstructor, isDev, isNonReactive, isObject, isProd, isReactiveBroken, isTest, legacyDecorator, lift, link, markRaw, markRawProps, memoize, mixin, modernDecorator, morph, named, onEffectThrow, onReactiveBroken, onReactiveReset, organize, organized, profileInfo, reactive, readonlyReactive, reset, resource, root, setAt, shallowReactive, tag, throttle, touched, touched1, unlink, unreactive, untracked, watch, when, withEffectContext, wrapInert, zip } from './browser.js';
2
+ export { A as AZone, C as CleanupReason, h as CycleHandlingMode, D as DeprecatedCycleHandlingMode, c as EffectAccess, b as EffectCleanup, d as EffectCloser, g as EffectOptions, E as EffectTrigger, a as Evolution, G as GetterWrapper, H as HistoryValue, P as PropTrigger, R as ReactiveError, i as ReactiveErrorCode, j as SchedulerMode, S as ScopedCallback, k as Zone, Z as ZoneAggregator, l as ZoneHistory, m as asyncZone, n as debugPreset, o as devPreset, p as formatCleanupReason, q as isReactive, r as objectToProxy, s as prodPreset, t as proxyToObject, u as reactiveOptions, v as toRaw, w as unwrap } from './types.js';
package/dist/node.dev.cjs CHANGED
@@ -1,9 +1,9 @@
1
1
  'use strict';
2
2
 
3
3
  require('./debug.cjs');
4
- require('./chunks/node-Dd0esp5F.cjs');
5
- var index = require('./chunks/index-yK0HVxHv.cjs');
6
- var proxy = require('./chunks/proxy-BvM4yewA.cjs');
4
+ require('./chunks/node-Df_5r_WA.cjs');
5
+ var index = require('./chunks/index-BnTNC9eC.cjs');
6
+ var proxy = require('./chunks/proxy-HA_QQnd5.cjs');
7
7
  require('node:async_hooks');
8
8
 
9
9
 
@@ -35,7 +35,6 @@ exports.morph = index.morph;
35
35
  exports.organize = index.organize;
36
36
  exports.organized = index.organized;
37
37
  exports.profileInfo = index.profileInfo;
38
- exports.project = index.morph;
39
38
  exports.resource = index.resource;
40
39
  exports.setAt = index.setAt;
41
40
  exports.throttle = index.throttle;
@@ -43,6 +42,7 @@ exports.unreactive = index.unreactive;
43
42
  exports.watch = index.watch;
44
43
  exports.when = index.when;
45
44
  exports.AZone = proxy.AZone;
45
+ exports.CompareSymbol = proxy.CompareSymbol;
46
46
  exports.DecoratorError = proxy.DecoratorError;
47
47
  exports.IterableWeakMap = proxy.IterableWeakMap;
48
48
  exports.IterableWeakSet = proxy.IterableWeakSet;
@@ -65,6 +65,7 @@ exports.asyncZone = proxy.asyncZone;
65
65
  exports.atom = proxy.atom;
66
66
  exports.atomic = proxy.atomic;
67
67
  exports.biDi = proxy.biDi;
68
+ exports.captioned = proxy.captioned;
68
69
  exports.captured = proxy.captured;
69
70
  exports.caught = proxy.caught;
70
71
  exports.createFlavor = proxy.createFlavor;
@@ -75,6 +76,7 @@ exports.defer = proxy.defer;
75
76
  exports.devPreset = proxy.devPreset;
76
77
  exports.effect = proxy.effect;
77
78
  exports.effectAggregator = proxy.effectAggregator;
79
+ exports.effectContext = proxy.effectContext;
78
80
  exports.flavorOptions = proxy.flavorOptions;
79
81
  exports.flavored = proxy.flavored;
80
82
  exports.formatCleanupReason = proxy.formatCleanupReason;
@@ -82,31 +84,43 @@ exports.getActivationLog = proxy.getActivationLog;
82
84
  exports.getActiveEffect = proxy.getActiveEffect;
83
85
  exports.getState = proxy.getState;
84
86
  exports.hooks = proxy.hooks;
87
+ exports.inert = proxy.inert;
88
+ exports.inheritCaption = proxy.inheritCaption;
85
89
  exports.isConstructor = proxy.isConstructor;
86
90
  exports.isDev = proxy.isDev;
87
91
  exports.isNonReactive = proxy.isNonReactive;
88
92
  exports.isObject = proxy.isObject;
89
93
  exports.isProd = proxy.isProd;
90
94
  exports.isReactive = proxy.isReactive;
95
+ exports.isReactiveBroken = proxy.isReactiveBroken;
91
96
  exports.isTest = proxy.isTest;
92
97
  exports.legacyDecorator = proxy.legacyDecorator;
93
98
  exports.link = proxy.link;
99
+ exports.markRaw = proxy.markRaw;
100
+ exports.markRawProps = proxy.markRawProps;
94
101
  exports.mixin = proxy.mixin;
95
102
  exports.modernDecorator = proxy.modernDecorator;
96
103
  exports.named = proxy.named;
97
104
  exports.objectToProxy = proxy.objectToProxy;
98
105
  exports.onEffectThrow = proxy.onEffectThrow;
106
+ exports.onReactiveBroken = proxy.onReactiveBroken;
107
+ exports.onReactiveReset = proxy.onReactiveReset;
99
108
  exports.prodPreset = proxy.prodPreset;
100
109
  exports.proxyToObject = proxy.proxyToObject;
101
110
  exports.reactive = proxy.reactive;
102
111
  exports.reactiveOptions = proxy.options;
112
+ exports.readonlyReactive = proxy.readonlyReactive;
103
113
  exports.reset = proxy.reset;
104
114
  exports.root = proxy.root;
115
+ exports.shallowReactive = proxy.shallowReactive;
105
116
  exports.tag = proxy.tag;
117
+ exports.toRaw = proxy.toRaw;
106
118
  exports.touched = proxy.touched;
107
119
  exports.touched1 = proxy.touched1;
108
120
  exports.unlink = proxy.unlink;
109
121
  exports.untracked = proxy.untracked;
110
122
  exports.unwrap = proxy.unwrap;
123
+ exports.withEffectContext = proxy.withEffectContext;
124
+ exports.wrapInert = proxy.wrapInert;
111
125
  exports.zip = proxy.zip;
112
126
  //# sourceMappingURL=node.dev.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"node.dev.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"node.dev.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,2 +1,2 @@
1
- export { A as AZone, C as CleanupReason, c as EffectAccess, b as EffectCleanup, d as EffectCloser, g as EffectOptions, E as EffectTrigger, a as Evolution, G as GetterWrapper, H as HistoryValue, P as PropTrigger, R as ReactiveError, h as ReactiveErrorCode, S as ScopedCallback, i as Zone, Z as ZoneAggregator, j as ZoneHistory, k as asyncZone, l as debugPreset, m as devPreset, n as formatCleanupReason, o as isReactive, p as objectToProxy, q as prodPreset, r as proxyToObject, s as reactiveOptions, u as unwrap } from './types-Bx2PhORg.js';
2
- export { ArrayDiffResult, ArrayReadForward, ContextManager, Decorator, DecoratorDescription, DecoratorError, DecoratorFactory, Destroyable, DestructionError, Eventful, EventsBase, GenericClassDecorator, Hook, Indexable, IterableWeakMap, IterableWeakSet, LegacyClassDecorator, LegacyPropertyDecorator, Memoizable, MemoizableArgument, MixinClass, MixinFunction, ModernAccessorDecorator, ModernClassDecorator, ModernGetterDecorator, ModernMethodDecorator, ModernSetterDecorator, PromiseChain, ReactiveBase, Resource, Restorer, addBatchCleanup, addUnreactiveProps, allocated, allocatedValues, arrayDiff, arrayEquals, assertUntracked, asyncHook, asyncHooks, atom, atomic, attend, biDi, cache, cached, callOnGC, captured, caught, chainPromise, createFlavor, debounce, decorator, deepCompare, deepWatch, defer, deprecated, descriptor, destructor, effect, effectAggregator, flavorOptions, flavored, forwardArray, getActivationLog, getActiveEffect, getAt, getState, hooks, isCached, isConstructor, isDev, isNonReactive, isObject, isProd, isTest, legacyDecorator, lift, link, memoize, mixin, modernDecorator, morph, named, onEffectThrow, organize, organized, profileInfo, morph as project, reactive, reset, resource, root, setAt, tag, throttle, touched, touched1, unlink, unreactive, untracked, watch, when, zip } from './index.js';
1
+ export { A as AZone, C as CleanupReason, h as CycleHandlingMode, D as DeprecatedCycleHandlingMode, c as EffectAccess, b as EffectCleanup, d as EffectCloser, g as EffectOptions, E as EffectTrigger, a as Evolution, G as GetterWrapper, H as HistoryValue, P as PropTrigger, R as ReactiveError, i as ReactiveErrorCode, j as SchedulerMode, S as ScopedCallback, k as Zone, Z as ZoneAggregator, l as ZoneHistory, m as asyncZone, n as debugPreset, o as devPreset, p as formatCleanupReason, q as isReactive, r as objectToProxy, s as prodPreset, t as proxyToObject, u as reactiveOptions, v as toRaw, w as unwrap } from './types.js';
2
+ export { ArrayDiffResult, ArrayReadForward, Captioned, CompareSymbol, ContextManager, Decorator, DecoratorDescription, DecoratorError, DecoratorFactory, Destroyable, DestructionError, EffectContext, Eventful, EventsBase, GenericClassDecorator, Hook, Indexable, IterableWeakMap, IterableWeakSet, LegacyClassDecorator, LegacyPropertyDecorator, Memoizable, MemoizableArgument, MixinClass, MixinFunction, ModernAccessorDecorator, ModernClassDecorator, ModernGetterDecorator, ModernMethodDecorator, ModernSetterDecorator, MorphPosition, PromiseChain, ReactiveBase, Resource, Restorer, addBatchCleanup, addUnreactiveProps, allocated, allocatedValues, arrayDiff, arrayEquals, assertUntracked, asyncHook, asyncHooks, atom, atomic, attend, biDi, cache, cached, callOnGC, captioned, captured, caught, chainPromise, createFlavor, debounce, decorator, deepCompare, deepWatch, defer, deprecated, descriptor, destructor, effect, effectAggregator, effectContext, flavorOptions, flavored, forwardArray, getActivationLog, getActiveEffect, getAt, getState, hooks, inert, inheritCaption, isCached, isConstructor, isDev, isNonReactive, isObject, isProd, isReactiveBroken, isTest, legacyDecorator, lift, link, markRaw, markRawProps, memoize, mixin, modernDecorator, morph, named, onEffectThrow, onReactiveBroken, onReactiveReset, organize, organized, profileInfo, reactive, readonlyReactive, reset, resource, root, setAt, shallowReactive, tag, throttle, touched, touched1, unlink, unreactive, untracked, watch, when, withEffectContext, wrapInert, zip } from './browser.js';
@@ -1,6 +1,6 @@
1
1
  import './debug.esm.js';
2
- import './chunks/node-Bo7WU5S2.esm.js';
3
- export { A as ArrayReadForward, D as Destroyable, a as DestructionError, E as Eventful, I as Indexable, b as allocated, c as allocatedValues, d as arrayDiff, e as attend, f as cache, g as cached, h as callOnGC, i as chainPromise, j as debounce, k as deepWatch, l as deprecated, m as descriptor, n as destructor, o as forwardArray, p as getAt, q as isCached, r as lift, s as memoize, t as morph, u as organize, v as organized, w as profileInfo, t as project, x as resource, y as setAt, z as throttle, B as unreactive, C as watch, F as when } from './chunks/index-BUop6B2U.esm.js';
4
- export { A as AZone, D as DecoratorError, I as IterableWeakMap, a as IterableWeakSet, R as ReactiveBase, b as ReactiveError, c as ReactiveErrorCode, Z as Zone, d as ZoneAggregator, e as ZoneHistory, f as addBatchCleanup, g as addUnreactiveProps, h as arrayEquals, i as assertUntracked, j as asyncHook, k as asyncHooks, l as asyncZone, m as atom, n as atomic, o as biDi, p as captured, q as caught, r as createFlavor, s as debugPreset, t as decorator, u as deepCompare, v as defer, w as devPreset, x as effect, y as effectAggregator, z as flavorOptions, B as flavored, C as formatCleanupReason, E as getActivationLog, F as getActiveEffect, G as getState, H as hooks, J as isConstructor, K as isDev, L as isNonReactive, M as isObject, N as isProd, O as isReactive, P as isTest, Q as legacyDecorator, S as link, T as mixin, U as modernDecorator, V as named, W as objectToProxy, X as onEffectThrow, Y as prodPreset, _ as proxyToObject, $ as reactive, a0 as reactiveOptions, a1 as reset, a2 as root, a3 as tag, a4 as touched, a5 as touched1, a6 as unlink, a7 as untracked, a8 as unwrap, a9 as zip } from './chunks/proxy-D2C49sXH.esm.js';
2
+ import './chunks/node-DuIduHw3.esm.js';
3
+ export { A as ArrayReadForward, D as Destroyable, a as DestructionError, E as Eventful, I as Indexable, b as allocated, c as allocatedValues, d as arrayDiff, e as attend, f as cache, g as cached, h as callOnGC, i as chainPromise, j as debounce, k as deepWatch, l as deprecated, m as descriptor, n as destructor, o as forwardArray, p as getAt, q as isCached, r as lift, s as memoize, t as morph, u as organize, v as organized, w as profileInfo, x as resource, y as setAt, z as throttle, B as unreactive, C as watch, F as when } from './chunks/index-CAWVZL7P.esm.js';
4
+ export { A as AZone, C as CompareSymbol, D as DecoratorError, I as IterableWeakMap, a as IterableWeakSet, R as ReactiveBase, b as ReactiveError, c as ReactiveErrorCode, Z as Zone, d as ZoneAggregator, e as ZoneHistory, f as addBatchCleanup, g as addUnreactiveProps, h as arrayEquals, i as assertUntracked, j as asyncHook, k as asyncHooks, l as asyncZone, m as atom, n as atomic, o as biDi, p as captioned, q as captured, r as caught, s as createFlavor, t as debugPreset, u as decorator, v as deepCompare, w as defer, x as devPreset, y as effect, z as effectAggregator, B as effectContext, E as flavorOptions, F as flavored, G as formatCleanupReason, H as getActivationLog, J as getActiveEffect, K as getState, L as hooks, M as inert, N as inheritCaption, O as isConstructor, P as isDev, Q as isNonReactive, S as isObject, T as isProd, U as isReactive, V as isReactiveBroken, W as isTest, X as legacyDecorator, Y as link, _ as markRaw, $ as markRawProps, a0 as mixin, a1 as modernDecorator, a2 as named, a3 as objectToProxy, a4 as onEffectThrow, a5 as onReactiveBroken, a6 as onReactiveReset, a7 as prodPreset, a8 as proxyToObject, a9 as reactive, aa as reactiveOptions, ab as readonlyReactive, ac as reset, ad as root, ae as shallowReactive, af as tag, ag as toRaw, ah as touched, ai as touched1, aj as unlink, ak as untracked, al as unwrap, am as withEffectContext, an as wrapInert, ao as zip } from './chunks/proxy-C2lnvvbx.esm.js';
5
5
  import 'node:async_hooks';
6
6
  //# sourceMappingURL=node.dev.esm.js.map
package/dist/node.esm.js CHANGED
@@ -1,5 +1,5 @@
1
- import './chunks/node-Bo7WU5S2.esm.js';
2
- export { A as ArrayReadForward, D as Destroyable, a as DestructionError, E as Eventful, I as Indexable, b as allocated, c as allocatedValues, d as arrayDiff, e as attend, f as cache, g as cached, h as callOnGC, i as chainPromise, j as debounce, k as deepWatch, l as deprecated, m as descriptor, n as destructor, o as forwardArray, p as getAt, q as isCached, r as lift, s as memoize, t as morph, u as organize, v as organized, w as profileInfo, t as project, x as resource, y as setAt, z as throttle, B as unreactive, C as watch, F as when } from './chunks/index-BUop6B2U.esm.js';
3
- export { A as AZone, D as DecoratorError, I as IterableWeakMap, a as IterableWeakSet, R as ReactiveBase, b as ReactiveError, c as ReactiveErrorCode, Z as Zone, d as ZoneAggregator, e as ZoneHistory, f as addBatchCleanup, g as addUnreactiveProps, h as arrayEquals, i as assertUntracked, j as asyncHook, k as asyncHooks, l as asyncZone, m as atom, n as atomic, o as biDi, p as captured, q as caught, r as createFlavor, s as debugPreset, t as decorator, u as deepCompare, v as defer, w as devPreset, x as effect, y as effectAggregator, z as flavorOptions, B as flavored, C as formatCleanupReason, E as getActivationLog, F as getActiveEffect, G as getState, H as hooks, J as isConstructor, K as isDev, L as isNonReactive, M as isObject, N as isProd, O as isReactive, P as isTest, Q as legacyDecorator, S as link, T as mixin, U as modernDecorator, V as named, W as objectToProxy, X as onEffectThrow, Y as prodPreset, _ as proxyToObject, $ as reactive, a0 as reactiveOptions, a1 as reset, a2 as root, a3 as tag, a4 as touched, a5 as touched1, a6 as unlink, a7 as untracked, a8 as unwrap, a9 as zip } from './chunks/proxy-D2C49sXH.esm.js';
1
+ import './chunks/node-DuIduHw3.esm.js';
2
+ export { A as ArrayReadForward, D as Destroyable, a as DestructionError, E as Eventful, I as Indexable, b as allocated, c as allocatedValues, d as arrayDiff, e as attend, f as cache, g as cached, h as callOnGC, i as chainPromise, j as debounce, k as deepWatch, l as deprecated, m as descriptor, n as destructor, o as forwardArray, p as getAt, q as isCached, r as lift, s as memoize, t as morph, u as organize, v as organized, w as profileInfo, x as resource, y as setAt, z as throttle, B as unreactive, C as watch, F as when } from './chunks/index-CAWVZL7P.esm.js';
3
+ export { A as AZone, C as CompareSymbol, D as DecoratorError, I as IterableWeakMap, a as IterableWeakSet, R as ReactiveBase, b as ReactiveError, c as ReactiveErrorCode, Z as Zone, d as ZoneAggregator, e as ZoneHistory, f as addBatchCleanup, g as addUnreactiveProps, h as arrayEquals, i as assertUntracked, j as asyncHook, k as asyncHooks, l as asyncZone, m as atom, n as atomic, o as biDi, p as captioned, q as captured, r as caught, s as createFlavor, t as debugPreset, u as decorator, v as deepCompare, w as defer, x as devPreset, y as effect, z as effectAggregator, B as effectContext, E as flavorOptions, F as flavored, G as formatCleanupReason, H as getActivationLog, J as getActiveEffect, K as getState, L as hooks, M as inert, N as inheritCaption, O as isConstructor, P as isDev, Q as isNonReactive, S as isObject, T as isProd, U as isReactive, V as isReactiveBroken, W as isTest, X as legacyDecorator, Y as link, _ as markRaw, $ as markRawProps, a0 as mixin, a1 as modernDecorator, a2 as named, a3 as objectToProxy, a4 as onEffectThrow, a5 as onReactiveBroken, a6 as onReactiveReset, a7 as prodPreset, a8 as proxyToObject, a9 as reactive, aa as reactiveOptions, ab as readonlyReactive, ac as reset, ad as root, ae as shallowReactive, af as tag, ag as toRaw, ah as touched, ai as touched1, aj as unlink, ak as untracked, al as unwrap, am as withEffectContext, an as wrapInert, ao as zip } from './chunks/proxy-C2lnvvbx.esm.js';
4
4
  import 'node:async_hooks';
5
5
  //# sourceMappingURL=node.esm.js.map
@@ -124,23 +124,34 @@ type PropTrigger = {
124
124
  type CleanupReason = {
125
125
  type: 'propChange';
126
126
  triggers: PropTrigger[];
127
+ chain?: CleanupReason;
127
128
  } | {
128
129
  type: 'invalidate';
129
130
  cause: CleanupReason;
131
+ chain?: CleanupReason;
132
+ } | {
133
+ type: 'external';
134
+ detail: string;
135
+ chain?: CleanupReason;
130
136
  } | {
131
137
  type: 'stopped';
132
138
  detail?: string;
139
+ chain?: CleanupReason;
133
140
  } | {
134
141
  type: 'gc';
142
+ chain?: CleanupReason;
135
143
  } | {
136
144
  type: 'lineage';
137
145
  parent: CleanupReason;
146
+ chain?: CleanupReason;
138
147
  } | {
139
148
  type: 'error';
140
149
  error: unknown;
150
+ chain?: CleanupReason;
141
151
  } | {
142
152
  type: 'multiple';
143
153
  reasons: CleanupReason[];
154
+ chain?: CleanupReason;
144
155
  };
145
156
  /**
146
157
  * Console-friendly description of a `CleanupReason`.
@@ -267,6 +278,9 @@ declare class ReactiveError extends Error {
267
278
  get code(): ReactiveErrorCode | undefined;
268
279
  get cause(): any;
269
280
  }
281
+ type SchedulerMode = 'raw' | 'ordered' | 'debug';
282
+ type DeprecatedCycleHandlingMode = 'production' | 'development' | 'debug';
283
+ type CycleHandlingMode = SchedulerMode | DeprecatedCycleHandlingMode;
270
284
  /**
271
285
  * Global options for the reactive system
272
286
  */
@@ -356,22 +370,33 @@ declare const options: {
356
370
  */
357
371
  onMemoizationDiscrepancy: ((cached: any, fresh: any, fn: Function, args: any[], cause: "calculation" | "comparison") => void) | undefined;
358
372
  /**
359
- * How to handle cycles detected in effect batches.
373
+ * Effect scheduler mode.
374
+ *
375
+ * - `'ordered'` (Default): maintains the causal effect graph so effects that are already
376
+ * queued together can run in dependency order. It also preserves parent/child effect
377
+ * lifecycle ordering and catches cycles eagerly when edges are created.
378
+ *
379
+ * - `'raw'`: fastest FIFO scheduler. It does not maintain the effect graph.
380
+ * Cycle detection is heuristic, using maxEffectChain execution counts.
360
381
  *
361
- * - `'production'` (Default): High-performance mode. Disables dependency graph maintenance and
362
- * Topological Sorting in favor of a simple FIFO queue. Use this for trustworthy, acyclic UI code.
363
- * Cycle detection is heuristic (uses maxEffectChain execution counts).
382
+ * - `'debug'`: ordered scheduling plus the most detailed graph diagnostics. Highest overhead,
383
+ * best for investigation.
364
384
  *
365
- * - `'development'`: Maintains direct dependency graph for early cycle detection during edge creation.
366
- * Catches cycles before effects execute via DFS check when adding edges. Throws immediately with
367
- * basic path information. Good balance of debugging help with moderate overhead.
385
+ * @default 'ordered'
386
+ */
387
+ scheduler: SchedulerMode;
388
+ /**
389
+ * @deprecated Use `scheduler` instead.
368
390
  *
369
- * - `'debug'`: Full diagnostic mode with transitive closures and topological sorting.
370
- * Provides detailed cycle path reporting. Highest overhead but most informative for bug hunting.
391
+ * Backward-compatible alias for older names:
392
+ * - `'production'` maps to `scheduler = 'raw'`
393
+ * - `'development'` maps to `scheduler = 'ordered'`
394
+ * - `'debug'` maps to `scheduler = 'debug'`
371
395
  *
372
- * @default 'production'
396
+ * The new names describe scheduler behavior rather than runtime environment.
373
397
  */
374
- cycleHandling: "production" | "development" | "debug";
398
+ get cycleHandling(): SchedulerMode;
399
+ set cycleHandling(mode: CycleHandlingMode);
375
400
  /**
376
401
  * Internal flag used by memoization discrepancy detector to avoid counting calls in tests
377
402
  * @warning Do not modify this flag manually, this flag is given by the engine
@@ -419,6 +444,7 @@ declare const options: {
419
444
  */
420
445
  asyncMode: AsyncExecutionMode | false;
421
446
  warn: (...args: any[]) => void;
447
+ error: (...args: any[]) => void;
422
448
  /**
423
449
  * Introspection and debug aids. Set to `null` to disable all debug overhead in production.
424
450
  *
@@ -443,18 +469,19 @@ declare const options: {
443
469
  logErrors: boolean;
444
470
  enableHistory: boolean;
445
471
  historySize: number;
446
- } | null;
472
+ } | undefined;
447
473
  };
448
474
  /** Production preset: no introspection, heuristic cycle detection, minimal overhead */
449
475
  declare const prodPreset: Partial<typeof options>;
450
- /** Development preset (default): introspection on, early cycle detection, warnings */
476
+ /** Development preset: introspection on, early cycle detection, warnings */
451
477
  declare const devPreset: Partial<typeof options>;
452
478
  /** Debug preset: full diagnostics, throws on violations, rich lineage capture */
453
479
  declare const debugPreset: Partial<typeof options>;
454
480
  declare const objectToProxy: WeakMap<object, object>;
455
481
  declare const proxyToObject: WeakMap<object, object>;
456
482
  declare function unwrap<T>(obj: T): T;
483
+ declare const toRaw: typeof unwrap;
457
484
  declare function isReactive(obj: any): boolean;
458
485
 
459
- export { AZone as A, ReactiveError as R, ZoneAggregator as Z, ReactiveErrorCode as h, Zone as i, ZoneHistory as j, asyncZone as k, debugPreset as l, devPreset as m, formatCleanupReason as n, isReactive as o, objectToProxy as p, prodPreset as q, proxyToObject as r, options as s, unwrap as u };
460
- export type { CleanupReason as C, EffectTrigger as E, GetterWrapper as G, HistoryValue as H, PropTrigger as P, ScopedCallback as S, Evolution as a, EffectCleanup as b, EffectAccess as c, EffectCloser as d, State as e, CatchFunction as f, EffectOptions as g };
486
+ export { AZone as A, ReactiveError as R, ZoneAggregator as Z, ReactiveErrorCode as i, Zone as k, ZoneHistory as l, asyncZone as m, debugPreset as n, devPreset as o, formatCleanupReason as p, isReactive as q, objectToProxy as r, prodPreset as s, proxyToObject as t, options as u, toRaw as v, unwrap as w };
487
+ export type { CleanupReason as C, DeprecatedCycleHandlingMode as D, EffectTrigger as E, GetterWrapper as G, HistoryValue as H, PropTrigger as P, ScopedCallback as S, Evolution as a, EffectCleanup as b, EffectAccess as c, EffectCloser as d, State as e, CatchFunction as f, EffectOptions as g, CycleHandlingMode as h, SchedulerMode as j };
@@ -24,22 +24,72 @@ export declare const Reactive: unique symbol;
24
24
  * Symbol to map back from a reactive proxy to its original target
25
25
  */
26
26
  export declare const Raw: unique symbol;
27
- export type ScopedCallback = (() => void | (() => void)) & {
28
- [cleanup]?: () => void;
27
+ export type PropTrigger = {
28
+ obj: object;
29
+ evolution: Evolution;
30
+ dependency?: unknown;
31
+ touch?: unknown;
29
32
  };
30
- export type DependencyFunction = <T>(fn: () => T) => T;
31
- export type DependencyAccess = {
32
- tracked: DependencyFunction;
33
- ascend: DependencyFunction;
34
- reaction: boolean;
33
+ export type CleanupReason = {
34
+ type: 'propChange';
35
+ triggers: PropTrigger[];
36
+ } | {
37
+ type: 'invalidate';
38
+ cause: CleanupReason;
39
+ } | {
40
+ type: 'stopped';
41
+ detail?: string;
42
+ } | {
43
+ type: 'gc';
44
+ } | {
45
+ type: 'lineage';
46
+ parent: CleanupReason;
47
+ } | {
48
+ type: 'error';
49
+ error: unknown;
50
+ } | {
51
+ type: 'multiple';
52
+ reasons: CleanupReason[];
53
+ };
54
+ export type ScopedCallback = (reason?: CleanupReason) => void;
55
+ export type EffectCleanup = ScopedCallback;
56
+ export type EffectCloser = (reason?: CleanupReason) => void;
57
+ export type EffectAccess = {
58
+ tracked: <T>(fn: () => T) => T;
59
+ ascend: <T>(fn: () => T) => T;
60
+ reaction: boolean | CleanupReason;
61
+ signal: AbortSignal;
62
+ };
63
+ export type EffectOptions = {
64
+ asyncMode?: 'cancel' | 'queue' | 'ignore';
65
+ opaque?: boolean;
66
+ dependencyHook?: (obj: any, prop: any) => void;
67
+ name?: string;
68
+ };
69
+ export type Evolution = {
70
+ type: 'set' | 'del' | 'add' | 'invalidate';
71
+ prop: any;
72
+ } | {
73
+ type: 'bunch';
74
+ method: string;
35
75
  };
36
76
 
77
+ export declare const effect: {
78
+ (fn: (access: EffectAccess) => EffectCloser | undefined | void | Promise<any>, effectOptions?: EffectOptions): EffectCleanup;
79
+ readonly opaque: typeof effect;
80
+ named(name: string): typeof effect;
81
+ };
37
82
  export declare function reactive<T extends object>(target: T): T;
38
- export declare function effect(fn: (access: DependencyAccess, ...args: any[]) => (ScopedCallback | undefined | void), ...args: any[]): ScopedCallback;
39
83
  export declare function unwrap<T>(obj: T): T;
40
84
  export declare function isReactive(obj: any): boolean;
85
+ export declare class ReactiveBase {}
41
86
  export declare function isNonReactive(obj: any): boolean;
42
87
  export declare function untracked<T>(fn: () => T): T;
88
+ export declare function root<T>(fn: () => T): T;
89
+ export declare function assertUntracked<T>(fn: () => T): T;
90
+ export declare function getState(obj: any): {};
91
+ export declare function touched(obj: any, evolution: Evolution, props?: any[]): void;
92
+ export declare function touched1(obj: any, evolution: Evolution, prop: any): void;
43
93
 
44
94
  // --------------------------------------------------------------------------------
45
95
  // REACTIVE HELPERS
@@ -48,15 +98,55 @@ export declare function untracked<T>(fn: () => T): T;
48
98
  export declare function atomic<T extends (...args: any[]) => any>(fn: T): T;
49
99
  export declare function atom<T>(fn: () => T): T;
50
100
  export declare function memoize<Result, Args extends any[]>(fn: (...args: Args) => Result, maxArgs?: number): (...args: Args) => Result;
51
- export declare function deepWatch(source: any, callback: (path: string[], value: any) => void): () => void;
52
- export declare function biDi<T>(target: (val: T) => void, source: { get: () => T, set: (v: T) => void }): (val: T) => void;
101
+ export declare function deepWatch<T extends object>(target: T, callback: (value: T) => void, options?: { immediate?: boolean }): EffectCleanup | undefined;
102
+ export declare function biDi<T>(received: (value: T) => void, value: { get: () => T, set: (value: T) => void }): (value: T) => void;
103
+ export declare function biDi<T>(received: (value: T) => void, get: () => T, set: (value: T) => void): (value: T) => void;
104
+ export declare function addBatchCleanup(cleanup: () => void): void;
105
+ export declare const defer: typeof addBatchCleanup;
106
+ export declare function caught(onThrow: (error: unknown) => EffectCloser | undefined | void): void;
107
+ export declare const onEffectThrow: typeof caught;
108
+ export declare function getActiveEffect(): ScopedCallback;
109
+ export declare const effectAggregator: unknown;
110
+ export declare function link(owner: object, ...deps: (ScopedCallback | object)[]): void;
111
+ export declare function unlink(owner: object, reason?: CleanupReason): void;
53
112
 
54
113
  // --------------------------------------------------------------------------------
55
114
  // COLLECTIONS
56
115
  // --------------------------------------------------------------------------------
57
116
 
58
- export declare function project<S, R>(source: S, apply: (access: any, target: any) => any): R;
117
+ export declare function attend<T>(source: readonly T[], callback: (index: number, access: EffectAccess) => EffectCloser | void): ScopedCallback;
118
+ export declare function attend<K, V>(source: Map<K, V>, callback: (key: K, access: EffectAccess) => EffectCloser | void): ScopedCallback;
119
+ export declare function attend<T>(source: Set<T>, callback: (value: T, access: EffectAccess) => EffectCloser | void): ScopedCallback;
120
+ export declare function attend<S extends object>(source: S, callback: (key: keyof S & string, access: EffectAccess) => EffectCloser | void): ScopedCallback;
121
+ export declare function attend<Key>(enumerate: () => Iterable<Key>, callback: (key: Key, access: EffectAccess) => EffectCloser | void): ScopedCallback;
122
+ export declare function lift<Output extends any[]>(cb: (access: EffectAccess) => Output): Output;
123
+ export declare function lift<Output extends object>(cb: (access: EffectAccess) => Output): Output;
124
+ export declare const morph: {
125
+ <I, O>(source: readonly I[] | (() => readonly I[]), fn: (arg: I, access?: EffectAccess) => O, options?: { pure?: boolean | ((i: I) => boolean) }): readonly O[];
126
+ <K, V, O>(source: Map<K, V>, fn: (arg: V, key: K, access?: EffectAccess) => O, options?: { pure?: boolean | ((i: V) => boolean) }): Map<K, O>;
127
+ <S extends Record<PropertyKey, any>, O>(source: S, fn: (arg: S[keyof S], key: keyof S, access?: EffectAccess) => O, options?: { pure?: boolean | ((i: S[keyof S]) => boolean) }): { [K in keyof S]: O };
128
+ pure: typeof morph;
129
+ };
59
130
  export declare function organized<S, T>(source: S, apply: (access: any, target: T) => any, baseTarget?: T): T;
131
+ export declare function organize<T>(target: object, property: PropertyKey, access: { get?(): T, set?(value: T): boolean }): () => boolean;
132
+ export declare const watch: {
133
+ <T>(value: (dep: EffectAccess) => T, changed: (value: T, oldValue?: T) => void, options?: { immediate?: boolean, deep?: false }): EffectCleanup;
134
+ <T extends object | any[]>(value: (dep: EffectAccess) => T, changed: (value: T, oldValue?: T) => void, options?: { immediate?: boolean, deep: true }): EffectCleanup;
135
+ <T extends object | any[]>(value: T, changed: (value: T) => void, options?: { immediate?: boolean, deep?: boolean }): EffectCleanup;
136
+ readonly deep: typeof watch;
137
+ readonly immediate: typeof watch;
138
+ };
139
+ export declare function when<T>(predicate: (dep: EffectAccess) => T, timeout?: number): Promise<T>;
140
+ export interface Resource<T> {
141
+ value: T | undefined;
142
+ loading: boolean;
143
+ error: any;
144
+ latest: T | undefined;
145
+ reload(): void;
146
+ promise: Promise<void>;
147
+ }
148
+ export declare function resource<T>(fetcher: (access: EffectAccess) => Promise<T> | T, options?: { initialValue?: T }): Resource<T>;
149
+ export declare function unreactive<T extends object>(obj: T): T;
60
150
 
61
151
  // --------------------------------------------------------------------------------
62
152
  // DESTROYABLE
@@ -95,8 +185,10 @@ export declare function deprecated(message?: string): Function;
95
185
  // buildReactivityGraph, getMutationHistory, getDependents, getDependencies, etc.
96
186
 
97
187
  export declare const reactiveOptions: {
98
- cycleHandling: 'production' | 'development' | 'debug';
99
- introspection: { enableHistory: boolean; historySize: number; logErrors: boolean };
188
+ scheduler: 'raw' | 'ordered' | 'debug';
189
+ /** @deprecated Use scheduler instead. */
190
+ cycleHandling: 'raw' | 'ordered' | 'debug' | 'production' | 'development';
191
+ introspection: unknown;
100
192
  };
101
193
 
102
194
  export enum ReactiveErrorCode {