@json-layout/core 2.2.1 → 2.2.2

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": "@json-layout/core",
3
- "version": "2.2.1",
3
+ "version": "2.2.2",
4
4
  "description": "Compilation and state management utilities for JSON Layout.",
5
5
  "type": "module",
6
6
  "exports": {
@@ -307,7 +307,7 @@ export function makeSkeletonNode (
307
307
  if (!normalizedLayouts[oneOfPointer]) {
308
308
  const normalizationResult = normalizeLayoutFragment(
309
309
  '',
310
- schema,
310
+ /** @type {import('@json-layout/vocabulary').SchemaFragment} */(resolvedSchema),
311
311
  oneOfPointer,
312
312
  options,
313
313
  'oneOf',
@@ -384,7 +384,7 @@ export function makeSkeletonNode (
384
384
  if (!normalizedLayouts[patternPropertiesPointer]) {
385
385
  const normalizationResult = normalizeLayoutFragment(
386
386
  '',
387
- schema,
387
+ /** @type {import('@json-layout/vocabulary').SchemaFragment} */(resolvedSchema),
388
388
  patternPropertiesPointer,
389
389
  options,
390
390
  'patternProperties',
@@ -722,7 +722,7 @@ export function createStateNode (
722
722
 
723
723
  // duplicate active child at the end of the list in case of dialog/menu edition
724
724
  if (context.activatedItems[fullKey] !== undefined && (layout.listEditMode === 'menu' || layout.listEditMode === 'dialog')) {
725
- const i = /** @type number */(context.activatedItems[fullKey])
725
+ const i = /** @type {number} */(context.activatedItems[fullKey])
726
726
  const activeChild = createStateNode(
727
727
  context,
728
728
  options,