specshield 3.4.15 → 3.4.17

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.
@@ -374,7 +374,7 @@ function deprecationFor(change, byKey) {
374
374
  // ─── spec helpers ───────────────────────────────────────────────────────────
375
375
 
376
376
  function isDeprecated(node) {
377
- return Boolean(node && typeof node === 'object' && (node.deprecated === true || node['x-sunset']));
377
+ return Boolean(node && typeof node === 'object' && (node.deprecated === true || node['x-deprecated'] === true || node['x-sunset']));
378
378
  }
379
379
 
380
380
  /** `x-sunset: 2026-12-31` — YAML parses an unquoted date to a Date. */