@atlaskit/editor-plugin-media-insert 6.1.2 → 6.1.4
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/CHANGELOG.md
CHANGED
|
@@ -163,8 +163,8 @@ function MediaFromURL(_ref) {
|
|
|
163
163
|
_context.prev = 19;
|
|
164
164
|
_context.t0 = _context["catch"](8);
|
|
165
165
|
if (typeof _context.t0 === 'string' && _context.t0 === 'Could not download remote file') {
|
|
166
|
-
// TODO: Make sure this gets good unit test coverage with the actual
|
|
167
|
-
//
|
|
166
|
+
// TODO: ED-26962 - Make sure this gets good unit test coverage with the actual media plugin.
|
|
167
|
+
// This hard coded error message could be changed at any
|
|
168
168
|
// point and we need a unit test to break to stop people changing it.
|
|
169
169
|
onUploadFailureAnalytics(_context.t0, 'url');
|
|
170
170
|
dispatch({
|
|
@@ -136,8 +136,8 @@ export function MediaFromURL({
|
|
|
136
136
|
});
|
|
137
137
|
} catch (e) {
|
|
138
138
|
if (typeof e === 'string' && e === 'Could not download remote file') {
|
|
139
|
-
// TODO: Make sure this gets good unit test coverage with the actual
|
|
140
|
-
//
|
|
139
|
+
// TODO: ED-26962 - Make sure this gets good unit test coverage with the actual media plugin.
|
|
140
|
+
// This hard coded error message could be changed at any
|
|
141
141
|
// point and we need a unit test to break to stop people changing it.
|
|
142
142
|
onUploadFailureAnalytics(e, 'url');
|
|
143
143
|
dispatch({
|
|
@@ -152,8 +152,8 @@ export function MediaFromURL(_ref) {
|
|
|
152
152
|
_context.prev = 19;
|
|
153
153
|
_context.t0 = _context["catch"](8);
|
|
154
154
|
if (typeof _context.t0 === 'string' && _context.t0 === 'Could not download remote file') {
|
|
155
|
-
// TODO: Make sure this gets good unit test coverage with the actual
|
|
156
|
-
//
|
|
155
|
+
// TODO: ED-26962 - Make sure this gets good unit test coverage with the actual media plugin.
|
|
156
|
+
// This hard coded error message could be changed at any
|
|
157
157
|
// point and we need a unit test to break to stop people changing it.
|
|
158
158
|
onUploadFailureAnalytics(_context.t0, 'url');
|
|
159
159
|
dispatch({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-media-insert",
|
|
3
|
-
"version": "6.1.
|
|
3
|
+
"version": "6.1.4",
|
|
4
4
|
"description": "Media Insert plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -27,13 +27,13 @@
|
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@atlaskit/adf-schema": "^47.6.0",
|
|
29
29
|
"@atlaskit/button": "^21.1.0",
|
|
30
|
-
"@atlaskit/editor-common": "^102.
|
|
31
|
-
"@atlaskit/editor-plugin-analytics": "^2.
|
|
30
|
+
"@atlaskit/editor-common": "^102.8.0",
|
|
31
|
+
"@atlaskit/editor-plugin-analytics": "^2.2.0",
|
|
32
32
|
"@atlaskit/editor-plugin-media": "^2.3.0",
|
|
33
33
|
"@atlaskit/editor-prosemirror": "7.0.0",
|
|
34
34
|
"@atlaskit/editor-shared-styles": "^3.4.0",
|
|
35
35
|
"@atlaskit/form": "^12.0.0",
|
|
36
|
-
"@atlaskit/icon": "^
|
|
36
|
+
"@atlaskit/icon": "^25.0.0",
|
|
37
37
|
"@atlaskit/media-card": "^79.0.0",
|
|
38
38
|
"@atlaskit/media-client": "^32.0.0",
|
|
39
39
|
"@atlaskit/media-client-react": "^4.0.0",
|
|
@@ -43,12 +43,12 @@
|
|
|
43
43
|
"@atlaskit/section-message": "^8.1.0",
|
|
44
44
|
"@atlaskit/tabs": "^18.0.0",
|
|
45
45
|
"@atlaskit/textfield": "^8.0.0",
|
|
46
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
46
|
+
"@atlaskit/tmp-editor-statsig": "^4.0.0",
|
|
47
47
|
"@babel/runtime": "^7.0.0",
|
|
48
48
|
"react-intl-next": "npm:react-intl@^5.18.1"
|
|
49
49
|
},
|
|
50
50
|
"peerDependencies": {
|
|
51
|
-
"@atlaskit/tokens": "^4.
|
|
51
|
+
"@atlaskit/tokens": "^4.5.0",
|
|
52
52
|
"react": "^18.2.0",
|
|
53
53
|
"react-dom": "^18.2.0"
|
|
54
54
|
},
|