ide-assi 0.628.0 → 0.630.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.
@@ -203657,11 +203657,13 @@ class IdeDiffPopup extends HTMLElement
203657
203657
 
203658
203658
  for (const item of changedSource) {
203659
203659
 
203660
- console.log(item);
203660
+
203661
+ console.log(item, type, item.hasOwnProperty(type), item[type]);
203661
203662
 
203662
203663
  // item이 해당 속성을 가지고 있고, 그 속성의 값이 존재하는지 확인
203663
- if (item.hasOwnProperty(type) && item[pathKey]) {
203664
+ if (item.hasOwnProperty(type) && item[type][pathKey]) {
203664
203665
  const arr = item[pathKey].split("/");
203666
+ console.log(arr);
203665
203667
  // 배열이 비어있지 않은지 확인하고 마지막 요소 반환
203666
203668
  if (arr.length > 0) {
203667
203669
  return arr.pop();
@@ -203653,11 +203653,13 @@ class IdeDiffPopup extends HTMLElement
203653
203653
 
203654
203654
  for (const item of changedSource) {
203655
203655
 
203656
- console.log(item);
203656
+
203657
+ console.log(item, type, item.hasOwnProperty(type), item[type]);
203657
203658
 
203658
203659
  // item이 해당 속성을 가지고 있고, 그 속성의 값이 존재하는지 확인
203659
- if (item.hasOwnProperty(type) && item[pathKey]) {
203660
+ if (item.hasOwnProperty(type) && item[type][pathKey]) {
203660
203661
  const arr = item[pathKey].split("/");
203662
+ console.log(arr);
203661
203663
  // 배열이 비어있지 않은지 확인하고 마지막 요소 반환
203662
203664
  if (arr.length > 0) {
203663
203665
  return arr.pop();
@@ -101,11 +101,13 @@ class IdeDiffPopup extends HTMLElement
101
101
 
102
102
  for (const item of changedSource) {
103
103
 
104
- console.log(item);
104
+
105
+ console.log(item, type, item.hasOwnProperty(type), item[type]);
105
106
 
106
107
  // item이 해당 속성을 가지고 있고, 그 속성의 값이 존재하는지 확인
107
- if (item.hasOwnProperty(type) && item[pathKey]) {
108
+ if (item.hasOwnProperty(type) && item[type][pathKey]) {
108
109
  const arr = item[pathKey].split("/");
110
+ console.log(arr);
109
111
  // 배열이 비어있지 않은지 확인하고 마지막 요소 반환
110
112
  if (arr.length > 0) {
111
113
  return arr.pop();
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ide-assi",
3
3
  "type": "module",
4
- "version": "0.628.0",
4
+ "version": "0.630.0",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "exports": {
@@ -101,11 +101,13 @@ class IdeDiffPopup extends HTMLElement
101
101
 
102
102
  for (const item of changedSource) {
103
103
 
104
- console.log(item);
104
+
105
+ console.log(item, type, item.hasOwnProperty(type), item[type]);
105
106
 
106
107
  // item이 해당 속성을 가지고 있고, 그 속성의 값이 존재하는지 확인
107
- if (item.hasOwnProperty(type) && item[pathKey]) {
108
+ if (item.hasOwnProperty(type) && item[type][pathKey]) {
108
109
  const arr = item[pathKey].split("/");
110
+ console.log(arr);
109
111
  // 배열이 비어있지 않은지 확인하고 마지막 요소 반환
110
112
  if (arr.length > 0) {
111
113
  return arr.pop();