@atlaskit/renderer 109.45.1 → 109.46.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,27 @@
1
1
  # @atlaskit/renderer
2
2
 
3
+ ## 109.46.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#128347](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/128347)
8
+ [`e33566cebd5d1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/e33566cebd5d1) -
9
+ [ED-24175] bump @atlaskit/adf-schema to 40.8.1 and @atlassian/adf-schema-json to 1.22.0 to
10
+ promotecodeblocks & media in quotes, and nested expands in expands to full schema, and allow
11
+ quotes in panels and decisions in lists in stage0 schema, and a validator spec change
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies
16
+
17
+ ## 109.45.2
18
+
19
+ ### Patch Changes
20
+
21
+ - [#127573](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/127573)
22
+ [`ec71eb1c2d1c8`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/ec71eb1c2d1c8) -
23
+ adds an undefined window check to the renderer
24
+
3
25
  ## 109.45.1
4
26
 
5
27
  ### Patch Changes
@@ -14,7 +14,7 @@ var _analytics = require("@atlaskit/editor-common/analytics");
14
14
  var _events = require("./analytics/events");
15
15
  var _unsupportedContent = require("./analytics/unsupported-content");
16
16
  var _transforms = require("@atlaskit/adf-utils/transforms");
17
- var SUPPORTS_HIRES_TIMER_API = !!(window.performance && performance.now);
17
+ var SUPPORTS_HIRES_TIMER_API = !!(typeof window !== 'undefined' && window.performance && performance.now);
18
18
  var withStopwatch = function withStopwatch(cb) {
19
19
  var startTime = SUPPORTS_HIRES_TIMER_API ? performance.now() : Date.now();
20
20
  var output = cb();
@@ -60,7 +60,7 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
60
60
  var NORMAL_SEVERITY_THRESHOLD = exports.NORMAL_SEVERITY_THRESHOLD = 2000;
61
61
  var DEGRADED_SEVERITY_THRESHOLD = exports.DEGRADED_SEVERITY_THRESHOLD = 3000;
62
62
  var packageName = "@atlaskit/renderer";
63
- var packageVersion = "109.45.1";
63
+ var packageVersion = "109.46.0";
64
64
  var defaultNodeComponents = exports.defaultNodeComponents = _nodes.nodeToReact;
65
65
  var Renderer = exports.Renderer = /*#__PURE__*/function (_PureComponent) {
66
66
  (0, _inherits2.default)(Renderer, _PureComponent);
@@ -6,7 +6,7 @@ import { ACTION, ACTION_SUBJECT, EVENT_TYPE } from '@atlaskit/editor-common/anal
6
6
  import { PLATFORM } from './analytics/events';
7
7
  import { trackUnsupportedContentLevels } from './analytics/unsupported-content';
8
8
  import { transformMediaLinkMarks } from '@atlaskit/adf-utils/transforms';
9
- const SUPPORTS_HIRES_TIMER_API = !!(window.performance && performance.now);
9
+ const SUPPORTS_HIRES_TIMER_API = !!(typeof window !== 'undefined' && window.performance && performance.now);
10
10
  const withStopwatch = cb => {
11
11
  const startTime = SUPPORTS_HIRES_TIMER_API ? performance.now() : Date.now();
12
12
  const output = cb();
@@ -42,7 +42,7 @@ import { nodeToReact } from '../../react/nodes';
42
42
  export const NORMAL_SEVERITY_THRESHOLD = 2000;
43
43
  export const DEGRADED_SEVERITY_THRESHOLD = 3000;
44
44
  const packageName = "@atlaskit/renderer";
45
- const packageVersion = "109.45.1";
45
+ const packageVersion = "109.46.0";
46
46
  export const defaultNodeComponents = nodeToReact;
47
47
  export class Renderer extends PureComponent {
48
48
  constructor(props) {
@@ -7,7 +7,7 @@ import { ACTION, ACTION_SUBJECT, EVENT_TYPE } from '@atlaskit/editor-common/anal
7
7
  import { PLATFORM } from './analytics/events';
8
8
  import { trackUnsupportedContentLevels } from './analytics/unsupported-content';
9
9
  import { transformMediaLinkMarks } from '@atlaskit/adf-utils/transforms';
10
- var SUPPORTS_HIRES_TIMER_API = !!(window.performance && performance.now);
10
+ var SUPPORTS_HIRES_TIMER_API = !!(typeof window !== 'undefined' && window.performance && performance.now);
11
11
  var withStopwatch = function withStopwatch(cb) {
12
12
  var startTime = SUPPORTS_HIRES_TIMER_API ? performance.now() : Date.now();
13
13
  var output = cb();
@@ -52,7 +52,7 @@ import { nodeToReact } from '../../react/nodes';
52
52
  export var NORMAL_SEVERITY_THRESHOLD = 2000;
53
53
  export var DEGRADED_SEVERITY_THRESHOLD = 3000;
54
54
  var packageName = "@atlaskit/renderer";
55
- var packageVersion = "109.45.1";
55
+ var packageVersion = "109.46.0";
56
56
  export var defaultNodeComponents = nodeToReact;
57
57
  export var Renderer = /*#__PURE__*/function (_PureComponent) {
58
58
  _inherits(Renderer, _PureComponent);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/renderer",
3
- "version": "109.45.1",
3
+ "version": "109.46.0",
4
4
  "description": "Renderer component",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -24,22 +24,22 @@
24
24
  "runReact18": true
25
25
  },
26
26
  "dependencies": {
27
- "@atlaskit/adf-schema": "^40.3.0",
28
- "@atlaskit/adf-utils": "^19.6.0",
27
+ "@atlaskit/adf-schema": "^40.8.1",
28
+ "@atlaskit/adf-utils": "^19.7.0",
29
29
  "@atlaskit/analytics-listeners": "^8.10.0",
30
30
  "@atlaskit/analytics-namespaced-context": "^6.10.0",
31
31
  "@atlaskit/analytics-next": "^10.0.0",
32
32
  "@atlaskit/button": "^19.1.0",
33
33
  "@atlaskit/code": "^15.4.0",
34
- "@atlaskit/editor-common": "^87.4.0",
35
- "@atlaskit/editor-json-transformer": "^8.17.0",
34
+ "@atlaskit/editor-common": "^87.6.0",
35
+ "@atlaskit/editor-json-transformer": "^8.18.0",
36
36
  "@atlaskit/editor-palette": "1.6.0",
37
37
  "@atlaskit/editor-prosemirror": "5.0.1",
38
38
  "@atlaskit/editor-shared-styles": "^2.13.0",
39
39
  "@atlaskit/emoji": "^67.7.0",
40
40
  "@atlaskit/feature-gate-js-client": "^4.18.0",
41
- "@atlaskit/icon": "^22.10.0",
42
- "@atlaskit/link-datasource": "^2.9.0",
41
+ "@atlaskit/icon": "^22.11.0",
42
+ "@atlaskit/link-datasource": "^2.10.0",
43
43
  "@atlaskit/media-card": "^78.0.0",
44
44
  "@atlaskit/media-client": "^27.3.0",
45
45
  "@atlaskit/media-client-react": "^2.0.0",
@@ -53,7 +53,7 @@
53
53
  "@atlaskit/task-decision": "^17.10.0",
54
54
  "@atlaskit/theme": "^12.11.0",
55
55
  "@atlaskit/tokens": "^1.57.0",
56
- "@atlaskit/tooltip": "^18.5.0",
56
+ "@atlaskit/tooltip": "^18.6.0",
57
57
  "@babel/runtime": "^7.0.0",
58
58
  "@emotion/react": "^11.7.1",
59
59
  "lodash": "^4.17.21",
@@ -73,9 +73,9 @@
73
73
  "@af/visual-regression": "*",
74
74
  "@atlaskit/analytics-gas-types": "^5.1.0",
75
75
  "@atlaskit/css-reset": "^6.9.0",
76
- "@atlaskit/editor-test-helpers": "^18.29.0",
76
+ "@atlaskit/editor-test-helpers": "^18.30.0",
77
77
  "@atlaskit/link-provider": "^1.14.0",
78
- "@atlaskit/link-test-helpers": "^7.2.0",
78
+ "@atlaskit/link-test-helpers": "^7.3.0",
79
79
  "@atlaskit/linking-common": "^5.9.0",
80
80
  "@atlaskit/media-core": "^34.2.0",
81
81
  "@atlaskit/media-integration-test-helpers": "^3.0.0",