@atlaskit/tmp-editor-statsig 15.10.0 → 15.11.0

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,18 @@
1
1
  # @atlaskit/editor-statsig-tmp
2
2
 
3
+ ## 15.11.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`810632761780a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/810632761780a) -
8
+ EDITOR-3937 Cleanup usage of confluence_content_mode_replace_dense_with_compact from the frontend
9
+ as this is now only needed in the Confluence backend
10
+
11
+ ### Patch Changes
12
+
13
+ - [`d0cc21488265c`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/d0cc21488265c) -
14
+ NO-ISSUE: Fix undefined typeof check for process
15
+
3
16
  ## 15.10.0
4
17
 
5
18
  ### Minor Changes
@@ -20,7 +20,6 @@ var testMultivariateOverrides = exports.testMultivariateOverrides = {
20
20
  platform_hover_card_preview_panel_modal: 'control',
21
21
  smart_link_confluence_short_link_analytics: 'control',
22
22
  platform_inline_smartcard_connect_button_exp: 'control',
23
- confluence_content_mode_replace_dense_with_compact: 'control',
24
23
  cc_editor_insm_outlier_events: 'test',
25
24
  platform_editor_hoverlink_ui_fixes_exp: 'control',
26
25
  platform_editor_table_sticky_header_improvements: 'control',
@@ -994,15 +994,6 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
994
994
  param: 'isEnabled',
995
995
  defaultValue: false
996
996
  }),
997
- // Added 2025-10-17
998
- confluence_content_mode_replace_dense_with_compact: (0, _experimentBuilders.createMultivariateExperiment)({
999
- productKeys: {
1000
- confluence: 'confluence_content_mode_replace_dense_with_compact'
1001
- },
1002
- param: 'cohort',
1003
- values: ['control', 'test'],
1004
- defaultValue: 'control'
1005
- }),
1006
997
  // Added 2025-10-01
