Socket
Socket
Sign inDemoInstall

strapi-utils

Package Overview
Dependencies
Maintainers
9
Versions
282
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

strapi-utils - npm Package Compare versions

Comparing version 3.6.3 to 3.6.4

5

lib/validators.js

@@ -19,9 +19,4 @@ 'use strict';

function arrayRequiredAllowEmpty(message = '${path} is required') {
return this.test('field is required', message, value => _.isArray(value));
}
yup.addMethod(yup.mixed, 'notNil', isNotNill);
yup.addMethod(yup.mixed, 'notNull', isNotNull);
yup.addMethod(yup.array, 'requiredAllowEmpty', arrayRequiredAllowEmpty);

@@ -28,0 +23,0 @@ class StrapiIDSchema extends MixedSchemaType {

6

package.json
{
"name": "strapi-utils",
"version": "3.6.3",
"version": "3.6.4",
"description": "Shared utilities for the Strapi packages",

@@ -22,3 +22,3 @@ "homepage": "https://strapi.io",

"pluralize": "^8.0.0",
"yup": "^0.28.2"
"yup": "^0.32.9"
},

@@ -49,3 +49,3 @@ "author": {

"license": "SEE LICENSE IN LICENSE",
"gitHead": "0ab3503e3c68c0e794878324a866ce9e6cfe5d47"
"gitHead": "37de70c4f95702ed5fa3ac0f7ea56a493445e436"
}
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