@atlaskit/editor-plugin-selection 1.6.8 → 1.6.10

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-selection
2
2
 
3
+ ## 1.6.10
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 1.6.9
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 1.6.8
4
16
 
5
17
  ### Patch Changes
@@ -44,7 +44,7 @@ function handleMediaGapCursor(dir, state) {
44
44
  selection,
45
45
  tr
46
46
  } = state;
47
- let $pos = isBackward(dir) ? selection.$from : selection.$to;
47
+ const $pos = isBackward(dir) ? selection.$from : selection.$to;
48
48
  if (dir === Direction.UP && selection.$from.nodeBefore && isMediaNode(selection.$from.nodeBefore)) {
49
49
  var _tr$doc$nodeAt;
50
50
  const nodeBeforePos = findPositionOfNodeBefore(tr.selection);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-selection",
3
- "version": "1.6.8",
3
+ "version": "1.6.10",
4
4
  "description": "Selection plugin for @atlaskit/editor-core",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -20,12 +20,12 @@
20
20
  "runReact18": true
21
21
  },
22
22
  "dependencies": {
23
- "@atlaskit/editor-common": "^97.2.0",
23
+ "@atlaskit/editor-common": "^98.0.0",
24
24
  "@atlaskit/editor-prosemirror": "6.2.1",
25
25
  "@atlaskit/editor-shared-styles": "^3.2.0",
26
26
  "@atlaskit/editor-tables": "^2.8.0",
27
27
  "@atlaskit/platform-feature-flags": "^0.3.0",
28
- "@atlaskit/tmp-editor-statsig": "2.30.0",
28
+ "@atlaskit/tmp-editor-statsig": "2.31.0",
29
29
  "@atlaskit/tokens": "^2.5.0",
30
30
  "@babel/runtime": "^7.0.0"
31
31
  },