@atlaskit/editor-plugin-media 1.44.3 → 1.44.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.
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-media
|
|
2
2
|
|
|
3
|
+
## 1.44.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#103673](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/103673)
|
|
8
|
+
[`41cc17bdee600`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/41cc17bdee600) -
|
|
9
|
+
Replaced feature gate "platform_media_copy_and_paste_v2" with "platform_media_cross_client_copy"
|
|
10
|
+
to avoid releasing to users with broken versions in cache
|
|
11
|
+
- Updated dependencies
|
|
12
|
+
|
|
13
|
+
## 1.44.4
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- Updated dependencies
|
|
18
|
+
|
|
3
19
|
## 1.44.3
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
|
@@ -462,7 +462,7 @@ var MediaNodeUpdater = exports.MediaNodeUpdater = /*#__PURE__*/function () {
|
|
|
462
462
|
case 9:
|
|
463
463
|
_context11.prev = 9;
|
|
464
464
|
_context11.t0 = _context11["catch"](1);
|
|
465
|
-
if (!(0, _platformFeatureFlags.fg)('
|
|
465
|
+
if (!(0, _platformFeatureFlags.fg)('platform_media_cross_client_copy')) {
|
|
466
466
|
_context11.next = 21;
|
|
467
467
|
break;
|
|
468
468
|
}
|
|
@@ -255,7 +255,7 @@ export class MediaNodeUpdater {
|
|
|
255
255
|
} = await mediaClient.file.copyFile(source, destination, undefined, traceContext);
|
|
256
256
|
return id;
|
|
257
257
|
} catch (err) {
|
|
258
|
-
if (fg('
|
|
258
|
+
if (fg('platform_media_cross_client_copy')) {
|
|
259
259
|
// calling /v2/file/copy by removing the auth tokens to make cross product copy and pastes
|
|
260
260
|
const {
|
|
261
261
|
authProvider: _sourceAP,
|
|
@@ -455,7 +455,7 @@ export var MediaNodeUpdater = /*#__PURE__*/function () {
|
|
|
455
455
|
case 9:
|
|
456
456
|
_context11.prev = 9;
|
|
457
457
|
_context11.t0 = _context11["catch"](1);
|
|
458
|
-
if (!fg('
|
|
458
|
+
if (!fg('platform_media_cross_client_copy')) {
|
|
459
459
|
_context11.next = 21;
|
|
460
460
|
break;
|
|
461
461
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-media",
|
|
3
|
-
"version": "1.44.
|
|
3
|
+
"version": "1.44.5",
|
|
4
4
|
"description": "Media plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -36,10 +36,10 @@
|
|
|
36
36
|
"@atlaskit/analytics-namespaced-context": "^6.12.0",
|
|
37
37
|
"@atlaskit/analytics-next": "^10.2.0",
|
|
38
38
|
"@atlaskit/button": "^20.3.0",
|
|
39
|
-
"@atlaskit/editor-common": "^99.
|
|
39
|
+
"@atlaskit/editor-common": "^99.3.0",
|
|
40
40
|
"@atlaskit/editor-palette": "1.6.4",
|
|
41
41
|
"@atlaskit/editor-plugin-analytics": "^1.10.0",
|
|
42
|
-
"@atlaskit/editor-plugin-annotation": "1.26.
|
|
42
|
+
"@atlaskit/editor-plugin-annotation": "1.26.12",
|
|
43
43
|
"@atlaskit/editor-plugin-connectivity": "^1.1.0",
|
|
44
44
|
"@atlaskit/editor-plugin-decorations": "^1.3.0",
|
|
45
45
|
"@atlaskit/editor-plugin-editor-disabled": "^1.3.0",
|
|
@@ -56,8 +56,8 @@
|
|
|
56
56
|
"@atlaskit/form": "^11.0.0",
|
|
57
57
|
"@atlaskit/icon": "^23.4.0",
|
|
58
58
|
"@atlaskit/media-card": "^78.18.0",
|
|
59
|
-
"@atlaskit/media-client": "^29.
|
|
60
|
-
"@atlaskit/media-client-react": "^2.
|
|
59
|
+
"@atlaskit/media-client": "^29.1.0",
|
|
60
|
+
"@atlaskit/media-client-react": "^2.6.0",
|
|
61
61
|
"@atlaskit/media-common": "^11.7.0",
|
|
62
62
|
"@atlaskit/media-filmstrip": "^48.1.0",
|
|
63
63
|
"@atlaskit/media-picker": "^67.0.0",
|
|
@@ -67,8 +67,8 @@
|
|
|
67
67
|
"@atlaskit/primitives": "^13.3.0",
|
|
68
68
|
"@atlaskit/textfield": "^6.7.0",
|
|
69
69
|
"@atlaskit/theme": "^14.0.0",
|
|
70
|
-
"@atlaskit/tmp-editor-statsig": "^2.
|
|
71
|
-
"@atlaskit/tokens": "^3.
|
|
70
|
+
"@atlaskit/tmp-editor-statsig": "^2.37.0",
|
|
71
|
+
"@atlaskit/tokens": "^3.1.0",
|
|
72
72
|
"@atlaskit/tooltip": "^19.0.0",
|
|
73
73
|
"@babel/runtime": "^7.0.0",
|
|
74
74
|
"@emotion/react": "^11.7.1",
|
|
@@ -127,7 +127,7 @@
|
|
|
127
127
|
"platform_editor_react18_phase2__media_single": {
|
|
128
128
|
"type": "boolean"
|
|
129
129
|
},
|
|
130
|
-
"
|
|
130
|
+
"platform_media_cross_client_copy": {
|
|
131
131
|
"type": "boolean"
|
|
132
132
|
},
|
|
133
133
|
"platform_editor_media_extended_resize_experience": {
|