diff --git a/lib/src/deprecations.ts b/lib/src/deprecations.ts index 6763d072..0c3cc134 100644 --- a/lib/src/deprecations.ts +++ b/lib/src/deprecations.ts @@ -130,6 +130,7 @@ function isFatal( for (const fatal of options.fatalDeprecations ?? []) { if (fatal instanceof Version) { if (versionNumber === null) continue; + if (deprecation.obsoleteIn !== null) continue; if ( versionNumber <= fatal.major * 1000000 + fatal.minor * 1000 + fatal.patch