@atlaskit/editor-core 151.1.0 → 151.1.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/editor-core
2
2
 
3
+ ## 151.1.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [`05527b1acf8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/05527b1acf8) - 'Renaming deprecated React lifecycle methods.'
8
+
3
9
  ## 151.1.0
4
10
 
5
11
  ### Minor Changes
@@ -177,10 +177,10 @@ var HyperlinkToolbarAppearance = /*#__PURE__*/function (_Component) {
177
177
  }
178
178
 
179
179
  (0, _createClass2.default)(HyperlinkToolbarAppearance, [{
180
- key: "componentWillReceiveProps",
180
+ key: "UNSAFE_componentWillReceiveProps",
181
181
  value: // needed so we display the right state on the Toolbar while the same Toolbar
182
182
  // instance is visible and we click other link
183
- function componentWillReceiveProps(nextProps) {
183
+ function UNSAFE_componentWillReceiveProps(nextProps) {
184
184
  if (nextProps.url !== this.props.url) {
185
185
  this.resolveUrl(nextProps.url);
186
186
  }
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.nextMajorVersion = exports.version = exports.name = void 0;
7
7
  var name = "@atlaskit/editor-core";
8
8
  exports.name = name;
9
- var version = "151.1.0";
9
+ var version = "151.1.1";
10
10
  exports.version = version;
11
11
 
12
12
  var nextMajorVersion = function nextMajorVersion() {
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-core",
3
- "version": "151.1.0",
3
+ "version": "151.1.1",
4
4
  "sideEffects": false
5
5
  }
@@ -59,7 +59,7 @@ export class HyperlinkToolbarAppearance extends Component {
59
59
 
60
60
  // needed so we display the right state on the Toolbar while the same Toolbar
61
61
  // instance is visible and we click other link
62
- componentWillReceiveProps(nextProps) {
62
+ UNSAFE_componentWillReceiveProps(nextProps) {
63
63
  if (nextProps.url !== this.props.url) {
64
64
  this.resolveUrl(nextProps.url);
65
65
  }
@@ -1,5 +1,5 @@
1
1
  export const name = "@atlaskit/editor-core";
2
- export const version = "151.1.0";
2
+ export const version = "151.1.1";
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": "151.1.0",
3
+ "version": "151.1.1",
4
4
  "sideEffects": false
5
5
  }
@@ -158,10 +158,10 @@ export var HyperlinkToolbarAppearance = /*#__PURE__*/function (_Component) {
158
158
  }
159
159
 
160
160
  _createClass(HyperlinkToolbarAppearance, [{
161
- key: "componentWillReceiveProps",
161
+ key: "UNSAFE_componentWillReceiveProps",
162
162
  value: // needed so we display the right state on the Toolbar while the same Toolbar
163
163
  // instance is visible and we click other link
164
- function componentWillReceiveProps(nextProps) {
164
+ function UNSAFE_componentWillReceiveProps(nextProps) {
165
165
  if (nextProps.url !== this.props.url) {
166
166
  this.resolveUrl(nextProps.url);
167
167
  }
@@ -1,5 +1,5 @@
1
1
  export var name = "@atlaskit/editor-core";
2
- export var version = "151.1.0";
2
+ export var version = "151.1.1";
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": "151.1.0",
3
+ "version": "151.1.1",
4
4
  "sideEffects": false
5
5
  }
@@ -23,6 +23,6 @@ export declare class HyperlinkToolbarAppearance extends Component<HyperlinkToolb
23
23
  private getProvider;
24
24
  private resolveUrl;
25
25
  componentDidMount: () => Promise<void>;
26
- componentWillReceiveProps(nextProps: HyperlinkToolbarAppearanceProps): void;
26
+ UNSAFE_componentWillReceiveProps(nextProps: HyperlinkToolbarAppearanceProps): void;
27
27
  render(): JSX.Element | null;
28
28
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-core",
3
- "version": "151.1.0",
3
+ "version": "151.1.1",
4
4
  "description": "A package contains Atlassian editor core functionality",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -169,7 +169,7 @@
169
169
  "@atlaskit/webdriver-runner": "*",
170
170
  "@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
171
171
  "@atlassian/search-provider": "2.1.15",
172
- "@atlassian/ufo": "^0.0.28",
172
+ "@atlassian/ufo": "^0.0.29",
173
173
  "@testing-library/react": "^8.0.1",
174
174
  "@testing-library/react-hooks": "^1.0.4",
175
175
  "@types/jscodeshift": "^0.11.0",