@atlaskit/media-client 37.2.1 → 37.2.2

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-client
2
2
 
3
+ ## 37.2.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
3
9
  ## 37.2.1
4
10
 
5
11
  ### Patch Changes
@@ -1119,14 +1119,19 @@ var MediaStore = exports.MediaStore = /*#__PURE__*/function () {
1119
1119
  }]);
1120
1120
  }();
1121
1121
  var getValueFromSessionStorage = function getValueFromSessionStorage(key) {
1122
+ // eslint-disable-next-line @atlaskit/platform/no-direct-web-storage-usage -- existing usage
1122
1123
  return window && window.sessionStorage && window.sessionStorage.getItem(key) || undefined;
1123
1124
  };
1124
1125
  var setKeyValueInSessionStorage = function setKeyValueInSessionStorage(key, value) {
1126
+ // eslint-disable-next-line @atlaskit/platform/no-direct-web-storage-usage -- existing usage
1125
1127
  if (!value || !(window && window.sessionStorage)) {
1126
1128
  return;
1127
1129
  }
1130
+
1131
+ // eslint-disable-next-line @atlaskit/platform/no-direct-web-storage-usage -- existing usage
1128
1132
  var currentValue = window.sessionStorage.getItem(key);
1129
1133
  if (currentValue !== value) {
1134
+ // eslint-disable-next-line @atlaskit/platform/no-direct-web-storage-usage -- existing usage
1130
1135
  window.sessionStorage.setItem(key, value);
1131
1136
  }
1132
1137
  };
@@ -689,14 +689,19 @@ export class MediaStore {
689
689
  }
690
690
  }
691
691
  const getValueFromSessionStorage = key => {
692
+ // eslint-disable-next-line @atlaskit/platform/no-direct-web-storage-usage -- existing usage
692
693
  return window && window.sessionStorage && window.sessionStorage.getItem(key) || undefined;
693
694
  };
694
695
  const setKeyValueInSessionStorage = (key, value) => {
696
+ // eslint-disable-next-line @atlaskit/platform/no-direct-web-storage-usage -- existing usage
695
697
  if (!value || !(window && window.sessionStorage)) {
696
698
  return;
697
699
  }
700
+
701
+ // eslint-disable-next-line @atlaskit/platform/no-direct-web-storage-usage -- existing usage
698
702
  const currentValue = window.sessionStorage.getItem(key);
699
703
  if (currentValue !== value) {
704
+ // eslint-disable-next-line @atlaskit/platform/no-direct-web-storage-usage -- existing usage
700
705
  window.sessionStorage.setItem(key, value);
701
706
  }
702
707
  };
@@ -1113,14 +1113,19 @@ export var MediaStore = /*#__PURE__*/function () {
1113
1113
  }]);
1114
1114
  }();
1115
1115
  var getValueFromSessionStorage = function getValueFromSessionStorage(key) {
1116
+ // eslint-disable-next-line @atlaskit/platform/no-direct-web-storage-usage -- existing usage
1116
1117
  return window && window.sessionStorage && window.sessionStorage.getItem(key) || undefined;
1117
1118
  };
1118
1119
  var setKeyValueInSessionStorage = function setKeyValueInSessionStorage(key, value) {
1120
+ // eslint-disable-next-line @atlaskit/platform/no-direct-web-storage-usage -- existing usage
1119
1121
  if (!value || !(window && window.sessionStorage)) {
1120
1122
  return;
1121
1123
  }
1124
+
1125
+ // eslint-disable-next-line @atlaskit/platform/no-direct-web-storage-usage -- existing usage
1122
1126
  var currentValue = window.sessionStorage.getItem(key);
1123
1127
  if (currentValue !== value) {
1128
+ // eslint-disable-next-line @atlaskit/platform/no-direct-web-storage-usage -- existing usage
1124
1129
  window.sessionStorage.setItem(key, value);
1125
1130
  }
1126
1131
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/media-client",
3
- "version": "37.2.1",
3
+ "version": "37.2.2",
4
4
  "description": "Media API Web Client Library",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -23,9 +23,9 @@
23
23
  "dependencies": {
24
24
  "@atlaskit/atlassian-context": "^1.0.0",
25
25
  "@atlaskit/chunkinator": "^8.0.0",
26
- "@atlaskit/media-common": "^14.2.0",
26
+ "@atlaskit/media-common": "^14.3.0",
27
27
  "@atlaskit/platform-feature-flags": "^2.0.0",
28
- "@atlaskit/tmp-editor-statsig": "^121.1.0",
28
+ "@atlaskit/tmp-editor-statsig": "^122.0.0",
29
29
  "@babel/runtime": "^7.0.0",
30
30
  "dataloader": "^2.1.0",
31
31
  "deep-equal": "^1.0.1",
@@ -45,7 +45,7 @@
45
45
  "@atlaskit/media-core": "^38.0.0",
46
46
  "@atlaskit/media-state": "^3.0.0",
47
47
  "@atlaskit/ssr": "workspace:^",
48
- "@atlaskit/tokens": "^15.4.0",
48
+ "@atlaskit/tokens": "^15.5.0",
49
49
  "@atlassian/a11y-jest-testing": "^0.13.0",
50
50
  "@atlassian/feature-flags-test-utils": "^1.1.0",
51
51
  "@emotion/react": "^11.7.1",