@atlaskit/tmp-editor-statsig 14.5.0 → 14.6.1

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,19 @@
1
1
  # @atlaskit/editor-statsig-tmp
2
2
 
3
+ ## 14.6.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [`ecd66264f7cd2`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/ecd66264f7cd2) -
8
+ NO-ISSUE: Update process.env checks
9
+
10
+ ## 14.6.0
11
+
12
+ ### Minor Changes
13
+
14
+ - [`fdef841890edf`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/fdef841890edf) -
15
+ Add gate for vc fixes
16
+
3
17
  ## 14.5.0
4
18
 
5
19
  ### Minor Changes
@@ -5,6 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.editorExperimentsConfig = void 0;
7
7
  var _experimentBuilders = require("./experiment-builders");
8
+ /* eslint-disable perfectionist/sort-object-types */
8
9
  /* eslint-disable @atlaskit/editor/no-re-export */
9
10
  // Entry file in package.json
10
11
 
@@ -36,6 +37,14 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
36
37
 
37
38
  // Editor Platform experiments
38
39
  // lwoollard experiments
40
+ // Added 02-12-2025
41
+ cc_fix_hydration_ttvc: (0, _experimentBuilders.createBooleanExperiment)({
42
+ productKeys: {
43
+ confluence: 'cc_fix_hydration_ttvc'
44
+ },
45
+ param: 'isEnabled',
46
+ defaultValue: false
47
+ }),
39
48
  // Added 03-09-2025
40
49
  cc_editor_limited_mode_include_lcm: (0, _experimentBuilders.createBooleanExperiment)({
41
50
  productKeys: {
@@ -1165,5 +1174,13 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
1165
1174
  },
1166
1175
  param: 'isEnabled',
1167
1176
  defaultValue: false
1177
+ }),
1178
+ // Added 2025-12-03
1179
+ platform_editor_nested_media_selection_fix: (0, _experimentBuilders.createBooleanExperiment)({
1180
+ productKeys: {
1181
+ confluence: 'platform_editor_nested_media_selection_fix'
1182
+ },
1183
+ param: 'isEnabled',
1184
+ defaultValue: false
1168
1185
  })
1169
1186
  };
@@ -1,10 +1,13 @@
1
1
  "use strict";
2
2
 
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
3
4
  Object.defineProperty(exports, "__esModule", {
4
5
  value: true
5
6
  });
6
7
  exports.isBoolean = isBoolean;
7
8
  exports.oneOf = oneOf;
9
+ var _typeof2 = _interopRequireDefault(require("@babel/runtime/helpers/typeof"));
10
+ var _process, _process2;
8
11
  function isBoolean(value) {
9
12
  return typeof value === 'boolean';
10
13
  }
@@ -23,4 +26,4 @@ function oneOf(values) {
23
26
 
24
27
  // @ts-ignore
25
28
 
26
- var IS_TESTING_ENV = process.env.NODE_ENV === 'test' || process.env.JEST_WORKER_ID !== undefined;
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);
@@ -1,3 +1,4 @@
1
+ /* eslint-disable perfectionist/sort-object-types */
1
2
  /* eslint-disable @atlaskit/editor/no-re-export */
2
3
  // Entry file in package.json
3
4
 
