@strapi/strapi 4.1.3 → 4.1.4-alpha.2
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.
package/lib/Strapi.js
CHANGED
|
@@ -205,7 +205,12 @@ class Strapi {
|
|
|
205
205
|
this.config.get('admin.autoOpen', true) !== false;
|
|
206
206
|
|
|
207
207
|
if (shouldOpenAdmin && !isInitialized) {
|
|
208
|
-
|
|
208
|
+
try {
|
|
209
|
+
await utils.openBrowser(this.config);
|
|
210
|
+
this.telemetry.send('didOpenTab');
|
|
211
|
+
} catch (e) {
|
|
212
|
+
this.telemetry.send('didNotOpenTab');
|
|
213
|
+
}
|
|
209
214
|
}
|
|
210
215
|
}
|
|
211
216
|
|
|
@@ -71,7 +71,10 @@ const getEnabledPlugins = async strapi => {
|
|
|
71
71
|
validatePluginName(packageInfo.strapi.name);
|
|
72
72
|
installedPlugins[packageInfo.strapi.name] = {
|
|
73
73
|
...toDetailedDeclaration({ enabled: true, resolve: packagePath }),
|
|
74
|
-
info:
|
|
74
|
+
info: {
|
|
75
|
+
...packageInfo.strapi,
|
|
76
|
+
packageName: packageInfo.name,
|
|
77
|
+
},
|
|
75
78
|
};
|
|
76
79
|
}
|
|
77
80
|
}
|
|
@@ -12,7 +12,7 @@ const defaults = {
|
|
|
12
12
|
useDefaults: true,
|
|
13
13
|
directives: {
|
|
14
14
|
'connect-src': ["'self'", 'https:'],
|
|
15
|
-
'img-src': ["'self'", 'data:', 'blob:'],
|
|
15
|
+
'img-src': ["'self'", 'data:', 'blob:', 'https://dl.airtable.com'],
|
|
16
16
|
'media-src': ["'self'", 'data:', 'blob:'],
|
|
17
17
|
upgradeInsecureRequests: null,
|
|
18
18
|
},
|
|
@@ -251,8 +251,8 @@ const createDefaultImplementation = ({ strapi, db, eventHub, entityValidator })
|
|
|
251
251
|
return null;
|
|
252
252
|
}
|
|
253
253
|
|
|
254
|
-
await deleteComponents(uid, entityToDelete);
|
|
255
254
|
await db.query(uid).delete({ where: { id: entityToDelete.id } });
|
|
255
|
+
await deleteComponents(uid, entityToDelete);
|
|
256
256
|
|
|
257
257
|
await this.emitEvent(uid, ENTRY_DELETE, entityToDelete);
|
|
258
258
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@strapi/strapi",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.4-alpha.2",
|
|
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",
|
|
@@ -80,16 +80,16 @@
|
|
|
80
80
|
"dependencies": {
|
|
81
81
|
"@koa/cors": "3.1.0",
|
|
82
82
|
"@koa/router": "10.1.1",
|
|
83
|
-
"@strapi/admin": "4.1.
|
|
84
|
-
"@strapi/database": "4.1.
|
|
85
|
-
"@strapi/generate-new": "4.1.
|
|
86
|
-
"@strapi/generators": "4.1.
|
|
87
|
-
"@strapi/logger": "4.1.
|
|
88
|
-
"@strapi/plugin-content-manager": "4.1.
|
|
89
|
-
"@strapi/plugin-content-type-builder": "4.1.
|
|
90
|
-
"@strapi/plugin-email": "4.1.
|
|
91
|
-
"@strapi/plugin-upload": "4.1.
|
|
92
|
-
"@strapi/utils": "4.1.
|
|
83
|
+
"@strapi/admin": "4.1.4-alpha.2",
|
|
84
|
+
"@strapi/database": "4.1.4-alpha.2",
|
|
85
|
+
"@strapi/generate-new": "4.1.4-alpha.2",
|
|
86
|
+
"@strapi/generators": "4.1.4-alpha.2",
|
|
87
|
+
"@strapi/logger": "4.1.4-alpha.2",
|
|
88
|
+
"@strapi/plugin-content-manager": "4.1.4-alpha.2",
|
|
89
|
+
"@strapi/plugin-content-type-builder": "4.1.4-alpha.2",
|
|
90
|
+
"@strapi/plugin-email": "4.1.4-alpha.2",
|
|
91
|
+
"@strapi/plugin-upload": "4.1.4-alpha.2",
|
|
92
|
+
"@strapi/utils": "4.1.4-alpha.2",
|
|
93
93
|
"bcryptjs": "2.4.3",
|
|
94
94
|
"boxen": "5.1.2",
|
|
95
95
|
"chalk": "4.1.2",
|
|
@@ -136,5 +136,5 @@
|
|
|
136
136
|
"node": ">=12.22.0 <=16.x.x",
|
|
137
137
|
"npm": ">=6.0.0"
|
|
138
138
|
},
|
|
139
|
-
"gitHead": "
|
|
139
|
+
"gitHead": "067d31a116cd5d31a0160073a09ade55ea4c95a9"
|
|
140
140
|
}
|