@releasekit/notes 0.2.0-next.0 → 0.2.0-next.1
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/{chunk-NHDLQLG2.js → chunk-W7DVGQ7D.js} +4 -2
- package/dist/cli.cjs +4 -2
- package/dist/cli.js +1 -1
- package/dist/index.cjs +4 -2
- package/dist/index.js +1 -1
- package/package.json +1 -1
|
@@ -556,7 +556,8 @@ async function categorizeEntries(provider, entries, context) {
|
|
|
556
556
|
entries[idx] = { ...entries[idx], scope };
|
|
557
557
|
}
|
|
558
558
|
}
|
|
559
|
-
for (const [category,
|
|
559
|
+
for (const [category, rawIndices] of Object.entries(categoryMap)) {
|
|
560
|
+
const indices = Array.isArray(rawIndices) ? rawIndices : [];
|
|
560
561
|
const categoryEntries = indices.map((i) => entries[i]).filter((e) => e !== void 0);
|
|
561
562
|
if (categoryEntries.length > 0) {
|
|
562
563
|
result.push({ category, entries: categoryEntries });
|
|
@@ -564,7 +565,8 @@ async function categorizeEntries(provider, entries, context) {
|
|
|
564
565
|
}
|
|
565
566
|
} else {
|
|
566
567
|
const categoryMap = parsed;
|
|
567
|
-
for (const [category,
|
|
568
|
+
for (const [category, rawIndices] of Object.entries(categoryMap)) {
|
|
569
|
+
const indices = Array.isArray(rawIndices) ? rawIndices : [];
|
|
568
570
|
const categoryEntries = indices.map((i) => entries[i]).filter((e) => e !== void 0);
|
|
569
571
|
if (categoryEntries.length > 0) {
|
|
570
572
|
result.push({ category, entries: categoryEntries });
|
package/dist/cli.cjs
CHANGED
|
@@ -406,7 +406,8 @@ async function categorizeEntries(provider, entries, context) {
|
|
|
406
406
|
entries[idx] = { ...entries[idx], scope };
|
|
407
407
|
}
|
|
408
408
|
}
|
|
409
|
-
for (const [category,
|
|
409
|
+
for (const [category, rawIndices] of Object.entries(categoryMap)) {
|
|
410
|
+
const indices = Array.isArray(rawIndices) ? rawIndices : [];
|
|
410
411
|
const categoryEntries = indices.map((i) => entries[i]).filter((e) => e !== void 0);
|
|
411
412
|
if (categoryEntries.length > 0) {
|
|
412
413
|
result.push({ category, entries: categoryEntries });
|
|
@@ -414,7 +415,8 @@ async function categorizeEntries(provider, entries, context) {
|
|
|
414
415
|
}
|
|
415
416
|
} else {
|
|
416
417
|
const categoryMap = parsed;
|
|
417
|
-
for (const [category,
|
|
418
|
+
for (const [category, rawIndices] of Object.entries(categoryMap)) {
|
|
419
|
+
const indices = Array.isArray(rawIndices) ? rawIndices : [];
|
|
418
420
|
const categoryEntries = indices.map((i) => entries[i]).filter((e) => e !== void 0);
|
|
419
421
|
if (categoryEntries.length > 0) {
|
|
420
422
|
result.push({ category, entries: categoryEntries });
|
package/dist/cli.js
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -456,7 +456,8 @@ async function categorizeEntries(provider, entries, context) {
|
|
|
456
456
|
entries[idx] = { ...entries[idx], scope };
|
|
457
457
|
}
|
|
458
458
|
}
|
|
459
|
-
for (const [category,
|
|
459
|
+
for (const [category, rawIndices] of Object.entries(categoryMap)) {
|
|
460
|
+
const indices = Array.isArray(rawIndices) ? rawIndices : [];
|
|
460
461
|
const categoryEntries = indices.map((i) => entries[i]).filter((e) => e !== void 0);
|
|
461
462
|
if (categoryEntries.length > 0) {
|
|
462
463
|
result.push({ category, entries: categoryEntries });
|
|
@@ -464,7 +465,8 @@ async function categorizeEntries(provider, entries, context) {
|
|
|
464
465
|
}
|
|
465
466
|
} else {
|
|
466
467
|
const categoryMap = parsed;
|
|
467
|
-
for (const [category,
|
|
468
|
+
for (const [category, rawIndices] of Object.entries(categoryMap)) {
|
|
469
|
+
const indices = Array.isArray(rawIndices) ? rawIndices : [];
|
|
468
470
|
const categoryEntries = indices.map((i) => entries[i]).filter((e) => e !== void 0);
|
|
469
471
|
if (categoryEntries.length > 0) {
|
|
470
472
|
result.push({ category, entries: categoryEntries });
|
package/dist/index.js
CHANGED