@atlaskit/editor-tables 2.9.52 → 2.9.54

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-tables
2
2
 
3
+ ## 2.9.54
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 2.9.53
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 2.9.52
4
16
 
5
17
  ### Patch Changes
@@ -157,6 +157,7 @@ var CellSelection = exports.CellSelection = /*#__PURE__*/function (_Selection) {
157
157
  $from = _ranges$i.$from,
158
158
  $to = _ranges$i.$to;
159
159
  var mapping = tr.mapping.slice(mapFrom);
160
+ // eslint-disable-next-line @atlassian/perf-linting/no-expensive-split-replace -- Ignored via go/ees017 (to be fixed)
160
161
  tr.replace(mapping.map($from.pos), mapping.map($to.pos), i ? _model.Slice.empty : content);
161
162
  }
162
163
  var sel = _state.Selection.findFrom(tr.doc.resolve(tr.mapping.slice(mapFrom).map(this.to)), -1);
@@ -410,6 +410,7 @@ function insertCells(state, dispatch, tableStart, rect, cells) {
410
410
  for (var row = top; row < bottom; row++) {
411
411
  var from = map.positionAt(row, left, table);
412
412
  var to = map.positionAt(row, right, table);
413
+ // eslint-disable-next-line @atlassian/perf-linting/no-expensive-split-replace -- Ignored via go/ees017 (to be fixed)
413
414
  tr.replace(tr.mapping.slice(mapFrom).map(from + tableStart), tr.mapping.slice(mapFrom).map(to + tableStart), new _model.Slice(cells.rows[row - top], 0, 0));
414
415
  }
415
416
  recomp();
@@ -139,6 +139,7 @@ export class CellSelection extends Selection {
139
139
  $to
140
140
  } = ranges[i];
141
141
  const mapping = tr.mapping.slice(mapFrom);
142
+ // eslint-disable-next-line @atlassian/perf-linting/no-expensive-split-replace -- Ignored via go/ees017 (to be fixed)
142
143
  tr.replace(mapping.map($from.pos), mapping.map($to.pos), i ? Slice.empty : content);
143
144
  }
144
145
  const sel = Selection.findFrom(tr.doc.resolve(tr.mapping.slice(mapFrom).map(this.to)), -1);
@@ -416,6 +416,7 @@ export function insertCells(state, dispatch, tableStart, rect, cells) {
416
416
  for (let row = top; row < bottom; row++) {
417
417
  const from = map.positionAt(row, left, table);
418
418
  const to = map.positionAt(row, right, table);
419
+ // eslint-disable-next-line @atlassian/perf-linting/no-expensive-split-replace -- Ignored via go/ees017 (to be fixed)
419
420
  tr.replace(tr.mapping.slice(mapFrom).map(from + tableStart), tr.mapping.slice(mapFrom).map(to + tableStart), new Slice(cells.rows[row - top], 0, 0));
420
421
  }
421
422
  recomp();
@@ -156,6 +156,7 @@ export var CellSelection = /*#__PURE__*/function (_Selection) {
156
156
  $from = _ranges$i.$from,
157
157
  $to = _ranges$i.$to;
158
158
  var mapping = tr.mapping.slice(mapFrom);
159
+ // eslint-disable-next-line @atlassian/perf-linting/no-expensive-split-replace -- Ignored via go/ees017 (to be fixed)
159
160
  tr.replace(mapping.map($from.pos), mapping.map($to.pos), i ? Slice.empty : content);
160
161
  }
161
162
  var sel = Selection.findFrom(tr.doc.resolve(tr.mapping.slice(mapFrom).map(this.to)), -1);
@@ -403,6 +403,7 @@ export function insertCells(state, dispatch, tableStart, rect, cells) {
403
403
  for (var row = top; row < bottom; row++) {
404
404
  var from = map.positionAt(row, left, table);
405
405
  var to = map.positionAt(row, right, table);
406
+ // eslint-disable-next-line @atlassian/perf-linting/no-expensive-split-replace -- Ignored via go/ees017 (to be fixed)
406
407
  tr.replace(tr.mapping.slice(mapFrom).map(from + tableStart), tr.mapping.slice(mapFrom).map(to + tableStart), new Slice(cells.rows[row - top], 0, 0));
407
408
  }
408
409
  recomp();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-tables",
3
- "version": "2.9.52",
3
+ "version": "2.9.54",
4
4
  "description": "A package that contains common classes and utility functions for editor tables",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -29,7 +29,7 @@
29
29
  "dependencies": {
30
30
  "@atlaskit/editor-prosemirror": "^7.3.0",
31
31
  "@atlaskit/platform-feature-flags": "^1.1.0",
32
- "@atlaskit/tmp-editor-statsig": "^43.0.0",
32
+ "@atlaskit/tmp-editor-statsig": "^45.0.0",
33
33
  "@babel/runtime": "^7.0.0"
34
34
  },
35
35
  "devDependencies": {