@atlaskit/media-common 11.8.1 → 12.1.0
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 +27 -0
- package/dist/cjs/test-helpers/flushPromises.js +1 -0
- package/dist/es2019/test-helpers/flushPromises.js +1 -0
- package/dist/esm/test-helpers/flushPromises.js +1 -0
- package/dist/types/test-helpers/flushPromises.d.ts +1 -0
- package/dist/types-ts4.5/test-helpers/flushPromises.d.ts +1 -0
- package/package.json +13 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,32 @@
|
|
|
1
1
|
# @atlaskit/media-common
|
|
2
2
|
|
|
3
|
+
## 12.1.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#157095](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/157095)
|
|
8
|
+
[`ec7b5d3268aaf`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/ec7b5d3268aaf) -
|
|
9
|
+
We are testing the migration to the ADS Link component behind a feature flag. If this fix is
|
|
10
|
+
successful it will be available in a later release.
|
|
11
|
+
|
|
12
|
+
## 12.0.0
|
|
13
|
+
|
|
14
|
+
### Major Changes
|
|
15
|
+
|
|
16
|
+
- [#117363](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/117363)
|
|
17
|
+
[`10a0f7f6c2027`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/10a0f7f6c2027) -
|
|
18
|
+
This package's `peerDependencies` have been adjusted for `react` and/or `react-dom` to reflect the
|
|
19
|
+
status of only supporting React 18 going forward. No explicit breaking change to React support has
|
|
20
|
+
been made in this release, but this is to signify going forward, breaking changes for React 16 or
|
|
21
|
+
React 17 may come via non-major semver releases.
|
|
22
|
+
|
|
23
|
+
Please refer this community post for more details:
|
|
24
|
+
https://community.developer.atlassian.com/t/rfc-78-dropping-support-for-react-16-and-rendering-in-a-react-18-concurrent-root-in-jira-and-confluence/87026
|
|
25
|
+
|
|
26
|
+
### Patch Changes
|
|
27
|
+
|
|
28
|
+
- Updated dependencies
|
|
29
|
+
|
|
3
30
|
## 11.8.1
|
|
4
31
|
|
|
5
32
|
### Patch Changes
|
|
@@ -4,6 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.flushPromises = void 0;
|
|
7
|
+
/** deprecated Use React Testing Library's waitFor like method instead */
|
|
7
8
|
var flushPromises = exports.flushPromises = function flushPromises() {
|
|
8
9
|
return new Promise(function (resolve) {
|
|
9
10
|
return setImmediate(resolve);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/media-common",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "12.1.0",
|
|
4
4
|
"description": "Includes common utilities used by other media packages",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -40,17 +40,19 @@
|
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"@atlaskit/analytics-gas-types": "^5.1.0",
|
|
43
|
-
"@atlaskit/analytics-namespaced-context": "^
|
|
44
|
-
"@atlaskit/analytics-next": "^
|
|
45
|
-
"@atlaskit/
|
|
43
|
+
"@atlaskit/analytics-namespaced-context": "^7.0.0",
|
|
44
|
+
"@atlaskit/analytics-next": "^11.0.0",
|
|
45
|
+
"@atlaskit/link": "^3.2.0",
|
|
46
|
+
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
47
|
+
"@atlaskit/section-message": "^8.2.0",
|
|
46
48
|
"@babel/runtime": "^7.0.0",
|
|
47
49
|
"immer": "^9.0.12",
|
|
48
50
|
"uuid-validate": "^0.0.3"
|
|
49
51
|
},
|
|
50
52
|
"peerDependencies": {
|
|
51
53
|
"enzyme": ">=3.10.0",
|
|
52
|
-
"react": "^
|
|
53
|
-
"react-dom": "^
|
|
54
|
+
"react": "^18.2.0",
|
|
55
|
+
"react-dom": "^18.2.0"
|
|
54
56
|
},
|
|
55
57
|
"peerDependenciesMeta": {
|
|
56
58
|
"enzyme": {
|
|
@@ -63,5 +65,10 @@
|
|
|
63
65
|
"react": "^18.2.0",
|
|
64
66
|
"react-dom": "^18.2.0",
|
|
65
67
|
"typescript": "~5.4.2"
|
|
68
|
+
},
|
|
69
|
+
"platform-feature-flags": {
|
|
70
|
+
"dst-a11y__replace-anchor-with-link__media-exif": {
|
|
71
|
+
"type": "boolean"
|
|
72
|
+
}
|
|
66
73
|
}
|
|
67
74
|
}
|