@atlaskit/editor-common 120.13.0 → 120.13.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 +45 -0
- package/dist/cjs/ai-messages/ai-suggestions.js +1 -1
- package/dist/cjs/monitoring/error.js +5 -6
- package/dist/cjs/react-node-view/generateUniqueNodeKey.js +2 -3
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/cjs/utils/performance/hooks/use-component-render-tracking/index.js +2 -3
- package/dist/es2019/ai-messages/ai-suggestions.js +1 -1
- package/dist/es2019/monitoring/error.js +5 -6
- package/dist/es2019/react-node-view/generateUniqueNodeKey.js +1 -1
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/es2019/utils/performance/hooks/use-component-render-tracking/index.js +1 -1
- package/dist/esm/ai-messages/ai-suggestions.js +1 -1
- package/dist/esm/monitoring/error.js +5 -6
- package/dist/esm/react-node-view/generateUniqueNodeKey.js +1 -1
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/esm/utils/performance/hooks/use-component-render-tracking/index.js +1 -1
- package/dist/types/ai-messages/ai-suggestions.d.ts +4 -0
- package/package.json +4 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,50 @@
|
|
|
1
1
|
# @atlaskit/editor-common
|
|
2
2
|
|
|
3
|
+
## 120.13.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`0927c3666c010`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/0927c3666c010) -
|
|
8
|
+
Upgrade `uuid` from `3.x` to `11.1.1` to remediate GHSA-w5hq-g745-h8pq / SNYK-JS-UUID-16133035.
|
|
9
|
+
|
|
10
|
+
`uuid@11` removed the deep subpath exports (`uuid/v4`, `uuid/v1`, `uuid/v5`) and the default
|
|
11
|
+
export, so all internal call sites were migrated to named imports:
|
|
12
|
+
|
|
13
|
+
```diff
|
|
14
|
+
-import uuid from 'uuid/v4';
|
|
15
|
+
+import { v4 as uuid } from 'uuid';
|
|
16
|
+
|
|
17
|
+
-import uuid from 'uuid';
|
|
18
|
+
+import { v4 as uuid } from 'uuid';
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
With the exception of `@atlassian/integrations` (below), this is an internal implementation change
|
|
22
|
+
only - no public API, export, or entrypoint changed. UUID generation behaviour is unchanged
|
|
23
|
+
(`uuid@3`'s default export was already `v4`).
|
|
24
|
+
|
|
25
|
+
`@atlassian/integrations` declares `uuid` as a peer dependency, so its declared range moved from
|
|
26
|
+
`^3.1.0` to `^11.1.1`. That is a peer dependency declaration change, hence `minor` rather than
|
|
27
|
+
`patch` for that package.
|
|
28
|
+
|
|
29
|
+
The following `platform/packages/ai-mate` packages were also touched, but are all `private: true`
|
|
30
|
+
and so are intentionally not listed in the frontmatter above:
|
|
31
|
+
- `@atlassian/csm-assistance-service` - bumped its explicit `uuid` dependency from `npm:^9.0.0` to
|
|
32
|
+
`npm:^11.1.1` (`9.0.1` is also within the advisory's affected range).
|
|
33
|
+
- `@atlassian/csm-guidance-config` - example helper only, migrated to the named `uuid` import.
|
|
34
|
+
- `@atlassian/csm-ui-components` - example helper only, migrated to the named `uuid` import.
|
|
35
|
+
|
|
36
|
+
- Updated dependencies
|
|
37
|
+
|
|
38
|
+
## 120.13.1
|
|
39
|
+
|
|
40
|
+
### Patch Changes
|
|
41
|
+
|
|
42
|
+
- [`c744811e22b13`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/c744811e22b13) -
|
|
43
|
+
Clean up feature gate `platform_editor_sentry_breadcrumbs`
|
|
44
|
+
- [`6bcbe7ce95706`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/6bcbe7ce95706) -
|
|
45
|
+
Deprecate cardRovoTitle after removing the visible Rovo label from suggestion cards.
|
|
46
|
+
- Updated dependencies
|
|
47
|
+
|
|
3
48
|
## 120.13.0
|
|
4
49
|
|
|
5
50
|
### Minor Changes
|
|
@@ -139,7 +139,7 @@ var aiSuggestionsMessages = exports.aiSuggestionsMessages = (0, _reactIntl.defin
|
|
|
139
139
|
cardRovoTitle: {
|
|
140
140
|
id: 'fabric.editor.ai.suggestions.card.rovoTitle.non-final',
|
|
141
141
|
defaultMessage: 'Rovo',
|
|
142
|
-
description: '
|
|
142
|
+
description: 'Deprecated title for Rovo branding on the AI suggestions card'
|
|
143
143
|
},
|
|
144
144
|
cardPrivateLabel: {
|
|
145
145
|
id: 'fabric.editor.ai.suggestions.card.privateLabel.non-final',
|
|
@@ -11,7 +11,6 @@ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/de
|
|
|
11
11
|
var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray"));
|
|
12
12
|
var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
|
|
13
13
|
var _browser = require("@sentry/browser");
|
|
14
|
-
var _fg = require("@atlaskit/platform-feature-flags/fg");
|
|
15
14
|
var _environment = require("./environment");
|
|
16
15
|
var _normaliseSentryBreadcrumbs = require("./normalise-sentry-breadcrumbs");
|
|
17
16
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
@@ -28,7 +27,7 @@ var NETWORK_FAILURE_REGEX = /^network failure/i;
|
|
|
28
27
|
var RESIZE_OBSERVER_LOOP_REGEX = /ResizeObserver loop completed with undelivered notifications/;
|
|
29
28
|
var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
30
29
|
var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
31
|
-
var packageVersion = "120.
|
|
30
|
+
var packageVersion = "120.13.1";
|
|
32
31
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
33
32
|
// Remove URL as it has UGC
|
|
34
33
|
// Ignored via go/ees007
|
|
@@ -68,7 +67,7 @@ var logException = exports.logException = /*#__PURE__*/function () {
|
|
|
68
67
|
case 3:
|
|
69
68
|
_yield$import2 = _context.sent;
|
|
70
69
|
ExtraErrorData = _yield$import2.ExtraErrorData;
|
|
71
|
-
breadcrumbsIntegration =
|
|
70
|
+
breadcrumbsIntegration = new _browser.Integrations.Breadcrumbs({
|
|
72
71
|
// only enable breadcrumbs for dom (UI clicks and inputs)
|
|
73
72
|
// include 'data-test-id', 'data-testid' in the breadcrumbs if they are found
|
|
74
73
|
dom: {
|
|
@@ -79,12 +78,12 @@ var logException = exports.logException = /*#__PURE__*/function () {
|
|
|
79
78
|
console: false,
|
|
80
79
|
history: false,
|
|
81
80
|
sentry: false
|
|
82
|
-
})
|
|
81
|
+
});
|
|
83
82
|
sentryOptions = {
|
|
84
83
|
dsn: (0, _environment.isFedRamp)() ? undefined : SENTRY_DSN,
|
|
85
84
|
release: "".concat(packageName, "@").concat(packageVersion),
|
|
86
85
|
environment: (_process$env$CLOUD_EN = process.env.CLOUD_ENV) !== null && _process$env$CLOUD_EN !== void 0 ? _process$env$CLOUD_EN : 'unknown',
|
|
87
|
-
beforeBreadcrumb:
|
|
86
|
+
beforeBreadcrumb: _normaliseSentryBreadcrumbs.normaliseSentryBreadcrumbs,
|
|
88
87
|
ignoreErrors: [
|
|
89
88
|
// Network issues
|
|
90
89
|
NETWORK_ERROR_REGEX, NETWORK_FAILURE_REGEX, 'TypeError: Failed to fetch',
|
|
@@ -95,7 +94,7 @@ var logException = exports.logException = /*#__PURE__*/function () {
|
|
|
95
94
|
return [].concat((0, _toConsumableArray2.default)(defaultIntegrations.filter(function (_ref2) {
|
|
96
95
|
var name = _ref2.name;
|
|
97
96
|
return name !== 'Breadcrumbs';
|
|
98
|
-
})),
|
|
97
|
+
})), [breadcrumbsIntegration,
|
|
99
98
|
// Extracts all non-native attributes from the error object and attaches them to the event as the extra data
|
|
100
99
|
// https://docs.sentry.io/platforms/javascript/configuration/integrations/plugin/?original_referrer=https%3A%2F%2Fduckduckgo.com%2F#extraerrordata
|
|
101
100
|
new ExtraErrorData()]);
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
3
|
Object.defineProperty(exports, "__esModule", {
|
|
5
4
|
value: true
|
|
6
5
|
});
|
|
7
6
|
exports.generateUniqueNodeKey = void 0;
|
|
8
|
-
var
|
|
7
|
+
var _uuid = require("uuid");
|
|
9
8
|
// eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
|
|
10
9
|
|
|
11
10
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
12
11
|
var generateUniqueNodeKey = exports.generateUniqueNodeKey = function generateUniqueNodeKey() {
|
|
13
12
|
// eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
|
|
14
|
-
return (0,
|
|
13
|
+
return (0, _uuid.v4)();
|
|
15
14
|
};
|
|
@@ -24,7 +24,7 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
|
|
|
24
24
|
* @jsx jsx
|
|
25
25
|
*/ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
26
26
|
var packageName = "@atlaskit/editor-common";
|
|
27
|
-
var packageVersion = "120.
|
|
27
|
+
var packageVersion = "120.13.1";
|
|
28
28
|
var halfFocusRing = 1;
|
|
29
29
|
var dropOffset = '0, 8';
|
|
30
30
|
var fadeIn = (0, _react2.keyframes)({
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
3
|
Object.defineProperty(exports, "__esModule", {
|
|
5
4
|
value: true
|
|
6
5
|
});
|
|
7
6
|
exports.useComponentRenderTracking = useComponentRenderTracking;
|
|
8
7
|
var _react = require("react");
|
|
9
|
-
var
|
|
8
|
+
var _uuid = require("uuid");
|
|
10
9
|
var _compareProps = require("../../../compare-props");
|
|
11
10
|
// eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
|
|
12
11
|
|
|
@@ -18,7 +17,7 @@ function useComponentRenderTracking(_ref) {
|
|
|
18
17
|
var propsRef = (0, _react.useRef)();
|
|
19
18
|
var renderCountRef = (0, _react.useRef)(zeroBasedCount ? 0 : 1);
|
|
20
19
|
// eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
|
|
21
|
-
var _useRef = (0, _react.useRef)((0,
|
|
20
|
+
var _useRef = (0, _react.useRef)((0, _uuid.v4)()),
|
|
22
21
|
componentId = _useRef.current;
|
|
23
22
|
(0, _react.useEffect)(function () {
|
|
24
23
|
var lastProps = propsRef.current;
|
|
@@ -133,7 +133,7 @@ export const aiSuggestionsMessages = defineMessages({
|
|
|
133
133
|
cardRovoTitle: {
|
|
134
134
|
id: 'fabric.editor.ai.suggestions.card.rovoTitle.non-final',
|
|
135
135
|
defaultMessage: 'Rovo',
|
|
136
|
-
description: '
|
|
136
|
+
description: 'Deprecated title for Rovo branding on the AI suggestions card'
|
|
137
137
|
},
|
|
138
138
|
cardPrivateLabel: {
|
|
139
139
|
id: 'fabric.editor.ai.suggestions.card.privateLabel.non-final',
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { Integrations } from '@sentry/browser';
|
|
2
|
-
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
3
2
|
import { isFedRamp } from './environment';
|
|
4
3
|
import { normaliseSentryBreadcrumbs, SERIALIZABLE_ATTRIBUTES } from './normalise-sentry-breadcrumbs';
|
|
5
4
|
|
|
@@ -14,7 +13,7 @@ const NETWORK_FAILURE_REGEX = /^network failure/i;
|
|
|
14
13
|
const RESIZE_OBSERVER_LOOP_REGEX = /ResizeObserver loop completed with undelivered notifications/;
|
|
15
14
|
const SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
16
15
|
const packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
17
|
-
const packageVersion = "120.
|
|
16
|
+
const packageVersion = "120.13.1";
|
|
18
17
|
const sanitiseSentryEvents = (data, _hint) => {
|
|
19
18
|
// Remove URL as it has UGC
|
|
20
19
|
// Ignored via go/ees007
|
|
@@ -40,7 +39,7 @@ export const logException = async (error, tags) => {
|
|
|
40
39
|
const {
|
|
41
40
|
ExtraErrorData
|
|
42
41
|
} = await import( /* webpackChunkName: "@atlaskit-internal_editor-sentryintegrations" */'@sentry/integrations');
|
|
43
|
-
const breadcrumbsIntegration =
|
|
42
|
+
const breadcrumbsIntegration = new Integrations.Breadcrumbs({
|
|
44
43
|
// only enable breadcrumbs for dom (UI clicks and inputs)
|
|
45
44
|
// include 'data-test-id', 'data-testid' in the breadcrumbs if they are found
|
|
46
45
|
dom: {
|
|
@@ -51,12 +50,12 @@ export const logException = async (error, tags) => {
|
|
|
51
50
|
console: false,
|
|
52
51
|
history: false,
|
|
53
52
|
sentry: false
|
|
54
|
-
})
|
|
53
|
+
});
|
|
55
54
|
const sentryOptions = {
|
|
56
55
|
dsn: isFedRamp() ? undefined : SENTRY_DSN,
|
|
57
56
|
release: `${packageName}@${packageVersion}`,
|
|
58
57
|
environment: (_process$env$CLOUD_EN = process.env.CLOUD_ENV) !== null && _process$env$CLOUD_EN !== void 0 ? _process$env$CLOUD_EN : 'unknown',
|
|
59
|
-
beforeBreadcrumb:
|
|
58
|
+
beforeBreadcrumb: normaliseSentryBreadcrumbs,
|
|
60
59
|
ignoreErrors: [
|
|
61
60
|
// Network issues
|
|
62
61
|
NETWORK_ERROR_REGEX, NETWORK_FAILURE_REGEX, 'TypeError: Failed to fetch',
|
|
@@ -68,7 +67,7 @@ export const logException = async (error, tags) => {
|
|
|
68
67
|
// https://docs.sentry.io/platforms/javascript/configuration/integrations/default/
|
|
69
68
|
...defaultIntegrations.filter(({
|
|
70
69
|
name
|
|
71
|
-
}) => name !== 'Breadcrumbs'),
|
|
70
|
+
}) => name !== 'Breadcrumbs'), breadcrumbsIntegration,
|
|
72
71
|
// Extracts all non-native attributes from the error object and attaches them to the event as the extra data
|
|
73
72
|
// https://docs.sentry.io/platforms/javascript/configuration/integrations/plugin/?original_referrer=https%3A%2F%2Fduckduckgo.com%2F#extraerrordata
|
|
74
73
|
new ExtraErrorData()],
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
|
|
2
|
-
import uuid from 'uuid
|
|
2
|
+
import { v4 as uuid } from 'uuid';
|
|
3
3
|
|
|
4
4
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
5
5
|
export const generateUniqueNodeKey = () => {
|
|
@@ -14,7 +14,7 @@ import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
|
|
|
14
14
|
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
15
15
|
import Layer from '../Layer';
|
|
16
16
|
const packageName = "@atlaskit/editor-common";
|
|
17
|
-
const packageVersion = "120.
|
|
17
|
+
const packageVersion = "120.13.1";
|
|
18
18
|
const halfFocusRing = 1;
|
|
19
19
|
const dropOffset = '0, 8';
|
|
20
20
|
const fadeIn = keyframes({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useEffect, useRef } from 'react';
|
|
2
2
|
|
|
3
3
|
// eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
|
|
4
|
-
import uuidv4 from 'uuid
|
|
4
|
+
import { v4 as uuidv4 } from 'uuid';
|
|
5
5
|
import { getPropsDifference, getShallowPropsDifference } from '../../../compare-props';
|
|
6
6
|
export function useComponentRenderTracking({
|
|
7
7
|
onRender,
|
|
@@ -133,7 +133,7 @@ export var aiSuggestionsMessages = defineMessages({
|
|
|
133
133
|
cardRovoTitle: {
|
|
134
134
|
id: 'fabric.editor.ai.suggestions.card.rovoTitle.non-final',
|
|
135
135
|
defaultMessage: 'Rovo',
|
|
136
|
-
description: '
|
|
136
|
+
description: 'Deprecated title for Rovo branding on the AI suggestions card'
|
|
137
137
|
},
|
|
138
138
|
cardPrivateLabel: {
|
|
139
139
|
id: 'fabric.editor.ai.suggestions.card.privateLabel.non-final',
|
|
@@ -5,7 +5,6 @@ import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
|
5
5
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
6
6
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
7
7
|
import { Integrations } from '@sentry/browser';
|
|
8
|
-
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
9
8
|
import { isFedRamp } from './environment';
|
|
10
9
|
import { normaliseSentryBreadcrumbs, SERIALIZABLE_ATTRIBUTES } from './normalise-sentry-breadcrumbs';
|
|
11
10
|
|
|
@@ -20,7 +19,7 @@ var NETWORK_FAILURE_REGEX = /^network failure/i;
|
|
|
20
19
|
var RESIZE_OBSERVER_LOOP_REGEX = /ResizeObserver loop completed with undelivered notifications/;
|
|
21
20
|
var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
22
21
|
var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
23
|
-
var packageVersion = "120.
|
|
22
|
+
var packageVersion = "120.13.1";
|
|
24
23
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
25
24
|
// Remove URL as it has UGC
|
|
26
25
|
// Ignored via go/ees007
|
|
@@ -56,7 +55,7 @@ export var logException = /*#__PURE__*/function () {
|
|
|
56
55
|
case 3:
|
|
57
56
|
_yield$import2 = _context.sent;
|
|
58
57
|
ExtraErrorData = _yield$import2.ExtraErrorData;
|
|
59
|
-
breadcrumbsIntegration =
|
|
58
|
+
breadcrumbsIntegration = new Integrations.Breadcrumbs({
|
|
60
59
|
// only enable breadcrumbs for dom (UI clicks and inputs)
|
|
61
60
|
// include 'data-test-id', 'data-testid' in the breadcrumbs if they are found
|
|
62
61
|
dom: {
|
|
@@ -67,12 +66,12 @@ export var logException = /*#__PURE__*/function () {
|
|
|
67
66
|
console: false,
|
|
68
67
|
history: false,
|
|
69
68
|
sentry: false
|
|
70
|
-
})
|
|
69
|
+
});
|
|
71
70
|
sentryOptions = {
|
|
72
71
|
dsn: isFedRamp() ? undefined : SENTRY_DSN,
|
|
73
72
|
release: "".concat(packageName, "@").concat(packageVersion),
|
|
74
73
|
environment: (_process$env$CLOUD_EN = process.env.CLOUD_ENV) !== null && _process$env$CLOUD_EN !== void 0 ? _process$env$CLOUD_EN : 'unknown',
|
|
75
|
-
beforeBreadcrumb:
|
|
74
|
+
beforeBreadcrumb: normaliseSentryBreadcrumbs,
|
|
76
75
|
ignoreErrors: [
|
|
77
76
|
// Network issues
|
|
78
77
|
NETWORK_ERROR_REGEX, NETWORK_FAILURE_REGEX, 'TypeError: Failed to fetch',
|
|
@@ -83,7 +82,7 @@ export var logException = /*#__PURE__*/function () {
|
|
|
83
82
|
return [].concat(_toConsumableArray(defaultIntegrations.filter(function (_ref2) {
|
|
84
83
|
var name = _ref2.name;
|
|
85
84
|
return name !== 'Breadcrumbs';
|
|
86
|
-
})),
|
|
85
|
+
})), [breadcrumbsIntegration,
|
|
87
86
|
// Extracts all non-native attributes from the error object and attaches them to the event as the extra data
|
|
88
87
|
// https://docs.sentry.io/platforms/javascript/configuration/integrations/plugin/?original_referrer=https%3A%2F%2Fduckduckgo.com%2F#extraerrordata
|
|
89
88
|
new ExtraErrorData()]);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
|
|
2
|
-
import uuid from 'uuid
|
|
2
|
+
import { v4 as uuid } from 'uuid';
|
|
3
3
|
|
|
4
4
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
5
5
|
export var generateUniqueNodeKey = function generateUniqueNodeKey() {
|
|
@@ -21,7 +21,7 @@ import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
|
|
|
21
21
|
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
22
22
|
import Layer from '../Layer';
|
|
23
23
|
var packageName = "@atlaskit/editor-common";
|
|
24
|
-
var packageVersion = "120.
|
|
24
|
+
var packageVersion = "120.13.1";
|
|
25
25
|
var halfFocusRing = 1;
|
|
26
26
|
var dropOffset = '0, 8';
|
|
27
27
|
var fadeIn = keyframes({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useEffect, useRef } from 'react';
|
|
2
2
|
|
|
3
3
|
// eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
|
|
4
|
-
import uuidv4 from 'uuid
|
|
4
|
+
import { v4 as uuidv4 } from 'uuid';
|
|
5
5
|
import { getPropsDifference, getShallowPropsDifference } from '../../../compare-props';
|
|
6
6
|
export function useComponentRenderTracking(_ref) {
|
|
7
7
|
var onRender = _ref.onRender,
|
|
@@ -84,6 +84,10 @@ export declare const aiSuggestionsMessages: {
|
|
|
84
84
|
description: string;
|
|
85
85
|
id: string;
|
|
86
86
|
};
|
|
87
|
+
/**
|
|
88
|
+
* @private
|
|
89
|
+
* @deprecated The suggestion card no longer displays a Rovo text label.
|
|
90
|
+
*/
|
|
87
91
|
cardRovoTitle: {
|
|
88
92
|
defaultMessage: string;
|
|
89
93
|
description: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-common",
|
|
3
|
-
"version": "120.13.
|
|
3
|
+
"version": "120.13.2",
|
|
4
4
|
"description": "A package that contains common classes and components for editor and renderer",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -56,8 +56,8 @@
|
|
|
56
56
|
"@atlaskit/link": "^5.1.0",
|
|
57
57
|
"@atlaskit/link-datasource": "^6.11.0",
|
|
58
58
|
"@atlaskit/link-picker": "^6.7.0",
|
|
59
|
-
"@atlaskit/media-card": "^81.
|
|
60
|
-
"@atlaskit/media-client": "^37.
|
|
59
|
+
"@atlaskit/media-card": "^81.10.0",
|
|
60
|
+
"@atlaskit/media-client": "^37.7.0",
|
|
61
61
|
"@atlaskit/media-client-react": "^6.4.0",
|
|
62
62
|
"@atlaskit/media-common": "^14.6.0",
|
|
63
63
|
"@atlaskit/media-file-preview": "^1.3.0",
|
|
@@ -114,7 +114,7 @@
|
|
|
114
114
|
"react-loadable": "^5.1.0",
|
|
115
115
|
"react-virtualized": "^9.22.6",
|
|
116
116
|
"rusha": "^0.8.13",
|
|
117
|
-
"uuid": "^
|
|
117
|
+
"uuid": "^11.1.1",
|
|
118
118
|
"w3c-keyname": "^2.1.8"
|
|
119
119
|
},
|
|
120
120
|
"peerDependencies": {
|
|
@@ -220,9 +220,6 @@
|
|
|
220
220
|
"platform_editor_fix_mixed_types_column_sort": {
|
|
221
221
|
"type": "boolean"
|
|
222
222
|
},
|
|
223
|
-
"platform_editor_sentry_breadcrumbs": {
|
|
224
|
-
"type": "boolean"
|
|
225
|
-
},
|
|
226
223
|
"platform_fix_macro_renders_in_layouts": {
|
|
227
224
|
"type": "boolean"
|
|
228
225
|
},
|