mikser-io-layouts 2.9.2 → 2.9.3
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/lib/inspect.js +9 -1
- package/package.json +1 -1
package/lib/inspect.js
CHANGED
|
@@ -270,7 +270,15 @@ async function buildContract({ layout, templateSource, runtime, findEntities, co
|
|
|
270
270
|
// it is resolved against what is known so far.
|
|
271
271
|
const subs = { ...bindings }
|
|
272
272
|
for (const a of parsed.assigns ?? []) {
|
|
273
|
-
|
|
273
|
+
// A DERIVED value is not an alias. `{% assign rows = c.specs |
|
|
274
|
+
// split: '|' %}` turns a string into a list, so a read of `rows[0]`
|
|
275
|
+
// says nothing about `specs` having members — binding it would
|
|
276
|
+
// report `specs[]` as a required key of a document whose `specs` is
|
|
277
|
+
// the string being split, and no document can satisfy that.
|
|
278
|
+
//
|
|
279
|
+
// The source path is still recorded by the parser as consumed,
|
|
280
|
+
// which is the true dependency.
|
|
281
|
+
if (a?.key && a.from && !a.derived) subs[a.key] = resolve(a.from, subs)
|
|
274
282
|
}
|
|
275
283
|
|
|
276
284
|
const resolved = []
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mikser-io-layouts",
|
|
3
|
-
"version": "2.9.
|
|
3
|
+
"version": "2.9.3",
|
|
4
4
|
"description": "SSG-flavor task-production policy for mikser-io. Multi-match layout assignment, per-layout destinations, postprocess chain attachment, layout inspection.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"type": "module",
|