@@ -30,6 +31,14 @@ export const editorExperimentsConfig = {
30
31
 
31
32
  // Editor Platform experiments
32
33
  // lwoollard experiments
34
+ // Added 02-12-2025
35
+ cc_fix_hydration_ttvc: createBooleanExperiment({
36
+ productKeys: {
37
+ confluence: 'cc_fix_hydration_ttvc'
38
+ },
39
+ param: 'isEnabled',
40
+ defaultValue: false
41
+ }),
33
42
  // Added 03-09-2025
34
43
  cc_editor_limited_mode_include_lcm: createBooleanExperiment({
35
44
  productKeys: {
@@ -1159,5 +1168,13 @@ export const editorExperimentsConfig = {
1159
1168
  },
1160
1169
  param: 'isEnabled',
1161
1170
  defaultValue: false
1171
+ }),
1172
+ // Added 2025-12-03
1173
+ platform_editor_nested_media_selection_fix: createBooleanExperiment({
1174
+ productKeys: {
1175
+ confluence: 'platform_editor_nested_media_selection_fix'
1176
+ },
1177
+ param: 'isEnabled',
1178
+ defaultValue: false
1162
1179
  })
1163
1180
  };
@@ -1,3 +1,4 @@
1
+ var _process, _process$env, _process2, _process2$env;
1
2
  export function isBoolean(value) {
2
3
  return typeof value === 'boolean';
3
4
  }
@@ -16,4 +17,4 @@ export function oneOf(values) {
16
17
 
17
18
  // @ts-ignore
18
19
 
19
- const IS_TESTING_ENV = process.env.NODE_ENV === 'test' || process.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);
@@ -1,3 +1,4 @@
1
+ /* eslint-disable perfectionist/sort-object-types */
1
2
  /* eslint-disable @atlaskit/editor/no-re-export */
2
3
  // Entry file in package.json
3
4
 
@@ -30,6 +31,14 @@ export var editorExperimentsConfig = {
30
31
 
31
32
  // Editor Platform experiments
32
33
  // lwoollard experiments
34
+ // Added 02-12-2025
35
+ cc_fix_hydration_ttvc: createBooleanExperiment({
36
+ productKeys: {
37
+ confluence: 'cc_fix_hydration_ttvc'
38
+ },
39
+ param: 'isEnabled',
40
+ defaultValue: false
41
+ }),
33
42
  // Added 03-09-2025
34
43
  cc_editor_limited_mode_include_lcm: createBooleanExperiment({
35
44
  productKeys: {
@@ -1159,5 +1168,13 @@ export var editorExperimentsConfig = {
1159
1168
  },
1160
1169
  param: 'isEnabled',
1161
1170
  defaultValue: false
1171
+ }),
1172
+ // Added 2025-12-03
1173
+ platform_editor_nested_media_selection_fix: createBooleanExperiment({
1174
+ productKeys: {
1175
+ confluence: 'platform_editor_nested_media_selection_fix'
1176
+ },
1177
+ param: 'isEnabled',
1178
+ defaultValue: false
1162
1179
  })
1163
1180
  };
@@ -1,3 +1,5 @@
1
+ import _typeof from "@babel/runtime/helpers/typeof";
2
+ var _process, _process2;
1
3
  export function isBoolean(value) {
2
4
  return typeof value === 'boolean';
3
5
  }
@@ -16,4 +18,4 @@ export function oneOf(values) {
16
18
 
17
19
  // @ts-ignore
18
20
 
19
- var IS_TESTING_ENV = process.env.NODE_ENV === 'test' || process.env.JEST_WORKER_ID !== undefined;
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);
@@ -64,6 +64,12 @@ export declare const editorExperimentsConfig: {
64
64
  productKeys?: ProductKeys;
65
65
  typeGuard: IsBooleanType;
66
66
  };
67
+ cc_fix_hydration_ttvc: {
68
+ defaultValue: boolean;
69
+ param: string;
70
+ productKeys?: ProductKeys;
71
+ typeGuard: IsBooleanType;
72
+ };
67
73
  cc_editor_limited_mode_include_lcm: {
68
74
  defaultValue: boolean;
69
75
  param: string;
@@ -858,5 +864,11 @@ export declare const editorExperimentsConfig: {
858
864
  productKeys?: ProductKeys;
859
865
  typeGuard: IsBooleanType;
860
866
  };
867
+ platform_editor_nested_media_selection_fix: {
868
+ defaultValue: boolean;
869
+ param: string;
870
+ productKeys?: ProductKeys;
871
+ typeGuard: IsBooleanType;
872
+ };
861
873
  };
862
874
  export {};
@@ -64,6 +64,12 @@ export declare const editorExperimentsConfig: {
64
64
  productKeys?: ProductKeys;
65
65
  typeGuard: IsBooleanType;
66
66
  };
67
+ cc_fix_hydration_ttvc: {
68
+ defaultValue: boolean;
69
+ param: string;
70
+ productKeys?: ProductKeys;
71
+ typeGuard: IsBooleanType;
72
+ };
67
73
  cc_editor_limited_mode_include_lcm: {
68
74
  defaultValue: boolean;
69
75
  param: string;
@@ -858,5 +864,11 @@ export declare const editorExperimentsConfig: {
858
864
  productKeys?: ProductKeys;
859
865
  typeGuard: IsBooleanType;
860
866
  };
867
+ platform_editor_nested_media_selection_fix: {
868
+ defaultValue: boolean;
869
+ param: string;
870
+ productKeys?: ProductKeys;
871
+ typeGuard: IsBooleanType;
872
+ };
861
873
  };
862
874
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/tmp-editor-statsig",
3
- "version": "14.5.0",
3
+ "version": "14.6.1",
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",