@atlaskit/react-ufo 3.9.4 → 3.9.5

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/ufo-interaction-ignore
2
2
 
3
+ ## 3.9.5
4
+
5
+ ### Patch Changes
6
+
7
+ - [#149485](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/149485)
8
+ [`e496da2bdb127`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/e496da2bdb127) -
9
+ AFO-3615 cleanup fg platform_ufo_log_attr_mutation_values
10
+
3
11
  ## 3.9.4
4
12
 
5
13
  ### Patch Changes
@@ -8,7 +8,6 @@ exports.Observers = void 0;
8
8
  var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
9
9
  var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
10
10
  var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
11
- var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
12
11
  var _vcUtils = require("../media-wrapper/vc-utils");
13
12
  var _isNonVisualStyleMutation = _interopRequireDefault(require("./non-visual-styles/is-non-visual-style-mutation"));
14
13
  var _ssrPlaceholders = require("./ssr-placeholders");
@@ -60,22 +59,14 @@ var Observers = exports.Observers = /*#__PURE__*/function () {
60
59
  var oldValue = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : null;
61
60
  var newValue = arguments.length > 6 && arguments[6] !== undefined ? arguments[6] : null;
62
61
  (_this$intersectionObs = _this.intersectionObserver) === null || _this$intersectionObs === void 0 || _this$intersectionObs.observe(node);
63
- if ((0, _platformFeatureFlags.fg)('platform_ufo_log_attr_mutation_values')) {
64
- _this.observedMutations.set(node, {
65
- mutation: mutation,
66
- ignoreReason: ignoreReason,
67
- type: type,
68
- attributeName: attributeName,
69
- oldValue: oldValue,
70
- newValue: newValue
71
- });
72
- } else {
73
- _this.observedMutations.set(node, {
74
- mutation: mutation,
75
- ignoreReason: ignoreReason,
76
- type: type
77
- });
78
- }
62
+ _this.observedMutations.set(node, {
63
+ mutation: mutation,
64
+ ignoreReason: ignoreReason,
65
+ type: type,
66
+ attributeName: attributeName,
67
+ oldValue: oldValue,
68
+ newValue: newValue
69
+ });
79
70
  });
80
71
  this.selectorConfig = _objectSpread(_objectSpread({}, this.selectorConfig), opts.selectorConfig);
81
72
  this.intersectionObserver = this.getIntersectionObserver();
@@ -1,5 +1,4 @@
1
1
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
- import { fg } from '@atlaskit/platform-feature-flags';
3
2
  import { isContainedWithinMediaWrapper } from '../media-wrapper/vc-utils';
4
3
  import isNonVisualStyleMutation from './non-visual-styles/is-non-visual-style-mutation';
5
4
  import { SSRPlaceholderHandlers } from './ssr-placeholders';
@@ -45,22 +44,14 @@ export class Observers {
45
44
  _defineProperty(this, "observeElement", (node, mutation, type, ignoreReason, attributeName, oldValue = null, newValue = null) => {
46
45
  var _this$intersectionObs;
47
46
  (_this$intersectionObs = this.intersectionObserver) === null || _this$intersectionObs === void 0 ? void 0 : _this$intersectionObs.observe(node);
48
- if (fg('platform_ufo_log_attr_mutation_values')) {
49
- this.observedMutations.set(node, {
50
- mutation,
51
- ignoreReason,
52
- type,
53
- attributeName,
54
- oldValue,
55
- newValue
56
- });
57
- } else {
58
- this.observedMutations.set(node, {
59
- mutation,
60
- ignoreReason,
61
- type
62
- });
63
- }
47
+ this.observedMutations.set(node, {
48
+ mutation,
49
+ ignoreReason,
50
+ type,
51
+ attributeName,
52
+ oldValue,
53
+ newValue
54
+ });
64
55
  });
65
56
  this.selectorConfig = {
66
57
  ...this.selectorConfig,
@@ -3,7 +3,6 @@ import _createClass from "@babel/runtime/helpers/createClass";
3
3
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
4
4
  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; }
5
5
  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; }
6
- import { fg } from '@atlaskit/platform-feature-flags';
7
6
  import { isContainedWithinMediaWrapper } from '../media-wrapper/vc-utils';
8
7
  import isNonVisualStyleMutation from './non-visual-styles/is-non-visual-style-mutation';
9
8
  import { SSRPlaceholderHandlers } from './ssr-placeholders';
@@ -53,22 +52,14 @@ export var Observers = /*#__PURE__*/function () {
53
52
  var oldValue = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : null;
54
53
  var newValue = arguments.length > 6 && arguments[6] !== undefined ? arguments[6] : null;
55
54
  (_this$intersectionObs = _this.intersectionObserver) === null || _this$intersectionObs === void 0 || _this$intersectionObs.observe(node);
56
- if (fg('platform_ufo_log_attr_mutation_values')) {
57
- _this.observedMutations.set(node, {
58
- mutation: mutation,
59
- ignoreReason: ignoreReason,
60
- type: type,
61
- attributeName: attributeName,
62
- oldValue: oldValue,
63
- newValue: newValue
64
- });
65
- } else {
66
- _this.observedMutations.set(node, {
67
- mutation: mutation,
68
- ignoreReason: ignoreReason,
69
- type: type
70
- });
71
- }
55
+ _this.observedMutations.set(node, {
56
+ mutation: mutation,
57
+ ignoreReason: ignoreReason,
58
+ type: type,
59
+ attributeName: attributeName,
60
+ oldValue: oldValue,
61
+ newValue: newValue
62
+ });
72
63
  });
73
64
  this.selectorConfig = _objectSpread(_objectSpread({}, this.selectorConfig), opts.selectorConfig);
74
65
  this.intersectionObserver = this.getIntersectionObserver();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/react-ufo",
3
- "version": "3.9.4",
3
+ "version": "3.9.5",
4
4
  "description": "Parts of React UFO that are publicly available",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -154,9 +154,6 @@
154
154
  "platform_ufo_assets_check_for_nan": {
155
155
  "type": "boolean"
156
156
  },
157
- "platform_ufo_log_attr_mutation_values": {
158
- "type": "boolean"
159
- },
160
157
  "platform_ufo_enable_events_observer": {
161
158
  "type": "boolean"
162
159
  }