@atlaskit/editor-common 116.33.2 → 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 CHANGED
@@ -1,5 +1,13 @@
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
+
3
11
  ## 116.33.2
4
12
 
5
13
  ### 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.1";
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.1";
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 = (0, _expValEquals.expValEquals)('platform_editor_show_diff_fix_missing_attrs', 'isEnabled', true) ? _objectSpread({}, node2.attrs) : node2.attrs;
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.1";
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.1";
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 = expValEquals('platform_editor_show_diff_fix_missing_attrs', 'isEnabled', true) ? {
133
+ const attrsToCompare = {
135
134
  ...node2.attrs
136
- } : node2.attrs;
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.1";
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.1";
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 = expValEquals('platform_editor_show_diff_fix_missing_attrs', 'isEnabled', true) ? _objectSpread({}, node2.attrs) : node2.attrs;
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.2",
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.11.0",
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": "^128.0.0",
84
- "@atlaskit/tokens": "^16.0.0",
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",