@strapi/strapi 4.0.0-beta.21 → 4.0.0-beta.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -127,7 +127,7 @@ const addUniqueValidator = (validator, { attr, model, updatedAttribute, entity }
|
|
|
127
127
|
* If the attribute value is `null` we want to skip the unique validation.
|
|
128
128
|
* Otherwise it'll only accept a single `null` entry in the database.
|
|
129
129
|
*/
|
|
130
|
-
if (updatedAttribute.value
|
|
130
|
+
if (_.isNil(updatedAttribute.value)) {
|
|
131
131
|
return true;
|
|
132
132
|
}
|
|
133
133
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@strapi/strapi",
|
|
3
|
-
"version": "4.0.0-beta.
|
|
3
|
+
"version": "4.0.0-beta.22",
|
|
4
4
|
"description": "An open source headless CMS solution to create and manage your own API. It provides a powerful dashboard and features to make your life easier. Databases supported: MySQL, MariaDB, PostgreSQL, SQLite",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"strapi",
|
|
@@ -79,16 +79,16 @@
|
|
|
79
79
|
"dependencies": {
|
|
80
80
|
"@koa/cors": "3.1.0",
|
|
81
81
|
"@koa/router": "10.1.1",
|
|
82
|
-
"@strapi/admin": "4.0.0-beta.
|
|
83
|
-
"@strapi/database": "4.0.0-beta.
|
|
84
|
-
"@strapi/generate-new": "4.0.0-beta.
|
|
85
|
-
"@strapi/generators": "4.0.0-beta.
|
|
86
|
-
"@strapi/logger": "4.0.0-beta.
|
|
87
|
-
"@strapi/plugin-content-manager": "4.0.0-beta.
|
|
88
|
-
"@strapi/plugin-content-type-builder": "4.0.0-beta.
|
|
89
|
-
"@strapi/plugin-email": "4.0.0-beta.
|
|
90
|
-
"@strapi/plugin-upload": "4.0.0-beta.
|
|
91
|
-
"@strapi/utils": "4.0.0-beta.
|
|
82
|
+
"@strapi/admin": "4.0.0-beta.22",
|
|
83
|
+
"@strapi/database": "4.0.0-beta.22",
|
|
84
|
+
"@strapi/generate-new": "4.0.0-beta.22",
|
|
85
|
+
"@strapi/generators": "4.0.0-beta.22",
|
|
86
|
+
"@strapi/logger": "4.0.0-beta.22",
|
|
87
|
+
"@strapi/plugin-content-manager": "4.0.0-beta.22",
|
|
88
|
+
"@strapi/plugin-content-type-builder": "4.0.0-beta.22",
|
|
89
|
+
"@strapi/plugin-email": "4.0.0-beta.22",
|
|
90
|
+
"@strapi/plugin-upload": "4.0.0-beta.22",
|
|
91
|
+
"@strapi/utils": "4.0.0-beta.22",
|
|
92
92
|
"bcryptjs": "2.4.3",
|
|
93
93
|
"boxen": "5.1.2",
|
|
94
94
|
"chalk": "4.1.2",
|
|
@@ -134,5 +134,5 @@
|
|
|
134
134
|
"node": ">=12.x.x <=16.x.x",
|
|
135
135
|
"npm": ">=6.0.0"
|
|
136
136
|
},
|
|
137
|
-
"gitHead": "
|
|
137
|
+
"gitHead": "de7e2ebb52aef0bc71631a0a1e0ebea166b85b29"
|
|
138
138
|
}
|