@atlaskit/renderer 108.8.12 → 108.9.0

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,15 @@
1
1
  # @atlaskit/renderer
2
2
 
3
+ ## 108.9.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`8695abdde8e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8695abdde8e) - [ED-18289] Clean-up Editor Sentry feature flag
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies
12
+
3
13
  ## 108.8.12
4
14
 
5
15
  ### Patch Changes
@@ -16,7 +16,6 @@ var _react = _interopRequireDefault(require("react"));
16
16
  var _analytics = require("@atlaskit/editor-common/analytics");
17
17
  var _analyticsListeners = require("@atlaskit/analytics-listeners");
18
18
  var _monitoring = require("@atlaskit/editor-common/monitoring");
19
- var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
20
19
  var _events = require("../../analytics/events");
21
20
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
22
21
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
@@ -73,11 +72,9 @@ var ErrorBoundary = /*#__PURE__*/function (_React$Component) {
73
72
  errorStack: error === null || error === void 0 ? void 0 : error.stack
74
73
  }
75
74
  });
76
- if ((0, _platformFeatureFlags.getBooleanFF)('platform.editor.sentry-error-monitoring_6bksu')) {
77
- (0, _monitoring.logException)(error, {
78
- location: 'renderer'
79
- });
80
- }
75
+ (0, _monitoring.logException)(error, {
76
+ location: 'renderer'
77
+ });
81
78
  if (this.hasFallback()) {
82
79
  this.setState({
83
80
  errorCaptured: true
@@ -55,7 +55,7 @@ exports.NORMAL_SEVERITY_THRESHOLD = NORMAL_SEVERITY_THRESHOLD;
55
55
  var DEGRADED_SEVERITY_THRESHOLD = 3000;
56
56
  exports.DEGRADED_SEVERITY_THRESHOLD = DEGRADED_SEVERITY_THRESHOLD;
57
57
  var packageName = "@atlaskit/renderer";
58
- var packageVersion = "108.8.12";
58
+ var packageVersion = "108.9.0";
59
59
  var Renderer = /*#__PURE__*/function (_PureComponent) {
60
60
  (0, _inherits2.default)(Renderer, _PureComponent);
61
61
  var _super = _createSuper(Renderer);
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/renderer",
3
- "version": "108.8.12",
3
+ "version": "108.9.0",
4
4
  "sideEffects": false
5
5
  }
@@ -3,7 +3,6 @@ import React from 'react';
3
3
  import { ACTION, EVENT_TYPE } from '@atlaskit/editor-common/analytics';
4
4
  import { FabricChannel } from '@atlaskit/analytics-listeners';
5
5
  import { logException } from '@atlaskit/editor-common/monitoring';
6
- import { getBooleanFF } from '@atlaskit/platform-feature-flags';
7
6
  import { PLATFORM } from '../../analytics/events';
8
7
  export class ErrorBoundary extends React.Component {
9
8
  constructor(...args) {
@@ -43,11 +42,9 @@ export class ErrorBoundary extends React.Component {
43
42
  errorStack: error === null || error === void 0 ? void 0 : error.stack
44
43
  }
45
44
  });
46
- if (getBooleanFF('platform.editor.sentry-error-monitoring_6bksu')) {
47
- logException(error, {
48
- location: 'renderer'
49
- });
50
- }
45
+ logException(error, {
46
+ location: 'renderer'
47
+ });
51
48
  if (this.hasFallback()) {
52
49
  this.setState({
53
50
  errorCaptured: true
@@ -35,7 +35,7 @@ import { RenderTracking } from '../../react/utils/performance/RenderTracking';
35
35
  export const NORMAL_SEVERITY_THRESHOLD = 2000;
36
36
  export const DEGRADED_SEVERITY_THRESHOLD = 3000;
37
37
  const packageName = "@atlaskit/renderer";
38
- const packageVersion = "108.8.12";
38
+ const packageVersion = "108.9.0";
39
39
  export class Renderer extends PureComponent {
40
40
  constructor(props) {
41
41
  super(props);
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/renderer",
3
- "version": "108.8.12",
3
+ "version": "108.9.0",
4
4
  "sideEffects": false
5
5
  }
@@ -11,7 +11,6 @@ import React from 'react';
11
11
  import { ACTION, EVENT_TYPE } from '@atlaskit/editor-common/analytics';
12
12
  import { FabricChannel } from '@atlaskit/analytics-listeners';
13
13
  import { logException } from '@atlaskit/editor-common/monitoring';
14
- import { getBooleanFF } from '@atlaskit/platform-feature-flags';
15
14
  import { PLATFORM } from '../../analytics/events';
16
15
  export var ErrorBoundary = /*#__PURE__*/function (_React$Component) {
17
16
  _inherits(ErrorBoundary, _React$Component);
@@ -66,11 +65,9 @@ export var ErrorBoundary = /*#__PURE__*/function (_React$Component) {
66
65
  errorStack: error === null || error === void 0 ? void 0 : error.stack
67
66
  }
68
67
  });
69
- if (getBooleanFF('platform.editor.sentry-error-monitoring_6bksu')) {
70
- logException(error, {
71
- location: 'renderer'
72
- });
73
- }
68
+ logException(error, {
69
+ location: 'renderer'
70
+ });
74
71
  if (this.hasFallback()) {
75
72
  this.setState({
76
73
  errorCaptured: true
@@ -45,7 +45,7 @@ import { RenderTracking } from '../../react/utils/performance/RenderTracking';
45
45
  export var NORMAL_SEVERITY_THRESHOLD = 2000;
46
46
  export var DEGRADED_SEVERITY_THRESHOLD = 3000;
47
47
  var packageName = "@atlaskit/renderer";
48
- var packageVersion = "108.8.12";
48
+ var packageVersion = "108.9.0";
49
49
  export var Renderer = /*#__PURE__*/function (_PureComponent) {
50
50
  _inherits(Renderer, _PureComponent);
51
51
  var _super = _createSuper(Renderer);
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/renderer",
3
- "version": "108.8.12",
3
+ "version": "108.9.0",
4
4
  "sideEffects": false
5
5
  }
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
- import { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next';
3
- import { ComponentCrashErrorAEP } from '../../analytics/events';
2
+ import type { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next';
3
+ import type { ComponentCrashErrorAEP } from '../../analytics/events';
4
4
  interface ErrorBoundaryProps {
5
5
  component: ComponentCrashErrorAEP['actionSubject'];
6
6
  componentId?: ComponentCrashErrorAEP['actionSubjectId'];
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
- import { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next';
3
- import { ComponentCrashErrorAEP } from '../../analytics/events';
2
+ import type { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next';
3
+ import type { ComponentCrashErrorAEP } from '../../analytics/events';
4
4
  interface ErrorBoundaryProps {
5
5
  component: ComponentCrashErrorAEP['actionSubject'];
6
6
  componentId?: ComponentCrashErrorAEP['actionSubjectId'];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/renderer",
3
- "version": "108.8.12",
3
+ "version": "108.9.0",
4
4
  "description": "Renderer component",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -31,7 +31,7 @@
31
31
  "@atlaskit/analytics-next": "^9.1.0",
32
32
  "@atlaskit/button": "^16.8.0",
33
33
  "@atlaskit/code": "^14.6.0",
34
- "@atlaskit/editor-common": "^74.34.0",
34
+ "@atlaskit/editor-common": "^74.36.0",
35
35
  "@atlaskit/editor-json-transformer": "^8.10.0",
36
36
  "@atlaskit/editor-palette": "1.5.1",
37
37
  "@atlaskit/editor-prosemirror": "1.0.2",
@@ -43,7 +43,7 @@
43
43
  "@atlaskit/media-client": "^23.1.0",
44
44
  "@atlaskit/media-common": "^8.0.0",
45
45
  "@atlaskit/media-filmstrip": "^47.0.0",
46
- "@atlaskit/media-ui": "^23.2.0",
46
+ "@atlaskit/media-ui": "^23.3.0",
47
47
  "@atlaskit/media-viewer": "^48.0.0",
48
48
  "@atlaskit/platform-feature-flags": "^0.2.0",
49
49
  "@atlaskit/smart-card": "^26.14.0",
@@ -113,9 +113,6 @@
113
113
  }
114
114
  },
115
115
  "platform-feature-flags": {
116
- "platform.editor.sentry-error-monitoring_6bksu": {
117
- "type": "boolean"
118
- },
119
116
  "platform.editor.custom-table-width": {
120
117
  "type": "boolean"
121
118
  },