Skip to content

Commit

Permalink
fix: ensure v5 deprecations are resolvable (#9637)
Browse files Browse the repository at this point in the history
  • Loading branch information
runspired authored Jan 16, 2025
1 parent e91120c commit 725e91f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/build-config/src/-private/utils/deprecations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ function deprecationIsResolved(deprecatedSince: MajorMinor, compatVersion: Major
return semver.lte(semver.minVersion(deprecatedSince)!, semver.minVersion(compatVersion)!);
}

const NextMajorVersion = '5.';
const NextMajorVersion = '6.';

function deprecationIsNextMajorCycle(deprecatedSince: MajorMinor) {
return deprecatedSince.startsWith(NextMajorVersion);
Expand Down

0 comments on commit 725e91f

Please sign in to comment.