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