@adobe/spacecat-shared-utils 1.96.0 → 1.96.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/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,16 @@
|
|
|
1
|
+
## [@adobe/spacecat-shared-utils-v1.96.2](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-utils-v1.96.1...@adobe/spacecat-shared-utils-v1.96.2) (2026-02-25)
|
|
2
|
+
|
|
3
|
+
### Bug Fixes
|
|
4
|
+
|
|
5
|
+
* temporal series month/week wrap-around and add year to query pipeline ([#1376](https://github.com/adobe/spacecat-shared/issues/1376)) ([b15cfd7](https://github.com/adobe/spacecat-shared/commit/b15cfd705809612c4ad69bbdc09d87c06687dcb6))
|
|
6
|
+
|
|
7
|
+
# [@adobe/spacecat-shared-utils-v1.96.1](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-utils-v1.96.0...@adobe/spacecat-shared-utils-v1.96.1) (2026-02-13)
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### Bug Fixes
|
|
11
|
+
|
|
12
|
+
* Change aggregation levels for several accessibility issue types ([#1347](https://github.com/adobe/spacecat-shared/issues/1347)) ([f07d153](https://github.com/adobe/spacecat-shared/commit/f07d15372c385efce972ac1044b69a4819f39d0e))
|
|
13
|
+
|
|
1
14
|
# [@adobe/spacecat-shared-utils-v1.96.0](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-utils-v1.95.0...@adobe/spacecat-shared-utils-v1.96.0) (2026-02-12)
|
|
2
15
|
|
|
3
16
|
|
package/package.json
CHANGED
|
@@ -116,12 +116,12 @@ export const ISSUE_GRANULARITY_MAP = {
|
|
|
116
116
|
'aria-roles': Granularity.PER_PAGE_PER_COMPONENT,
|
|
117
117
|
'image-alt': Granularity.PER_PAGE_PER_COMPONENT,
|
|
118
118
|
'link-in-text-block': Granularity.PER_PAGE_PER_COMPONENT,
|
|
119
|
-
'link-name': Granularity.
|
|
119
|
+
'link-name': Granularity.PER_COMPONENT,
|
|
120
120
|
'target-size': Granularity.PER_PAGE_PER_COMPONENT,
|
|
121
121
|
listitem: Granularity.PER_COMPONENT,
|
|
122
122
|
label: Granularity.PER_PAGE_PER_COMPONENT,
|
|
123
123
|
'aria-prohibited-attr': Granularity.PER_TYPE,
|
|
124
|
-
'button-name': Granularity.
|
|
124
|
+
'button-name': Granularity.PER_COMPONENT,
|
|
125
125
|
'frame-title': Granularity.PER_PAGE_PER_COMPONENT,
|
|
126
126
|
'aria-valid-attr-value': Granularity.PER_PAGE_PER_COMPONENT,
|
|
127
127
|
'aria-allowed-attr': Granularity.PER_TYPE,
|
|
@@ -135,7 +135,7 @@ export const ISSUE_GRANULARITY_MAP = {
|
|
|
135
135
|
'role-img-alt': Granularity.PER_PAGE_PER_COMPONENT,
|
|
136
136
|
'aria-input-field-name': Granularity.PER_PAGE_PER_COMPONENT,
|
|
137
137
|
'scrollable-region-focusable': Granularity.PER_PAGE_PER_COMPONENT,
|
|
138
|
-
'select-name': Granularity.
|
|
138
|
+
'select-name': Granularity.PER_COMPONENT,
|
|
139
139
|
};
|
|
140
140
|
|
|
141
141
|
/**
|
|
@@ -225,7 +225,7 @@ export function getTemporalCondition({
|
|
|
225
225
|
let currentYear = year;
|
|
226
226
|
if (currentWeek < 1) {
|
|
227
227
|
currentYear -= 1;
|
|
228
|
-
currentWeek
|
|
228
|
+
currentWeek += has53CalendarWeeks(currentYear) ? 53 : 52;
|
|
229
229
|
}
|
|
230
230
|
log?.info(`[getTemporalCondition] currentWeek: ${currentWeek}, currentYear: ${currentYear}`);
|
|
231
231
|
conditions.push(getWeekInfo(currentWeek, currentYear).temporalCondition);
|
|
@@ -233,7 +233,7 @@ export function getTemporalCondition({
|
|
|
233
233
|
let currentMonth = month - i;
|
|
234
234
|
let currentYear = year;
|
|
235
235
|
if (currentMonth < 1) {
|
|
236
|
-
currentMonth
|
|
236
|
+
currentMonth += 12;
|
|
237
237
|
currentYear -= 1;
|
|
238
238
|
}
|
|
239
239
|
log?.info(`[getTemporalCondition] currentMonth: ${currentMonth}, currentYear: ${currentYear}`);
|