@atlaskit/media-test-helpers 34.8.0 → 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,11 @@
1
1
  # @atlaskit/media-test-helpers
2
2
 
3
+ ## 34.8.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
3
9
  ## 34.8.0
4
10
 
5
11
  ### Minor 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.8.0",
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/"
@@ -28,13 +28,13 @@
28
28
  "dependencies": {
29
29
  "@atlaskit/button": "^20.4.0",
30
30
  "@atlaskit/checkbox": "^15.3.0",
31
- "@atlaskit/icon": "^23.5.0",
31
+ "@atlaskit/icon": "^23.6.0",
32
32
  "@atlaskit/locale": "^2.8.0",
33
33
  "@atlaskit/media-client": "^31.1.0",
34
34
  "@atlaskit/media-common": "^11.8.0",
35
35
  "@atlaskit/media-ui": "^27.4.0",
36
36
  "@atlaskit/popup": "^1.31.0",
37
- "@atlaskit/primitives": "13.4.0",
37
+ "@atlaskit/primitives": "13.4.1",
38
38
  "@atlaskit/tabs": "^17.2.0",
39
39
  "@atlaskit/textfield": "^6.8.0",
40
40
  "@atlaskit/tokens": "^3.3.0",