ide-assi 0.429.0 → 0.431.0

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.
@@ -235072,8 +235072,7 @@ class IdeDiff extends HTMLElement {
235072
235072
  case diffMatchPatchExports.diff_match_patch.DIFF_INSERT:
235073
235073
  console.log(diffMatchPatchExports.diff_match_patch.DIFF_INSERT, text);
235074
235074
  let tobeLines = text.split('\n');
235075
- if (tobeLines[tobeLines.length - 1] === '\n') {
235076
- console.log("111");
235075
+ if (text.endsWith('\n')) {
235077
235076
  tobeLines.splice(tobeLines.length - 1, 1);
235078
235077
  }
235079
235078
 
@@ -235068,8 +235068,7 @@ class IdeDiff extends HTMLElement {
235068
235068
  case diffMatchPatchExports.diff_match_patch.DIFF_INSERT:
235069
235069
  console.log(diffMatchPatchExports.diff_match_patch.DIFF_INSERT, text);
235070
235070
  let tobeLines = text.split('\n');
235071
- if (tobeLines[tobeLines.length - 1] === '\n') {
235072
- console.log("111");
235071
+ if (text.endsWith('\n')) {
235073
235072
  tobeLines.splice(tobeLines.length - 1, 1);
235074
235073
  }
235075
235074
 
@@ -280,8 +280,7 @@ export class IdeDiff extends HTMLElement {
280
280
  case diff_match_patch.DIFF_INSERT:
281
281
  console.log(diff_match_patch.DIFF_INSERT, text);
282
282
  let tobeLines = text.split('\n');
283
- if (tobeLines[tobeLines.length - 1] === '\n') {
284
- console.log("111")
283
+ if (text.endsWith('\n')) {
285
284
  tobeLines.splice(tobeLines.length - 1, 1);
286
285
  }
287
286
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ide-assi",
3
3
  "type": "module",
4
- "version": "0.429.0",
4
+ "version": "0.431.0",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "exports": {
@@ -280,8 +280,7 @@ export class IdeDiff extends HTMLElement {
280
280
  case diff_match_patch.DIFF_INSERT:
281
281
  console.log(diff_match_patch.DIFF_INSERT, text);
282
282
  let tobeLines = text.split('\n');
283
- if (tobeLines[tobeLines.length - 1] === '\n') {
284
- console.log("111")
283
+ if (text.endsWith('\n')) {
285
284
  tobeLines.splice(tobeLines.length - 1, 1);
286
285
  }
287
286