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

apostrophe-schemas

Package Overview
Dependencies
Maintainers
1
Versions
108
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

apostrophe-schemas - npm Package Compare versions

Comparing version 0.5.1 to 0.5.2

2

package.json
{
"version": "0.5.2",
"name": "apostrophe-schemas",
"version": "0.5.1",
"description": "Schemas for easy editing of properties in Apostrophe objects",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -169,3 +169,3 @@ function AposSchemas() {

// server side validation at this point.
if (field.required && (data[name] === '[]')) {
if (field.required && ((data[name] === '[]') || (data[name] === '[{"type":"richText","content":""}]'))) {
return 'required';

@@ -176,3 +176,3 @@ }

data[name] = self.getSingletonJSON($el, name);
if (field.required && (data[name] === '[]')) {
if (field.required && ((data[name] === '[]') || (data[name] === '[{"type":"richText","content":""}]'))) {
return 'required';

@@ -179,0 +179,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