@statorjs/stator 1.5.0 → 1.5.1
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@statorjs/stator",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.1",
|
|
4
4
|
"description": "Server-canonical web framework: business logic in composable state machines, UI as a thin renderer binding machine outputs to DOM positions. Ships TypeScript source (Vite/tsx-native by design).",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
"pino-pretty": "^13.1.3",
|
|
89
89
|
"vite": "^6.0.0",
|
|
90
90
|
"vitest": "^2.1.0",
|
|
91
|
-
"@statorjs/stator": "1.5.
|
|
91
|
+
"@statorjs/stator": "1.5.1"
|
|
92
92
|
},
|
|
93
93
|
"scripts": {
|
|
94
94
|
"typecheck": "tsc --noEmit",
|
|
@@ -200,8 +200,11 @@ export class MachineStore {
|
|
|
200
200
|
`This is almost always a circular import between machine modules — the module ` +
|
|
201
201
|
`defining "${def.name}" and the module defining its subscription source import ` +
|
|
202
202
|
`each other, and the loader resolved the mid-cycle binding to undefined. ` +
|
|
203
|
-
`Break the module cycle
|
|
204
|
-
`
|
|
203
|
+
`Break the module cycle: move the DISPLAY selectors into a third machine ` +
|
|
204
|
+
`that \`reads:\` both sides (the read/write split — see the weather example's ` +
|
|
205
|
+
`PanelsMachine), or move one machine or the subscription. Note that defining ` +
|
|
206
|
+
`both machines in one module does NOT work with directory discovery, which ` +
|
|
207
|
+
`registers default exports only.`,
|
|
205
208
|
)
|
|
206
209
|
}
|
|
207
210
|
if (!this.defs.has(sub.from.name)) {
|