Skip to content

Commit 02b224d

Browse files
committed
fix: notices for ranged alpha modules are not showing up correctly
1 parent 9873ff2 commit 02b224d

File tree

3 files changed

+1174
-1
lines changed

3 files changed

+1174
-1
lines changed

packages/aws-cdk/lib/notices.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ export abstract class NoticesFilter {
142142
// component can match more than one actual component
143143
for (const ands of ors) {
144144
const matched = ands.map(affected => actualComponents.filter(actual =>
145-
NoticesFilter.componentNameMatches(affected, actual) && semver.satisfies(actual.version, affected.version)));
145+
NoticesFilter.componentNameMatches(affected, actual) && semver.satisfies(actual.version, affected.version, { includePrerelease: true })));
146146

147147
// For every clause in the filter we matched one or more components
148148
if (matched.every(xs => xs.length > 0)) {

0 commit comments

Comments
 (0)