@atlaskit/editor-plugin-code-block 10.0.10 → 10.0.11

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,11 @@
1
1
  # @atlaskit/editor-plugin-code-block
2
2
 
3
+ ## 10.0.11
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
3
9
  ## 10.0.10
4
10
 
5
11
  ### Patch Changes
@@ -79,6 +79,7 @@ var generateLineAttributesFromNode = exports.generateLineAttributesFromNode = fu
79
79
  var nodeTextContent = child.textContent;
80
80
  var nodeStartPos = pos;
81
81
  var lineStartIndex = nodeStartPos;
82
+ // eslint-disable-next-line @atlassian/perf-linting/no-expensive-split-replace -- Ignored via go/ees017 (to be fixed)
82
83
  var newLineAttributes = nodeTextContent.split('\n').map(function (line, index) {
83
84
  var lineLength = line.length;
84
85
  var lineStart = lineStartIndex + 1;
@@ -69,6 +69,7 @@ export const generateLineAttributesFromNode = node => {
69
69
  const nodeTextContent = child.textContent;
70
70
  const nodeStartPos = pos;
71
71
  let lineStartIndex = nodeStartPos;
72
+ // eslint-disable-next-line @atlassian/perf-linting/no-expensive-split-replace -- Ignored via go/ees017 (to be fixed)
72
73
  const newLineAttributes = nodeTextContent.split('\n').map((line, index) => {
73
74
  const lineLength = line.length;
74
75
  const lineStart = lineStartIndex + 1;
@@ -72,6 +72,7 @@ export var generateLineAttributesFromNode = function generateLineAttributesFromN
72
72
  var nodeTextContent = child.textContent;
73
73
  var nodeStartPos = pos;
74
74
  var lineStartIndex = nodeStartPos;
75
+ // eslint-disable-next-line @atlassian/perf-linting/no-expensive-split-replace -- Ignored via go/ees017 (to be fixed)
75
76
  var newLineAttributes = nodeTextContent.split('\n').map(function (line, index) {
76
77
  var lineLength = line.length;
77
78
  var lineStart = lineStartIndex + 1;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-code-block",
3
- "version": "10.0.10",
3
+ "version": "10.0.11",
4
4
  "description": "Code block plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -43,7 +43,7 @@
43
43
  "@atlaskit/icon": "^33.0.0",
44
44
  "@atlaskit/platform-feature-flags": "^1.1.0",
45
45
  "@atlaskit/prosemirror-input-rules": "^3.6.0",
46
- "@atlaskit/tmp-editor-statsig": "^43.0.0",
46
+ "@atlaskit/tmp-editor-statsig": "^44.0.0",
47
47
  "@babel/runtime": "^7.0.0"
48
48
  },
49
49
  "peerDependencies": {