@atlaskit/react-ufo 3.4.11 → 3.4.12

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.4.12
4
+
5
+ ### Patch Changes
6
+
7
+ - [#134926](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/134926)
8
+ [`707705f102735`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/707705f102735) -
9
+ clean up platform_ufo_fix_v2_reported_vc90 FG
10
+
3
11
  ## 3.4.11
4
12
 
5
13
  ### Patch Changes
@@ -316,7 +316,7 @@ var getAssetsMetrics = function getAssetsMetrics(interaction, SSRDoneTime) {
316
316
  try {
317
317
  var config = (0, _config.getConfig)();
318
318
  var type = interaction.type;
319
- var allowedTypes = ['page_load', 'transition'];
319
+ var allowedTypes = ['page_load'];
320
320
  var assetsConfig = config === null || config === void 0 ? void 0 : config.assetsConfig;
321
321
  if (!allowedTypes.includes(type) || !assetsConfig) {
322
322
  // Skip if: type not allowed or assetsClassification isn't configured
@@ -61,11 +61,10 @@ function getVCRevisionsData(_ref) {
61
61
  }];
62
62
  })) : {}
63
63
  };
64
- var ttvcV2ReportedMetric = (0, _platformFeatureFlags.fg)('platform_ufo_fix_v2_reported_vc90') ? calculatedVCNext.VC['90'] : calculatedVC.VC['90'];
65
64
  var ttvcV2Revision = {
66
65
  revision: 'fy25.02',
67
66
  clean: isVCClean,
68
- 'metric:vc90': shouldHaveVCmetric ? ttvcV2ReportedMetric : null,
67
+ 'metric:vc90': shouldHaveVCmetric ? calculatedVCNext.VC['90'] : null,
69
68
  vcDetails: shouldHaveVCmetric ? Object.fromEntries(VCParts.map(function (key) {
70
69
  var _calculatedVCNext$VCB;
71
70
  return [key, {
@@ -275,7 +275,7 @@ const getAssetsMetrics = (interaction, SSRDoneTime) => {
275
275
  const {
276
276
  type
277
277
  } = interaction;
278
- const allowedTypes = ['page_load', 'transition'];
278
+ const allowedTypes = ['page_load'];
279
279
  const assetsConfig = config === null || config === void 0 ? void 0 : config.assetsConfig;
280
280
  if (!allowedTypes.includes(type) || !assetsConfig) {
281
281
  // Skip if: type not allowed or assetsClassification isn't configured
@@ -52,11 +52,10 @@ export function getVCRevisionsData({
52
52
  }];
53
53
  })) : {}
54
54
  };
55
- const ttvcV2ReportedMetric = fg('platform_ufo_fix_v2_reported_vc90') ? calculatedVCNext.VC['90'] : calculatedVC.VC['90'];
56
55
  const ttvcV2Revision = {
57
56
  revision: 'fy25.02',
58
57
  clean: isVCClean,
59
- 'metric:vc90': shouldHaveVCmetric ? ttvcV2ReportedMetric : null,
58
+ 'metric:vc90': shouldHaveVCmetric ? calculatedVCNext.VC['90'] : null,
60
59
  vcDetails: shouldHaveVCmetric ? Object.fromEntries(VCParts.map(key => {
61
60
  var _calculatedVCNext$VCB;
62
61
  return [key, {
@@ -305,7 +305,7 @@ var getAssetsMetrics = function getAssetsMetrics(interaction, SSRDoneTime) {
305
305
  try {
306
306
  var config = getConfig();
307
307
  var type = interaction.type;
308
- var allowedTypes = ['page_load', 'transition'];
308
+ var allowedTypes = ['page_load'];
309
309
  var assetsConfig = config === null || config === void 0 ? void 0 : config.assetsConfig;
310
310
  if (!allowedTypes.includes(type) || !assetsConfig) {
311
311
  // Skip if: type not allowed or assetsClassification isn't configured
@@ -54,11 +54,10 @@ export function getVCRevisionsData(_ref) {
54
54
  }];
55
55
  })) : {}
56
56
  };
57
- var ttvcV2ReportedMetric = fg('platform_ufo_fix_v2_reported_vc90') ? calculatedVCNext.VC['90'] : calculatedVC.VC['90'];
58
57
  var ttvcV2Revision = {
59
58
  revision: 'fy25.02',
60
59
  clean: isVCClean,
61
- 'metric:vc90': shouldHaveVCmetric ? ttvcV2ReportedMetric : null,
60
+ 'metric:vc90': shouldHaveVCmetric ? calculatedVCNext.VC['90'] : null,
62
61
  vcDetails: shouldHaveVCmetric ? Object.fromEntries(VCParts.map(function (key) {
63
62
  var _calculatedVCNext$VCB;
64
63
  return [key, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/react-ufo",
3
- "version": "3.4.11",
3
+ "version": "3.4.12",
4
4
  "description": "Parts of React UFO that are publicly available",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -181,9 +181,6 @@
181
181
  "platform_ufo_vc_ignore_same_value_mutation": {
182
182
  "type": "boolean"
183
183
  },
184
- "platform_ufo_fix_v2_reported_vc90": {
185
- "type": "boolean"
186
- },
187
184
  "platform_ufo_disable_ttvc_v1": {
188
185
  "type": "boolean"
189
186
  }