euparliamentmonitor 0.8.29 → 0.8.30

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "euparliamentmonitor",
3
- "version": "0.8.29",
3
+ "version": "0.8.30",
4
4
  "type": "module",
5
5
  "description": "European Parliament Intelligence Platform - Monitor political activity with systematic transparency",
6
6
  "main": "scripts/index.js",
@@ -153,7 +153,7 @@
153
153
  "eslint-plugin-jsdoc": "62.9.0",
154
154
  "eslint-plugin-security": "4.0.0",
155
155
  "eslint-plugin-sonarjs": "4.0.2",
156
- "happy-dom": "20.8.9",
156
+ "happy-dom": "20.9.0",
157
157
  "htmlhint": "1.9.2",
158
158
  "husky": "9.1.7",
159
159
  "jscpd": "4.0.9",
@@ -116,7 +116,9 @@ function filterFeedItemsByDateRange(items, dateRange, label) {
116
116
  return [...items];
117
117
  const filtered = items.filter((item) => {
118
118
  const normalized = normalizeFeedItemDate(item.date);
119
- return normalized !== undefined && normalized >= dateRange.start && normalized <= dateRange.end;
119
+ if (normalized === undefined)
120
+ return false;
121
+ return normalized >= dateRange.start && normalized <= dateRange.end;
120
122
  });
121
123
  if (filtered.length !== items.length) {
122
124
  console.log(`${INFO_PREFIX} Filtered ${label} to ${filtered.length}/${items.length} items within ` +