strapi-utils
Advanced tools
Comparing version 3.6.3 to 3.6.4
@@ -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 { |
{ | ||
"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" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
68089
2021
+ Added@types/lodash@4.17.9(transitive)
+ Addednanoclone@0.2.1(transitive)
+ Addedyup@0.32.11(transitive)
- Removedfn-name@3.0.0(transitive)
- Removedsynchronous-promise@2.0.17(transitive)
- Removedyup@0.28.5(transitive)
Updatedyup@^0.32.9