@strapi/strapi 4.12.0-beta.3 → 4.12.0-beta.5
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.
|
@@ -10,7 +10,7 @@ module.exports = async () => {
|
|
|
10
10
|
const appContext = await strapi.compile();
|
|
11
11
|
const app = await strapi(appContext).load();
|
|
12
12
|
|
|
13
|
-
const list = app.server.listRoutes();
|
|
13
|
+
const list = app.server.mount().listRoutes();
|
|
14
14
|
|
|
15
15
|
const infoTable = new CLITable({
|
|
16
16
|
head: [chalk.blue('Method'), chalk.blue('Path')],
|
|
@@ -283,10 +283,8 @@ const createDefaultImplementation = ({ strapi, db, eventHub, entityValidator })
|
|
|
283
283
|
|
|
284
284
|
const validData = await entityValidator.validateEntityUpdate(
|
|
285
285
|
model,
|
|
286
|
-
data,
|
|
287
|
-
{
|
|
288
|
-
isDraft,
|
|
289
|
-
},
|
|
286
|
+
_.omit(data, ['id']), // Omit the id, the cloned entity id will be generated by the database
|
|
287
|
+
{ isDraft },
|
|
290
288
|
entityToClone
|
|
291
289
|
);
|
|
292
290
|
const query = transformParamsToQuery(uid, pickSelectionParams(wrappedParams));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@strapi/strapi",
|
|
3
|
-
"version": "4.12.0-beta.
|
|
3
|
+
"version": "4.12.0-beta.5",
|
|
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",
|
|
@@ -81,19 +81,19 @@
|
|
|
81
81
|
"dependencies": {
|
|
82
82
|
"@koa/cors": "3.4.3",
|
|
83
83
|
"@koa/router": "10.1.1",
|
|
84
|
-
"@strapi/admin": "4.12.0-beta.
|
|
85
|
-
"@strapi/data-transfer": "4.12.0-beta.
|
|
86
|
-
"@strapi/database": "4.12.0-beta.
|
|
87
|
-
"@strapi/generate-new": "4.12.0-beta.
|
|
88
|
-
"@strapi/generators": "4.12.0-beta.
|
|
89
|
-
"@strapi/logger": "4.12.0-beta.
|
|
90
|
-
"@strapi/permissions": "4.12.0-beta.
|
|
91
|
-
"@strapi/plugin-content-manager": "4.12.0-beta.
|
|
92
|
-
"@strapi/plugin-content-type-builder": "4.12.0-beta.
|
|
93
|
-
"@strapi/plugin-email": "4.12.0-beta.
|
|
94
|
-
"@strapi/plugin-upload": "4.12.0-beta.
|
|
95
|
-
"@strapi/typescript-utils": "4.12.0-beta.
|
|
96
|
-
"@strapi/utils": "4.12.0-beta.
|
|
84
|
+
"@strapi/admin": "4.12.0-beta.5",
|
|
85
|
+
"@strapi/data-transfer": "4.12.0-beta.5",
|
|
86
|
+
"@strapi/database": "4.12.0-beta.5",
|
|
87
|
+
"@strapi/generate-new": "4.12.0-beta.5",
|
|
88
|
+
"@strapi/generators": "4.12.0-beta.5",
|
|
89
|
+
"@strapi/logger": "4.12.0-beta.5",
|
|
90
|
+
"@strapi/permissions": "4.12.0-beta.5",
|
|
91
|
+
"@strapi/plugin-content-manager": "4.12.0-beta.5",
|
|
92
|
+
"@strapi/plugin-content-type-builder": "4.12.0-beta.5",
|
|
93
|
+
"@strapi/plugin-email": "4.12.0-beta.5",
|
|
94
|
+
"@strapi/plugin-upload": "4.12.0-beta.5",
|
|
95
|
+
"@strapi/typescript-utils": "4.12.0-beta.5",
|
|
96
|
+
"@strapi/utils": "4.12.0-beta.5",
|
|
97
97
|
"bcryptjs": "2.4.3",
|
|
98
98
|
"boxen": "5.1.2",
|
|
99
99
|
"chalk": "4.1.2",
|
|
@@ -142,5 +142,5 @@
|
|
|
142
142
|
"node": ">=14.19.1 <=18.x.x",
|
|
143
143
|
"npm": ">=6.0.0"
|
|
144
144
|
},
|
|
145
|
-
"gitHead": "
|
|
145
|
+
"gitHead": "690c85458416da815f0e944fa8fc6dbe0fb2d001"
|
|
146
146
|
}
|