@atlaskit/editor-plugin-analytics 8.0.4 → 8.0.6

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,17 @@
1
1
  # @atlaskit/editor-plugin-analytics
2
2
 
3
+ ## 8.0.6
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 8.0.5
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 8.0.4
4
16
 
5
17
  ### Patch Changes
@@ -57,7 +57,6 @@ function findInsertedLocation(oldSelection, newSelection, tr) {
57
57
  return node.type !== paragraph;
58
58
  })(oldSelection);
59
59
  var pos = (insertLocationInfo === null || insertLocationInfo === void 0 ? void 0 : insertLocationInfo.start) || 0;
60
- ;
61
60
  if ((0, _expValEquals.expValEquals)('platform_editor_insert_location_check', 'isEnabled', true)) {
62
61
  // Map the old document position through the transaction's steps
63
62
  pos = tr.mapping.map(pos);
@@ -55,7 +55,6 @@ function findInsertedLocation(oldSelection, newSelection, tr) {
55
55
  const newDoc = newSelection.$from.doc;
56
56
  const insertLocationInfo = findParentNode(node => node.type !== paragraph)(oldSelection);
57
57
  let pos = (insertLocationInfo === null || insertLocationInfo === void 0 ? void 0 : insertLocationInfo.start) || 0;
58
- ;
59
58
  if (expValEquals('platform_editor_insert_location_check', 'isEnabled', true)) {
60
59
  // Map the old document position through the transaction's steps
61
60
  pos = tr.mapping.map(pos);
@@ -50,7 +50,6 @@ function findInsertedLocation(oldSelection, newSelection, tr) {
50
50
  return node.type !== paragraph;
51
51
  })(oldSelection);
52
52
  var pos = (insertLocationInfo === null || insertLocationInfo === void 0 ? void 0 : insertLocationInfo.start) || 0;
53
- ;
54
53
  if (expValEquals('platform_editor_insert_location_check', 'isEnabled', true)) {
55
54
  // Map the old document position through the transaction's steps
56
55
  pos = tr.mapping.map(pos);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-analytics",
3
- "version": "8.0.4",
3
+ "version": "8.0.6",
4
4
  "description": "Analytics plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -27,18 +27,18 @@
27
27
  "sideEffects": false,
28
28
  "atlaskit:src": "src/index.ts",
29
29
  "dependencies": {
30
- "@atlaskit/adf-schema": "^52.3.0",
30
+ "@atlaskit/adf-schema": "^52.4.0",
31
31
  "@atlaskit/analytics-listeners": "^10.0.0",
32
32
  "@atlaskit/analytics-next": "^11.1.0",
33
33
  "@atlaskit/editor-plugin-feature-flags": "^7.0.0",
34
34
  "@atlaskit/editor-prosemirror": "^7.3.0",
35
35
  "@atlaskit/editor-tables": "^2.9.0",
36
36
  "@atlaskit/platform-feature-flags": "^1.1.0",
37
- "@atlaskit/tmp-editor-statsig": "^39.0.0",
37
+ "@atlaskit/tmp-editor-statsig": "^41.0.0",
38
38
  "@babel/runtime": "^7.0.0"
39
39
  },
40
40
  "peerDependencies": {
41
- "@atlaskit/editor-common": "^112.3.0",
41
+ "@atlaskit/editor-common": "^112.6.0",
42
42
  "react": "^18.2.0"
43
43
  },
44
44
  "techstack": {