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.21.0 to 0.21.1

2

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

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

@@ -153,9 +153,2 @@ // import Debug from 'debug'

))
if (schema?.required?.includes(propertyKey)) {
schema.errorMessage.required = schema.errorMessage.required ?? {}
schema.errorMessage.required[propertyKey] = options.messages.errorRequired
}
if (schema.dependentRequired && Object.keys(schema.dependentRequired).includes(propertyKey)) {
schema.errorMessage.dependentRequired = options.messages.errorRequired
}

@@ -294,2 +287,12 @@ if (schema.dependentSchemas?.[propertyKey] || (schema.dependencies?.[propertyKey] && !Array.isArray(schema.dependencies[propertyKey]))) {

}
for (const propertyKey of node.propertyKeys) {
if (schema?.required?.includes(propertyKey)) {
schema.errorMessage.required = schema.errorMessage.required ?? {}
schema.errorMessage.required[propertyKey] = options.messages.errorRequired
}
if (schema.dependentRequired && Object.keys(schema.dependentRequired).includes(propertyKey)) {
schema.errorMessage.dependentRequired = options.messages.errorRequired
}
}
}

@@ -296,0 +299,0 @@

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