1007
998
  platform_inline_smartcard_connect_button_exp: (0, _experimentBuilders.createMultivariateExperiment)({
1008
999
  productKeys: {
@@ -1,12 +1,10 @@
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.isBoolean = isBoolean;
8
7
  exports.oneOf = oneOf;
9
- var _typeof2 = _interopRequireDefault(require("@babel/runtime/helpers/typeof"));
10
8
  var _process, _process2;
11
9
  function isBoolean(value) {
12
10
  return typeof value === 'boolean';
@@ -26,4 +24,4 @@ function oneOf(values) {
26
24
 
27
25
  // @ts-ignore
28
26
 
29
- var IS_TESTING_ENV = (typeof process === "undefined" ? "undefined" : (0, _typeof2.default)(process)) !== undefined && (((_process = process) === null || _process === void 0 || (_process = _process.env) === null || _process === void 0 ? void 0 : _process.NODE_ENV) === 'test' || ((_process2 = process) === null || _process2 === void 0 || (_process2 = _process2.env) === null || _process2 === void 0 ? void 0 : _process2.JEST_WORKER_ID) !== undefined);
27
+ var IS_TESTING_ENV = typeof process !== 'undefined' && (((_process = process) === null || _process === void 0 || (_process = _process.env) === null || _process === void 0 ? void 0 : _process.NODE_ENV) === 'test' || ((_process2 = process) === null || _process2 === void 0 || (_process2 = _process2.env) === null || _process2 === void 0 ? void 0 : _process2.JEST_WORKER_ID) !== undefined);
@@ -14,7 +14,6 @@ export const testMultivariateOverrides = {
14
14
  platform_hover_card_preview_panel_modal: 'control',
15
15
  smart_link_confluence_short_link_analytics: 'control',
16
16
  platform_inline_smartcard_connect_button_exp: 'control',
17
- confluence_content_mode_replace_dense_with_compact: 'control',
18
17
  cc_editor_insm_outlier_events: 'test',
19
18
  platform_editor_hoverlink_ui_fixes_exp: 'control',
20
19
  platform_editor_table_sticky_header_improvements: 'control',
@@ -988,15 +988,6 @@ export const editorExperimentsConfig = {
988
988
  param: 'isEnabled',
989
989
  defaultValue: false
990
990
  }),
991
- // Added 2025-10-17
992
- confluence_content_mode_replace_dense_with_compact: createMultivariateExperiment({
993
- productKeys: {
994
- confluence: 'confluence_content_mode_replace_dense_with_compact'
995
- },
996
- param: 'cohort',
997
- values: ['control', 'test'],
998
- defaultValue: 'control'
999
- }),
1000
991
  // Added 2025-10-01
1001
992
  platform_inline_smartcard_connect_button_exp: createMultivariateExperiment({
1002
993
  productKeys: {
@@ -17,4 +17,4 @@ export function oneOf(values) {
17
17
 
18
18
  // @ts-ignore
19
19
 
20
- const IS_TESTING_ENV = typeof process !== undefined && (((_process = process) === null || _process === void 0 ? void 0 : (_process$env = _process.env) === null || _process$env === void 0 ? void 0 : _process$env.NODE_ENV) === 'test' || ((_process2 = process) === null || _process2 === void 0 ? void 0 : (_process2$env = _process2.env) === null || _process2$env === void 0 ? void 0 : _process2$env.JEST_WORKER_ID) !== undefined);
20
+ const IS_TESTING_ENV = typeof process !== 'undefined' && (((_process = process) === null || _process === void 0 ? void 0 : (_process$env = _process.env) === null || _process$env === void 0 ? void 0 : _process$env.NODE_ENV) === 'test' || ((_process2 = process) === null || _process2 === void 0 ? void 0 : (_process2$env = _process2.env) === null || _process2$env === void 0 ? void 0 : _process2$env.JEST_WORKER_ID) !== undefined);
@@ -14,7 +14,6 @@ export var testMultivariateOverrides = {
14
14
  platform_hover_card_preview_panel_modal: 'control',
15
15
  smart_link_confluence_short_link_analytics: 'control',
16
16
  platform_inline_smartcard_connect_button_exp: 'control',
17
- confluence_content_mode_replace_dense_with_compact: 'control',
18
17
  cc_editor_insm_outlier_events: 'test',
19
18
  platform_editor_hoverlink_ui_fixes_exp: 'control',
20
19
  platform_editor_table_sticky_header_improvements: 'control',
@@ -988,15 +988,6 @@ export var editorExperimentsConfig = {
988
988
  param: 'isEnabled',
989
989
  defaultValue: false
990
990
  }),
991
- // Added 2025-10-17
992
- confluence_content_mode_replace_dense_with_compact: createMultivariateExperiment({
993
- productKeys: {
994
- confluence: 'confluence_content_mode_replace_dense_with_compact'
995
- },
996
- param: 'cohort',
997
- values: ['control', 'test'],
998
- defaultValue: 'control'
999
- }),
1000
991
  // Added 2025-10-01
1001
992
  platform_inline_smartcard_connect_button_exp: createMultivariateExperiment({
1002
993
  productKeys: {
@@ -1,4 +1,3 @@
1
- import _typeof from "@babel/runtime/helpers/typeof";
2
1
  var _process, _process2;
3
2
  export function isBoolean(value) {
4
3
  return typeof value === 'boolean';
@@ -18,4 +17,4 @@ export function oneOf(values) {
18
17
 
19
18
  // @ts-ignore
20
19
 
21
- var IS_TESTING_ENV = (typeof process === "undefined" ? "undefined" : _typeof(process)) !== undefined && (((_process = process) === null || _process === void 0 || (_process = _process.env) === null || _process === void 0 ? void 0 : _process.NODE_ENV) === 'test' || ((_process2 = process) === null || _process2 === void 0 || (_process2 = _process2.env) === null || _process2 === void 0 ? void 0 : _process2.JEST_WORKER_ID) !== undefined);
20
+ var IS_TESTING_ENV = typeof process !== 'undefined' && (((_process = process) === null || _process === void 0 || (_process = _process.env) === null || _process === void 0 ? void 0 : _process.NODE_ENV) === 'test' || ((_process2 = process) === null || _process2 === void 0 || (_process2 = _process2.env) === null || _process2 === void 0 ? void 0 : _process2.JEST_WORKER_ID) !== undefined);
@@ -106,13 +106,6 @@ export declare const editorExperimentsConfig: {
106
106
  productKeys?: ProductKeys;
107
107
  typeGuard: IsBooleanType;
108
108
  };
109
- confluence_content_mode_replace_dense_with_compact: {
110
- defaultValue: 'control' | 'test';
111
- param: string;
112
- productKeys?: ProductKeys;
113
- typeGuard: (value: unknown) => value is 'control' | 'test';
114
- values: ('control' | 'test')[];
115
- };
116
109
  confluence_whiteboards_quick_insert: {
117
110
  defaultValue: 'control' | 'test_blank' | 'test_diagram';
118
111
  param: string;
@@ -106,13 +106,6 @@ export declare const editorExperimentsConfig: {
106
106
  productKeys?: ProductKeys;
107
107
  typeGuard: IsBooleanType;
108
108
  };
109
- confluence_content_mode_replace_dense_with_compact: {
110
- defaultValue: 'control' | 'test';
111
- param: string;
112
- productKeys?: ProductKeys;
113
- typeGuard: (value: unknown) => value is 'control' | 'test';
114
- values: ('control' | 'test')[];
115
- };
116
109
  confluence_whiteboards_quick_insert: {
117
110
  defaultValue: 'control' | 'test_blank' | 'test_diagram';
118
111
  param: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/tmp-editor-statsig",
3
- "version": "15.10.0",
3
+ "version": "15.11.0",
4
4
  "description": "Temp plugin to ease use of statsig feature flags until platform feature flags are available",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -34,7 +34,7 @@
34
34
  "atlaskit:src": "src/index.ts",
35
35
  "dependencies": {
36
36
  "@atlaskit/feature-gate-js-client": "^5.5.0",
37
- "@atlaskit/react-ufo": "^4.15.0",
37
+ "@atlaskit/react-ufo": "^4.16.0",
38
38
  "@babel/runtime": "^7.0.0"
39
39
  },
40
40
  "peerDependencies": {