function itemChanges(baseList, newList) {
  const baseSet = new Set(baseList);
  const newSet = new Set(newList);

  let added = [];
  for (const str of newList) {
    if (!baseSet.has(str)) {
      added.push(str);
    }
  }

  let changed = [];
  let removed = [];
  for (const str of baseList) {
    newSet.has(str) ? changed.push(str) : removed.push(str);
  }

  return {
    added,
    changed,
    removed,
  };
}
/*.min.{js,css}", {}, (err, files) => {
      if (err) {
        rej(err);
      } else {
        res(files.map((f) => f.replace(dir + "/", "")));
      }
    });
  });
}

/**
Returns object of changes between the given lists of strings.