@atlaskit/editor-common 116.33.1 → 116.33.3
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 +14 -0
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/cjs/utils/document.js +1 -2
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/es2019/utils/document.js +2 -3
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/esm/utils/document.js +1 -2
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/editor-common
|
|
2
2
|
|
|
3
|
+
## 116.33.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`1be28a8784c5c`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/1be28a8784c5c) -
|
|
8
|
+
Clean up experiment `platform_editor_show_diff_fix_missing_attrs`
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
11
|
+
## 116.33.2
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
|
|
3
17
|
## 116.33.1
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
|
@@ -28,7 +28,7 @@ var NETWORK_FAILURE_REGEX = /^network failure/i;
|
|
|
28
28
|
var RESIZE_OBSERVER_LOOP_REGEX = /ResizeObserver loop completed with undelivered notifications/;
|
|
29
29
|
var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
30
30
|
var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
31
|
-
var packageVersion = "116.33.
|
|
31
|
+
var packageVersion = "116.33.2";
|
|
32
32
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
33
33
|
// Remove URL as it has UGC
|
|
34
34
|
// Ignored via go/ees007
|
|
@@ -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 = "116.33.
|
|
27
|
+
var packageVersion = "116.33.2";
|
|
28
28
|
var halfFocusRing = 1;
|
|
29
29
|
var dropOffset = '0, 8';
|
|
30
30
|
var fadeIn = (0, _react2.keyframes)({
|
|
@@ -41,7 +41,6 @@ Object.defineProperty(exports, "isSelectionEndOfParagraph", {
|
|
|
41
41
|
exports.nodesBetweenChanged = nodesBetweenChanged;
|
|
42
42
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
43
43
|
var _transform = require("@atlaskit/editor-prosemirror/transform");
|
|
44
|
-
var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
|
|
45
44
|
var _getStepRange = require("./getStepRange");
|
|
46
45
|
var _hasDocAsParent = require("./hasDocAsParent");
|
|
47
46
|
var _isEmptyDocument = require("./isEmptyDocument");
|
|
@@ -197,7 +196,7 @@ function areNodesEqualIgnoreAttrs(node1, node2, attributesToIgnore, opts) {
|
|
|
197
196
|
}
|
|
198
197
|
|
|
199
198
|
// Build attrs to compare by excluding ignored attributes
|
|
200
|
-
var attrsToCompare =
|
|
199
|
+
var attrsToCompare = _objectSpread({}, node2.attrs);
|
|
201
200
|
var ignoreSet = new Set(attributesToIgnore);
|
|
202
201
|
for (var key in node2.attrs) {
|
|
203
202
|
if (ignoreSet.has(key)) {
|
|
@@ -14,7 +14,7 @@ const NETWORK_FAILURE_REGEX = /^network failure/i;
|
|
|
14
14
|
const RESIZE_OBSERVER_LOOP_REGEX = /ResizeObserver loop completed with undelivered notifications/;
|
|
15
15
|
const SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
16
16
|
const packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
17
|
-
const packageVersion = "116.33.
|
|
17
|
+
const packageVersion = "116.33.2";
|
|
18
18
|
const sanitiseSentryEvents = (data, _hint) => {
|
|
19
19
|
// Remove URL as it has UGC
|
|
20
20
|
// Ignored via go/ees007
|
|
@@ -14,7 +14,7 @@ import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
|
|
|
14
14
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
15
15
|
import Layer from '../Layer';
|
|
16
16
|
const packageName = "@atlaskit/editor-common";
|
|
17
|
-
const packageVersion = "116.33.
|
|
17
|
+
const packageVersion = "116.33.2";
|
|
18
18
|
const halfFocusRing = 1;
|
|
19
19
|
const dropOffset = '0, 8';
|
|
20
20
|
const fadeIn = keyframes({
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ReplaceStep } from '@atlaskit/editor-prosemirror/transform';
|
|
2
|
-
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
3
2
|
import { getStepRange } from './getStepRange';
|
|
4
3
|
import { hasDocAsParent } from './hasDocAsParent';
|
|
5
4
|
export function bracketTyped(state) {
|
|
@@ -131,9 +130,9 @@ export function areNodesEqualIgnoreAttrs(node1, node2, attributesToIgnore, opts)
|
|
|
131
130
|
}
|
|
132
131
|
|
|
133
132
|
// Build attrs to compare by excluding ignored attributes
|
|
134
|
-
const attrsToCompare =
|
|
133
|
+
const attrsToCompare = {
|
|
135
134
|
...node2.attrs
|
|
136
|
-
}
|
|
135
|
+
};
|
|
137
136
|
const ignoreSet = new Set(attributesToIgnore);
|
|
138
137
|
for (const key in node2.attrs) {
|
|
139
138
|
if (ignoreSet.has(key)) {
|
|
@@ -20,7 +20,7 @@ var NETWORK_FAILURE_REGEX = /^network failure/i;
|
|
|
20
20
|
var RESIZE_OBSERVER_LOOP_REGEX = /ResizeObserver loop completed with undelivered notifications/;
|
|
21
21
|
var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
22
22
|
var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
23
|
-
var packageVersion = "116.33.
|
|
23
|
+
var packageVersion = "116.33.2";
|
|
24
24
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
25
25
|
// Remove URL as it has UGC
|
|
26
26
|
// Ignored via go/ees007
|
|
@@ -21,7 +21,7 @@ import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
|
|
|
21
21
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
22
22
|
import Layer from '../Layer';
|
|
23
23
|
var packageName = "@atlaskit/editor-common";
|
|
24
|
-
var packageVersion = "116.33.
|
|
24
|
+
var packageVersion = "116.33.2";
|
|
25
25
|
var halfFocusRing = 1;
|
|
26
26
|
var dropOffset = '0, 8';
|
|
27
27
|
var fadeIn = keyframes({
|
|
@@ -5,7 +5,6 @@ function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol
|
|
|
5
5
|
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
6
6
|
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
7
7
|
import { ReplaceStep } from '@atlaskit/editor-prosemirror/transform';
|
|
8
|
-
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
9
8
|
import { getStepRange } from './getStepRange';
|
|
10
9
|
import { hasDocAsParent } from './hasDocAsParent';
|
|
11
10
|
export function bracketTyped(state) {
|
|
@@ -153,7 +152,7 @@ export function areNodesEqualIgnoreAttrs(node1, node2, attributesToIgnore, opts)
|
|
|
153
152
|
}
|
|
154
153
|
|
|
155
154
|
// Build attrs to compare by excluding ignored attributes
|
|
156
|
-
var attrsToCompare =
|
|
155
|
+
var attrsToCompare = _objectSpread({}, node2.attrs);
|
|
157
156
|
var ignoreSet = new Set(attributesToIgnore);
|
|
158
157
|
for (var key in node2.attrs) {
|
|
159
158
|
if (ignoreSet.has(key)) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-common",
|
|
3
|
-
"version": "116.33.
|
|
3
|
+
"version": "116.33.3",
|
|
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/"
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
"@atlaskit/platform-feature-flags": "^2.0.0",
|
|
70
70
|
"@atlaskit/platform-feature-flags-react": "^1.1.0",
|
|
71
71
|
"@atlaskit/primitives": "^22.0.0",
|
|
72
|
-
"@atlaskit/profilecard": "^26.
|
|
72
|
+
"@atlaskit/profilecard": "^26.12.0",
|
|
73
73
|
"@atlaskit/prosemirror-history": "^1.0.0",
|
|
74
74
|
"@atlaskit/react-compiler-gating": "^0.2.0",
|
|
75
75
|
"@atlaskit/react-ufo": "^7.3.0",
|
|
@@ -80,8 +80,8 @@
|
|
|
80
80
|
"@atlaskit/task-decision": "^21.4.0",
|
|
81
81
|
"@atlaskit/teams-app-config": "^2.1.0",
|
|
82
82
|
"@atlaskit/textfield": "^9.1.0",
|
|
83
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
84
|
-
"@atlaskit/tokens": "^16.
|
|
83
|
+
"@atlaskit/tmp-editor-statsig": "^129.0.0",
|
|
84
|
+
"@atlaskit/tokens": "^16.1.0",
|
|
85
85
|
"@atlaskit/tooltip": "^23.1.0",
|
|
86
86
|
"@atlaskit/width-detector": "^6.2.0",
|
|
87
87
|
"@babel/runtime": "^7.0.0",
|