Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@json-layout/core

Package Overview
Dependencies
Maintainers
1
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@json-layout/core - npm Package Compare versions

Comparing version 0.16.1 to 0.16.2

2

package.json
{
"name": "@json-layout/core",
"version": "0.16.1",
"version": "0.16.2",
"description": "Compilation and state management utilities for JSON Layout.",

@@ -5,0 +5,0 @@ "type": "module",

@@ -322,2 +322,10 @@ import { isSwitchStruct, childIsCompObject, isCompositeLayout, isFocusableLayout } from '@json-layout/vocabulary'

if (activeChildTreeIndex !== -1) {
context.errors = context.errors?.filter(error => {
const originalError = error.params?.errors?.[0] ?? error
// if an item was selected, remove the oneOf error
if (originalError.schemaPath === skeleton.pointer && originalError.keyword === 'oneOf') return false
// also remove the errors from other children of the oneOf
if (!originalError.schemaPath.startsWith(skeleton.pointer + '/' + activeChildTreeIndex)) return false
return true
})
context.activeItems = produce(context.activeItems, draft => { draft[fullKey] = activeChildTreeIndex })

@@ -324,0 +332,0 @@ const activeChildKey = `${fullKey}/${activeChildTreeIndex}`

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc