@atlaskit/editor-plugin-paste 13.1.1 → 13.1.2

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-plugin-paste
2
2
 
3
+ ## 13.1.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [`49b8e9a322976`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/49b8e9a322976) -
8
+ Reduce q4 lovability experiment exposure noise in code block setup and bookkeeping paths
9
+ - Updated dependencies
10
+
3
11
  ## 13.1.1
4
12
 
5
13
  ### Patch Changes
@@ -325,7 +325,7 @@ function createPlugin(schema, dispatchAnalyticsEvent, dispatch, featureFlags, pl
325
325
  var _pluginInjectionApi$b;
326
326
  tr = pluginInjectionApi === null || pluginInjectionApi === void 0 || (_pluginInjectionApi$b = pluginInjectionApi.betterTypeHistory) === null || _pluginInjectionApi$b === void 0 ? void 0 : _pluginInjectionApi$b.actions.flagPasteEvent(tr);
327
327
  }
328
- if ((0, _expValEquals.expValEquals)('platform_editor_code_block_q4_lovability', 'isEnabled', true)) {
328
+ if ((0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_code_block_q4_lovability', 'isEnabled', true)) {
329
329
  tr = (0, _normalizePastedCodeBlockAttrs.normalizePastedCodeBlockAttrs)(tr, schema.nodes.codeBlock);
330
330
  }
331
331
  var isDocChanged = tr.docChanged;
@@ -284,7 +284,7 @@ export function createPlugin(schema, dispatchAnalyticsEvent, dispatch, featureFl
284
284
  var _pluginInjectionApi$b;
285
285
  tr = pluginInjectionApi === null || pluginInjectionApi === void 0 ? void 0 : (_pluginInjectionApi$b = pluginInjectionApi.betterTypeHistory) === null || _pluginInjectionApi$b === void 0 ? void 0 : _pluginInjectionApi$b.actions.flagPasteEvent(tr);
286
286
  }
287
- if (expValEquals('platform_editor_code_block_q4_lovability', 'isEnabled', true)) {
287
+ if (expValEqualsNoExposure('platform_editor_code_block_q4_lovability', 'isEnabled', true)) {
288
288
  tr = normalizePastedCodeBlockAttrs(tr, schema.nodes.codeBlock);
289
289
  }
290
290
  const isDocChanged = tr.docChanged;
@@ -317,7 +317,7 @@ export function createPlugin(schema, dispatchAnalyticsEvent, dispatch, featureFl
317
317
  var _pluginInjectionApi$b;
318
318
  tr = pluginInjectionApi === null || pluginInjectionApi === void 0 || (_pluginInjectionApi$b = pluginInjectionApi.betterTypeHistory) === null || _pluginInjectionApi$b === void 0 ? void 0 : _pluginInjectionApi$b.actions.flagPasteEvent(tr);
319
319
  }
320
- if (expValEquals('platform_editor_code_block_q4_lovability', 'isEnabled', true)) {
320
+ if (expValEqualsNoExposure('platform_editor_code_block_q4_lovability', 'isEnabled', true)) {
321
321
  tr = normalizePastedCodeBlockAttrs(tr, schema.nodes.codeBlock);
322
322
  }
323
323
  var isDocChanged = tr.docChanged;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-paste",
3
- "version": "13.1.1",
3
+ "version": "13.1.2",
4
4
  "description": "Paste plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -41,7 +41,7 @@
41
41
  "@atlaskit/media-common": "^14.1.0",
42
42
  "@atlaskit/platform-feature-flags": "^2.0.0",
43
43
  "@atlaskit/prosemirror-history": "^1.0.0",
44
- "@atlaskit/tmp-editor-statsig": "^110.0.0",
44
+ "@atlaskit/tmp-editor-statsig": "^111.0.0",
45
45
  "@atlaskit/tokens": "^15.0.0",
46
46
  "@babel/runtime": "^7.0.0",
47
47
  "lodash": "^4.17.21",