feat: Do not assign all paired items (no-changelog) (#11716)

This commit is contained in:
Michael Kret
2025-02-06 15:46:28 +02:00
committed by GitHub
parent 2eabca5613
commit 4c2546dc78
33 changed files with 55 additions and 236 deletions

View File

@@ -4,13 +4,12 @@ import type {
INodeExecutionData,
INodeType,
INodeTypeDescription,
IPairedItemData,
} from 'n8n-workflow';
import { NodeConnectionType, NodeOperationError } from 'n8n-workflow';
import Parser from 'rss-parser';
import { URL } from 'url';
import { generatePairedItemData } from '../../utils/utilities';
// Utility function
function validateURL(url: string) {
@@ -77,7 +76,7 @@ export class RssFeedRead implements INodeType {
if (nodeVersion >= 1.1) {
itemsLength = items.length;
} else {
fallbackPairedItems = generatePairedItemData(items.length);
fallbackPairedItems = [] as IPairedItemData[];
}
for (let i = 0; i < itemsLength; i++) {