@dan-uni/dan-any-plugin-detaolu 0.6.8 → 0.9.2

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/dist/index.js CHANGED
@@ -542,7 +542,8 @@ async function merge(chunk, config = DEFAULT_CONFIG) {
542
542
  begin_chunk(config);
543
543
  const ret = {
544
544
  clusters: [],
545
- stats: new Stats()
545
+ stats: new Stats(),
546
+ deleted_chunk: []
546
547
  };
547
548
  function apply_single_cluster(idx, obj, desc) {
548
549
  ret.clusters.push({
@@ -632,6 +633,12 @@ async function merge(chunk, config = DEFAULT_CONFIG) {
632
633
  if (s) {
633
634
  s.deleted_blacklist++;
634
635
  s.deleted_blacklist_each[matched] = (s.deleted_blacklist_each[matched] || 0) + 1;
636
+ ret.deleted_chunk.push({
637
+ ...obj,
638
+ pakku: {
639
+ deleted_reason: `\u{547D}\u{4E2D}\u{9ED1}\u{540D}\u{5355}\u{FF1A}${matched}`
640
+ }
641
+ });
635
642
  }
636
643
  return null;
637
644
  }