@atlaskit/editor-core 187.4.10 → 187.4.11

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,12 @@
1
1
  # @atlaskit/editor-core
2
2
 
3
+ ## 187.4.11
4
+
5
+ ### Patch Changes
6
+
7
+ - [`8f01c8d69d7`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8f01c8d69d7) - ED-18946 fixed leaking debounce function on assistive text unmount
8
+ - Updated dependencies
9
+
3
10
  ## 187.4.10
4
11
 
5
12
  ### Patch Changes
@@ -68,7 +68,9 @@ var AssistveTextComponent = /*#__PURE__*/function (_React$Component) {
68
68
  }
69
69
  }, {
70
70
  key: "componentWillUnmount",
71
- value: function componentWillUnmount() {}
71
+ value: function componentWillUnmount() {
72
+ this.debounceStatusUpdate.cancel();
73
+ }
72
74
  }, {
73
75
  key: "componentWillReceiveProps",
74
76
  value: function componentWillReceiveProps() {
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.version = exports.nextMajorVersion = exports.name = void 0;
7
7
  var name = "@atlaskit/editor-core";
8
8
  exports.name = name;
9
- var version = "187.4.10";
9
+ var version = "187.4.11";
10
10
  exports.version = version;
11
11
  var nextMajorVersion = function nextMajorVersion() {
12
12
  return [Number(version.split('.')[0]) + 1, 0, 0].join('.');
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-core",
3
- "version": "187.4.10",
3
+ "version": "187.4.11",
4
4
  "sideEffects": false
5
5
  }
@@ -41,7 +41,9 @@ class AssistveTextComponent extends React.Component {
41
41
  }
42
42
  }, statusDebounceMillis);
43
43
  }
44
- componentWillUnmount() {}
44
+ componentWillUnmount() {
45
+ this.debounceStatusUpdate.cancel();
46
+ }
45
47
  componentWillReceiveProps() {
46
48
  this.setState(({
47
49
  bump
@@ -1,5 +1,5 @@
1
1
  export const name = "@atlaskit/editor-core";
2
- export const version = "187.4.10";
2
+ export const version = "187.4.11";
3
3
  export const nextMajorVersion = () => {
4
4
  return [Number(version.split('.')[0]) + 1, 0, 0].join('.');
5
5
  };
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-core",
3
- "version": "187.4.10",
3
+ "version": "187.4.11",
4
4
  "sideEffects": false
5
5
  }
@@ -63,7 +63,9 @@ var AssistveTextComponent = /*#__PURE__*/function (_React$Component) {
63
63
  }
64
64
  }, {
65
65
  key: "componentWillUnmount",
66
- value: function componentWillUnmount() {}
66
+ value: function componentWillUnmount() {
67
+ this.debounceStatusUpdate.cancel();
68
+ }
67
69
  }, {
68
70
  key: "componentWillReceiveProps",
69
71
  value: function componentWillReceiveProps() {
@@ -1,5 +1,5 @@
1
1
  export var name = "@atlaskit/editor-core";
2
- export var version = "187.4.10";
2
+ export var version = "187.4.11";
3
3
  export var nextMajorVersion = function nextMajorVersion() {
4
4
  return [Number(version.split('.')[0]) + 1, 0, 0].join('.');
5
5
  };
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-core",
3
- "version": "187.4.10",
3
+ "version": "187.4.11",
4
4
  "sideEffects": false
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-core",
3
- "version": "187.4.10",
3
+ "version": "187.4.11",
4
4
  "description": "A package contains Atlassian editor core functionality",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -95,7 +95,7 @@
95
95
  "@atlaskit/radio": "^5.6.0",
96
96
  "@atlaskit/section-message": "^6.4.0",
97
97
  "@atlaskit/select": "^16.5.0",
98
- "@atlaskit/smart-card": "^26.9.0",
98
+ "@atlaskit/smart-card": "^26.10.0",
99
99
  "@atlaskit/smart-user-picker": "^6.1.0",
100
100
  "@atlaskit/spinner": "^15.5.0",
101
101
  "@atlaskit/status": "^1.3.0",