Skip to content

v3.7.1: false-positive fixes for inherited members and tsconfig aliases

Choose a tag to compare

@BartWaardenburg BartWaardenburg released this 20 Jul 10:29
v3.7.1
5988b97

A patch release with two dead-code false-positive fixes and a performance improvement to star re-export analysis.

Bug fixes

  • unused-class-members no longer flags a method reached through an inherited generic base-class property. A derived client method called via a property whose type is declared on a generic base class was reported as unused; those calls are now credited, so the member is retained. Thanks @vethman for the report. (#1910)

  • unlisted-dependencies no longer reports a TypeScript paths alias as an npm package. With a tsconfig.json present, the TypeScript plugin now activates so paths aliases resolve as internal imports instead of being misread as missing dependencies. Thanks @vethman for the report. (#1911)

Performance

  • Faster star re-export analysis on wide barrel files. Synthesizing star re-exports scanned every source export once per re-exported name, which grew quadratically on wide value-plus-type merge barrels. Each freshly synthesized export is now located directly instead of by a repeated positional scan, with byte-identical analysis output. (#1916)

Full Changelog: v3.7.0...v3.7.1