@atlaskit/media-test-helpers 34.7.13 → 34.8.1

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,23 @@
1
1
  # @atlaskit/media-test-helpers
2
2
 
3
+ ## 34.8.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 34.8.0
10
+
11
+ ### Minor Changes
12
+
13
+ - [#109060](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/109060)
14
+ [`4660ec858a305`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4660ec858a305) -
15
+ Update `React` from v16 to v18
16
+
17
+ ### Patch Changes
18
+
19
+ - Updated dependencies
20
+
3
21
  ## 34.7.13
4
22
 
5
23
  ### Patch Changes
@@ -22,18 +22,18 @@ function _waitUntil() {
22
22
  timeout = _args.length > 1 && _args[1] !== undefined ? _args[1] : 100;
23
23
  maxRetries = _args.length > 2 && _args[2] !== undefined ? _args[2] : 10;
24
24
  return _context.abrupt("return", new Promise(function (resolve, reject) {
25
- var check = function check(retry) {
25
+ var _check = function check(retry) {
26
26
  if (retry > 0) {
27
27
  if (predicate()) {
28
28
  resolve();
29
29
  } else {
30
- window.setTimeout(check, timeout, retry - 1);
30
+ window.setTimeout(_check, timeout, retry - 1);
31
31
  }
32
32
  } else {
33
33
  reject('timed out');
34
34
  }
35
35
  };
36
- check(maxRetries);
36
+ _check(maxRetries);
37
37
  }));
38
38
  case 3:
39
39
  case "end":
@@ -14,18 +14,18 @@ function _waitUntil() {
14
14
  timeout = _args.length > 1 && _args[1] !== undefined ? _args[1] : 100;
15
15
  maxRetries = _args.length > 2 && _args[2] !== undefined ? _args[2] : 10;
16
16
  return _context.abrupt("return", new Promise(function (resolve, reject) {
17
- var check = function check(retry) {
17
+ var _check = function check(retry) {
18
18
  if (retry > 0) {
19
19
  if (predicate()) {
20
20
  resolve();
21
21
  } else {
22
- window.setTimeout(check, timeout, retry - 1);
22
+ window.setTimeout(_check, timeout, retry - 1);
23
23
  }
24
24
  } else {
25
25
  reject('timed out');
26
26
  }
27
27
  };
28
- check(maxRetries);
28
+ _check(maxRetries);
29
29
  }));
30
30
  case 3:
31
31
  case "end":
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/media-test-helpers",
3
- "version": "34.7.13",
3
+ "version": "34.8.1",
4
4
  "description": "Collection of test helpers used in media component stories and specs",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -26,24 +26,24 @@
26
26
  "runReact18": true
27
27
  },
28
28
  "dependencies": {
29
- "@atlaskit/button": "^20.3.0",
30
- "@atlaskit/checkbox": "^15.2.0",
31
- "@atlaskit/icon": "^23.4.0",
29
+ "@atlaskit/button": "^20.4.0",
30
+ "@atlaskit/checkbox": "^15.3.0",
31
+ "@atlaskit/icon": "^23.6.0",
32
32
  "@atlaskit/locale": "^2.8.0",
33
- "@atlaskit/media-client": "^31.0.0",
34
- "@atlaskit/media-common": "^11.7.0",
35
- "@atlaskit/media-ui": "^27.3.0",
36
- "@atlaskit/popup": "^1.30.0",
37
- "@atlaskit/primitives": "13.3.8",
38
- "@atlaskit/tabs": "^17.1.0",
39
- "@atlaskit/textfield": "^6.7.0",
40
- "@atlaskit/tokens": "^3.2.0",
41
- "@atlaskit/tooltip": "^19.0.0",
33
+ "@atlaskit/media-client": "^31.1.0",
34
+ "@atlaskit/media-common": "^11.8.0",
35
+ "@atlaskit/media-ui": "^27.4.0",
36
+ "@atlaskit/popup": "^1.31.0",
37
+ "@atlaskit/primitives": "13.4.1",
38
+ "@atlaskit/tabs": "^17.2.0",
39
+ "@atlaskit/textfield": "^6.8.0",
40
+ "@atlaskit/tokens": "^3.3.0",
41
+ "@atlaskit/tooltip": "^19.1.0",
42
42
  "@atlaskit/ufo": "^0.3.0",
43
43
  "@babel/runtime": "^7.0.0",
44
44
  "@emotion/react": "^11.7.1",
45
45
  "@emotion/styled": "^11.0.0",
46
- "@testing-library/react": "^12.1.5",
46
+ "@testing-library/react": "^13.4.0",
47
47
  "enzyme": "^3.10.0",
48
48
  "exenv": "^1.2.2",
49
49
  "kakapo": "^4.0.6",
@@ -58,9 +58,9 @@
58
58
  "react": "^16.8.0 || ^17.0.0 || ~18.2.0"
59
59
  },
60
60
  "devDependencies": {
61
- "@atlaskit/media-core": "^34.4.0",
61
+ "@atlaskit/media-core": "^34.5.0",
62
62
  "@types/exenv": "^1.2.0",
63
- "react-dom": "^16.8.0",
63
+ "react-dom": "^18.2.0",
64
64
  "typescript": "~5.4.2"
65
65
  },
66
66
  "af:exports": {