New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

apostrophe-schemas

Package Overview
Dependencies
Maintainers
10
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.34 to 0.5.35

2

package.json
{
"version": "0.5.34",
"version": "0.5.35",
"name": "apostrophe-schemas",

@@ -4,0 +4,0 @@ "description": "Schemas for easy editing of properties in Apostrophe objects",

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

self.convertFields = function($el, schema, data, callback) {
self.findSafe($el, '[data-name]').removeClass('apos-error');
self.findSafe($el, '[data-name]').removeClass('apos-error').find('.apos-error-message').remove();
var failing;

@@ -65,3 +65,3 @@

if (err) {
self.addError($el, field.name);
self.addError($el, field.name, field.required);
failing = field;

@@ -608,4 +608,7 @@ }

self.addError = function($el, name) {
self.addError = function($el, name, required) {
self.findSafe($el, '[data-name="' + name + '"]').addClass('apos-error');
if (required == true) {
self.findSafe($el, '[data-name="' + name + '"]').find('label').append('<span class="apos-error-message"> * required</span>');
}
};

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